[smartmontools-support] Email alerts

Christian Franke Christian.Franke at t-online.de
Thu Jan 2 16:29:01 CET 2020


Ryan McCully wrote:
>
> Hi
>
> I’m trying to configure smartd so that it only sends alerts for 
> anything except current_pending_sector.
>
> /This message was generated by the smartd daemon running on:
>
>    host name:  node34
>    DNS domain: [Empty]
>
> The following warning/error was logged by the smartd daemon:
>
> Device: /dev/sda [SAT], 1 Currently unreadable (pending) sectors
>
> Device info:
> CT500MX500SSD1, S/N:1931Exxxxxxx, WWN:5-00a075-1e2159218, FW:M3CR023, 
> 500 GB/
>

This device reportedly returns bogus raw values (0, 1, 0, 1, 0, 1, ...) 
in attribute 197.
See https://www.smartmontools.org/ticket/1227


> //
>
> //
>
> *197 Current_Pending_Sector*
>
> smartd.conf:
>
> //dev/sda -a -t -I 197 -R 5 -m <email>/
>
> //dev/sdb -a -t -I 197 -R 5 -m <email>/
>
> Anyone know what is wrong with my config?
>

Attribute 197 (and 198) are checked by default. Add -C 0 (and -U 0) to 
disable.

But for this specific device, you could also update the drive database:
https://www.smartmontools.org/wiki/Download#Updatethedrivedatabase
(or upgrade to smartmontools 7.1).

  A new entry suppresses checks of attribute 197 for this firmware 
version. See above ticket for details.




More information about the Smartmontools-support mailing list