Re: smartmon email notifications are not always very 'smart' (need stateful information)

Christian Franke <[email protected]> Tue, 7 Feb 2017 07:24:34 +0100
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
Anshuman Aggarwal wrote:
> ...
> I have a drive that is supposedly failing but will likely last me 6-8
> months more (as part of a raid 6 cluster so I don't feel compelled to
> replace right away, it also allowed a full reconstruction of the 2 TB
> cluster without any issues) It gives the following error notifications
> everyday for the last 3 months via emails.
>
>
> Device: /dev/sdg [SAT], 11 Currently unreadable (pending) sectors
>
> Device: /dev/sdg [SAT], 11 Offline uncorrectable sectors
>
>
> However the number of reallocated and unreadable sectors is NOT going
> up. It stays the same at 11 and 5 and has been for the last 3-4
> months.
>
> What I *would like* to see is a notification only when the number
> *changes* from the last time the error failed so that I can react to
> that change that the drive is 'worsening'.

Try '-C 197+ -U 198+' directives, see smartd.conf man page.


Regards,
Christian


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