Re: Using SMARTd to monitor drives

Christian Franke <[email protected]> Sat, 4 Feb 2017 12:24:41 +0100
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
Ray Andrews wrote:
> On 31/01/17 01:21 AM, Christian Franke wrote:
>
>
> It is logged to syslog as: "Sending warning via MAILER to ADDRESS ..."
>> immediately after the actual warning message.
> That's interesting, how do I enable that?

You cannot enable it. It is enabled by default and cannot be disabled.

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.*


>> In a previous mail from 2017-01-19, I already explained how to disable
>> the pending sectors alert with the -C directive.
> Yes, BUT, I want to see if the count ever increases.  That is, I don't
> want to see '77' over and over again, but I do want to see if it goes to 78.

This is exactly the effect of the example from the mentioned mail.

Regards,
Christian


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot