[Logcheck-devel] smart attribute messages
Elmar Hoffmann
debian-logcheck-devel-ml at elho.net
Sat Oct 7 21:42:42 UTC 2006
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 <20060913203500.GA24063 at psycho.elho.net>)
elmar
--
.'"`. /"\
| :' : Elmar Hoffmann <elho at elho.net> ASCII Ribbon Campaign \ /
`. `' GPG key available via pgp.net against HTML email X
`- & vCards / \
-------------- next part --------------
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$
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20061007/016d0dbf/attachment.pgp
More information about the Logcheck-devel
mailing list