[Logcheck-devel] Bug#653444: Some rules in ignore.d.server/smartd lacks optinal [SAT] mark

Sergey B Kirpichev skirpichev at gmail.com
Wed Dec 28 12:02:03 UTC 2011


Package: logcheck-database
Version: 1.3.13
Tags: patch

Fixed ones:
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ smartd\[[[:digit:]]+\]: Device: /dev/[^[:space:]]+( \[[_/[:alnum:][:space:]]+\])?( \[SAT\])?, SMART (Prefailure|Usage) Attribute: [[:digit:]]+ [_[:alnum:]]+ changed from [[:digit:]]+( \[Raw [[:digit:]]+\])? to [[:digit:]]+( \[Raw [[:digit:]]+\])?$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ smartd\[[[:digit:]]+\]: Device: /dev/[^[:space:]]+( \[[_/[:alnum:][:space:]]+\])?( \[SAT\])?, starting scheduled (Offline Immediate |(Long|Short) Self-)Test\.$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ smartd\[[[:digit:]]+\]: Device: /dev/[^[:space:]]+( \[[_/[:alnum:][:space:]]+\])?( \[SAT\])?, previous self-test completed without error$

Example entires from syslog:
Dec 28 08:36:22 censored smartd[10775]: Device: /dev/sda [megaraid_disk_00] [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 206 to 200
Dec 28 01:06:22 censored smartd[10775]: Device: /dev/sda [megaraid_disk_00] [SAT], starting scheduled Short Self-Test.
Dec 28 01:36:22 censored smartd[10775]: Device: /dev/sda [megaraid_disk_00] [SAT], previous self-test completed without error
Dec 28 02:36:22 censored smartd[10775]: Device: /dev/sda [megaraid_disk_01] [SAT], SMART Prefailure Attribute: 1 Raw_Read_Error_Rate changed from 100 to 99





More information about the Logcheck-devel mailing list