[Logcheck-devel] Bug#408890: does not match smartd messages containing raw attribute values

Elmar Hoffmann elho at elho.net
Mon Jan 29 00:08:16 UTC 2007


Package: logcheck-database
Version: 1.2.53
Severity: normal
Tags: patch

Hi,

the existing rules do not match smartd messages that besides the
normalized value also contain the raw value as enabled by the -R
option of smartd.
These messages look like this:
Jan 29 00:48:21 stranger smartd[2738]: Device: /dev/twa0 [3ware_disk_01], SMART Usage Attribute: 194 Temperature_Celsius changed from 112 [Raw 31] to 113 [Raw 30]

The attached patch fixes this.

elmar

-- 

 .'"`.                                                            /"\
| :' :   Elmar Hoffmann <elho at elho.net>    ASCII Ribbon Campaign  \ /
`. `'    GPG key available via pgp.net        against HTML email   X
  `-                                                    & vCards  / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logcheck-smartd-match_raw_attribute_values.diff
Type: text/x-diff
Size: 1717 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20070129/71c67d4c/attachment.diff 
-------------- 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/20070129/71c67d4c/attachment.pgp 


More information about the Logcheck-devel mailing list