Hi, on Fri, Oct 06, 2006 at 19:09:15 +0200, martin f krafft wrote:
> Now with Elmar's patches applied, I am seeing such messages again: > > Oct 6 18:36:39 seamus smartd[9225]: Device: /dev/sda > [3ware_disk_01], SMART Usage Attribute: 195 Hardware_ECC_Recovered > changed from 52 to 51 Hmm yeah, all the Seagate SATA disks I have show the behaviour of having that attribute oscillate around some value. I've got specific rules with hardcoded hostname, device and attribute value range for those disks in my ignore.d.server/local-smartd. I've seen another message today for the SMART usage attribute Power_On_Hours. That one can safely be ignored, the attached patch adds a rule for these. (And it also includes the still missing skipped self test patch from <[EMAIL PROTECTED]>) elmar -- .'"`. /"\ | :' : Elmar Hoffmann <[EMAIL PROTECTED]> ASCII Ribbon Campaign \ / `. `' GPG key available via pgp.net against HTML email X `- & vCards / \
Index: rulefiles/linux/ignore.d.server/smartd
===================================================================
--- rulefiles/linux/ignore.d.server/smartd (revision 1233)
+++ rulefiles/linux/ignore.d.server/smartd (working copy)
@@ -1,3 +1,5 @@
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device:
/dev/[^[:space:]]+( \[(3ware|cciss)_disk_[[:digit:]]+\])?, starting scheduled
(Long|Short) Self-Test\.$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device:
/dev/[^[:space:]]+( \[(3ware|cciss)_disk_[[:digit:]]+\])?, did test of type L
in current hour, skipping test of type S$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device:
/dev/[^[:space:]]+( \[(3ware|cciss)_disk_[[:digit:]]+\])?, SMART Usage
Attribute: 9 Power_On_Hours changed from [0-9]+ to [0-9]+$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device:
/dev/[^[:space:]]+( \[(3ware|cciss)_disk_[[:digit:]]+\])?, SMART Usage
Attribute: 194 Temperature_Celsius changed from ([5-9]|[1-4][0-9]|50) to
([5-9]|[1-4][0-9]|50)$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device:
/dev/[^[:space:]]+( \[(3ware|cciss)_disk_[[:digit:]]+\])?, Temperature changed
(-|\+)?[1-3]+ Celsius to ([5-9]|[1-4][0-9]|50) Celsius since last report$
signature.asc
Description: Digital signature
_______________________________________________ Logcheck-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/logcheck-devel

