[Logcheck-devel] fix for CVS smartd rules

Elmar Hoffmann debian-logcheck-devel-ml at elho.net
Fri May 26 00:59:51 UTC 2006


Hi,

on Fri, May 26, 2006 at 02:57:58 +0200, Elmar Hoffmann wrote:

> here's a minor fix for the smartd rules in CVS, [...]

Duh, getting late... this time the patch is actually attached... :)

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
===================================================================
RCS file: /cvsroot/logcheck/logcheck/rulefiles/linux/ignore.d.server/smartd,v
retrieving revision 1.6
diff -u -r1.6 smartd
--- rulefiles/linux/ignore.d.server/smartd	17 May 2006 17:36:41 -0000	1.6
+++ rulefiles/linux/ignore.d.server/smartd	26 May 2006 00:53:07 -0000
@@ -1,4 +1,4 @@
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: /dev/hd[[:lower:]], starting scheduled (Long|Short) Self-Test\.$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: /dev/sd[[:lower:]] \[3ware_disk_0[0-9]\], starting scheduled (Short|Long) Self-Test\.$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: /dev/[[:alpha:]]{3}, 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/[[:alpha:]]{3}, Temperature changed (-|\+)[1-2]+ Celsius to ([5-9]|[1-4][0-9]|50) Celsius since last report$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: /dev/[[:alpha:]]{3}, Temperature changed (-|\+)?[1-2]+ 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/20060526/f123169c/attachment.pgp 


More information about the Logcheck-devel mailing list