Re: Using SMARTd to monitor drives

"Carlos E. R." <[email protected]> Mon, 6 Feb 2017 12:41:58 +0100
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============4491599631540716705==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="G0H9uxPJLsgkvN7q4HKxBlg510JDJlcvc"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--G0H9uxPJLsgkvN7q4HKxBlg510JDJlcvc
Content-Type: multipart/mixed; boundary="db4c9wuwLa8OjfVPPxBx79vDlIbMALWJW";
	protected-headers="v1"
From: "Carlos E. R." <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
Subject: Re: [smartmontools-support] Using SMARTd to monitor drives
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
In-Reply-To: <[email protected]>

--db4c9wuwLa8OjfVPPxBx79vDlIbMALWJW
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 2017-02-04 16:15, Ray Andrews wrote:
> On 04/02/17 03:24 AM, Christian Franke wrote:
>> Ray Andrews wrote:
>>> On 31/01/17 01:21 AM, Christian Franke wrote:
>>>
>>>
>>> Your question suggests that you never checked the SYSLOG output of
>>> smartd. Please do this first before asking further questions here.
>>>
>>> On Debian, try:
>>>     grep -w smartd /var/log/daemon.log
>>> or for older logs:
>>>     zgrep -w smartd /var/log/daemon.log.*
>>>
> That is very useful thanks.  Honestly I thought you could only examine =

> syslog under systemd using the official tools like 'journalctl' , they =

> are always saying that it's binary now.  I had no idea you could just=20
> grep.  The entire subject of access to logs is another thing that has=20
> become very difficult to understand. Until now, I've been using=20
> "journalctl -p err -b -1", and not seeing very much :(

With the systemd journal you could do:

journalctl | grep -w smartd

with the same effect as the commands above. Internally, the journal is
binary, but you can inspect the text and work on it as always - albeit
more slowly.

--=20
Cheers / Saludos,

		Carlos E. R.
		(from 42.2 x86_64 "Malachite" at Telcontar)


--db4c9wuwLa8OjfVPPxBx79vDlIbMALWJW--

--G0H9uxPJLsgkvN7q4HKxBlg510JDJlcvc
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEUEARECAAYFAliYYQYACgkQtTMYHG2NR9WixgCfYt/Yo63TZMLRBU7sJhKDobbz
+6EAlj7xy3msl/UzJDOWda0JPzb6cb4=
=qtVF
-----END PGP SIGNATURE-----

--G0H9uxPJLsgkvN7q4HKxBlg510JDJlcvc--


--===============4491599631540716705==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
--===============4491599631540716705==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Smartmontools-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support

--===============4491599631540716705==--