Simon McVittie
2009-Nov-11 22:15 UTC
[Logcheck-devel] Bug#555828: logcheck-database: smartd rules don't ignore attribute changes on SATA drives
Package: logcheck-database Version: 1.2.69 Severity: wishlist Tags: patch This rule in ignore.d.server/smartd doesn't match messages from my SATA drives: ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: /dev/[^[:space:]]+( \[(3ware|cciss)_disk_[[:digit:]]+\])?, SMART (Prefailure|Usage) Attribute: [[:digit:]]+ [_[:alnum:]]+ changed from [[:digit:]]+( to [[:digit:]]+)?( \[Raw [[:digit:]]+\])? to [[:digit:]]+( \[Raw [[:digit:]]+\])?$ This one should: ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: /dev/[^[:space:]]+( \[((3ware|cciss)_disk_[[:digit:]]+|SAT)\])?, SMART (Prefailure|Usage) Attribute: [[:digit:]]+ [_[:alnum:]]+ changed from [[:digit:]]+( to [[:digit:]]+)?( \[Raw [[:digit:]]+\])? to [[:digit:]]+( \[Raw [[:digit:]]+\])?$ An example of regular log lines that this rule should ignore: Nov 5 06:27:31 testament smartd[1922]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 119 to 118 Nov 5 06:27:31 testament smartd[1922]: Device: /dev/sdb [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 78 to 77 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 793 bytes Desc: Digital signature URL: <http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20091111/4c4517ec/attachment.pgp>
Debian Bug Tracking System
2009-Dec-10 19:21 UTC
[Logcheck-devel] Bug#555828: marked as done (logcheck-database: smartd rules don't ignore attribute changes on SATA drives)
Your message dated Thu, 10 Dec 2009 19:19:23 +0000 with message-id <E1NIoXr-0000O5-Hi at ries.debian.org> and subject line Bug#555828: fixed in logcheck 1.3.4 has caused the Debian Bug report #555828, regarding logcheck-database: smartd rules don't ignore attribute changes on SATA drives to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 555828: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555828 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Simon McVittie <smcv at debian.org> Subject: logcheck-database: smartd rules don't ignore attribute changes on SATA drives Date: Wed, 11 Nov 2009 22:15:51 +0000 Size: 3784 URL: <http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20091210/60e7aeed/attachment.eml> -------------- next part -------------- An embedded message was scrubbed... From: Gerfried Fuchs <rhonda at debian.at> Subject: Bug#555828: fixed in logcheck 1.3.4 Date: Thu, 10 Dec 2009 19:19:23 +0000 Size: 8647 URL: <http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20091210/60e7aeed/attachment-0001.eml>