[Logcheck-devel] smart attribute messages

Elmar Hoffmann debian-logcheck-devel-ml at elho.net
Fri Sep 8 14:37:11 UTC 2006


Hi,

on Mon, Sep 04, 2006 at 17:00:03 +0200, martin f krafft wrote:

> also sprach Elmar Hoffmann <debian-logcheck-devel-ml at elho.net> [2006.09.04.1645 +0200]:
> > So I do think that it is a good thing to receive these.
> 
> Fair enough. I think I did commit rules to ignore them, however, so
> these need to be undone. Since you seem to know smartd better than
> I do, would you be willing to have a go? If you don't have SVN
> commit rights, I'll happily apply for you.

Yes, I don't. Here's the patch, it basically reverts
ignore.d.server/smartd back to r1048 (minus the unrelated changes in
r1097).
As a compromise, I changed the temperature change range in the last
rule from 1-2 to 1-3 degrees. These messages apparently only show for
(real) SCSI drives anyway, so there shouldn't be too many home users
with badly ventilated rooms who would exceed that affected. ;)

Depending on whether violations.ignore.d will be declared deescalation
filters as you suggested in the other thread or made completely ignore
filters as documented, violations.ignore.d/logcheck-smartd would have
to be removed in the latter case.

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 1211)
+++ rulefiles/linux/ignore.d.server/smartd	(working copy)
@@ -1,3 +1,3 @@
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: /dev/[hs]d[[:lower:]]( \[3ware_disk_0[[:digit:]]\])?, starting scheduled (Long|Short) Self-Test\.$
-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: /dev/[hs]d[[:lower:]]( \[3ware_disk_0[[:digit:]]\])?, SMART Usage Attribute: [[:digit:]]+ [_[:alnum:]]+ changed from [[:digit:]]+ to [[:digit:]]+$
-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: /dev/[hs]d[[:lower:]]( \[3ware_disk_0[[:digit:]]\])?, Temperature changed (-|\+)?[1-2]+ Celsius to [[:digit:]]+ Celsius since last report$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: /dev/[hs]d[[:lower:]]( \[3ware_disk_0[[: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/[hs]d[[:lower:]]( \[3ware_disk_0[[: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/20060908/4f422769/attachment.pgp 


More information about the Logcheck-devel mailing list