Hi, on Mon, Jun 05, 2006 at 17:33:46 +0200, I wrote:
> here's an additional rule for smartd to match the "did test of type L > in current hour, skipping test of type S" messages that occur when a > long selftest is scheduled for the same time as a short one and the > latter is thus skipped (which makes sense when doing the short one > daily and the long one weekly for example). While the other part of this mail (matching normal and 3ware drives with the same pattern) got applied, it seems this one got lost. I attached an updated patch for this against current SVN. 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 1176)
+++ rulefiles/linux/ignore.d.server/smartd (working copy)
@@ -1,3 +1,4 @@
^\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:]]\])?, did test of type L in
current hour, skipping test of type S$
^\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$
signature.asc
Description: Digital signature
_______________________________________________ Logcheck-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/logcheck-devel

