[Logcheck-devel] new selftest rule and 3ware fix for CVS smartd rules

Elmar Hoffmann debian-logcheck-devel-ml at elho.net
Tue Jul 18 00:28:20 UTC 2006


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 <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 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$
-------------- 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/20060718/1f3447e7/attachment.pgp 


More information about the Logcheck-devel mailing list