smartd: log every warning only once?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

smartd: log every warning only once?

Peter Daum
Hi,

I use smartd to monitor the disks in several large RAID arrays, trying
to find out in time if anything suspicious is going on. Particularly,
I am interested in unreadable sectors (I don't care, if a disk says
it's "healthy", if it is not able to retrieve the stored data).

Currently, I am running smartd with a configuration file, that
has a line like this for every single disk:

/dev/twa0 -a -I 190 -I 194 -R 5 -d 3ware,0
[...]

It seems like current disks never work too long without running into
media errors, so I tolerate some unreadable sectors, as long as the
number is stable. Unfortunately, with the above configuration, if
a disk has some unreadable sectors, smartd will regularly repeat
the syslog message about the problem.

Is there any way to get smartd to monitor everything of interest,
but report any detected problem only _once_?

Regards,
                  Peter


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Smartmontools-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support