[Logcheck-devel] Bug#355085: fixed regexp

martin f krafft madduck at debian.org
Mon Jul 3 05:22:17 UTC 2006


reopen 355085
thanks

also sprach Adam Porter <adam at alphapapa.net> [2006.03.12.0925 +0100]:
> Oops, I made a mistake in the regexp (left out a pair of
> brackets).  Here's one that should work.

> ^\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)$

I am on amd64 with a bunch of Samsung drives, and I am seeing

  Jul  2 17:23:37 pulse smartd[15010]: Device: /dev/sdb, SMART Usage
  Attribute: 194 Temperature_Celsius changed from 136 to 139

I think logcheck should just ignore all usage attribute changes.
smartd does send out its own warnings when things go wrong.

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.     martin f. krafft <madduck at debian.org>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (GPG/PGP)
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20060703/2d002586/attachment.pgp 


More information about the Logcheck-devel mailing list