Package: smartmontools
Version: 5.32-3
Followup-For: Bug #268171

The -I option gets rid of the log entries as a whole. I would like
the attribute changes to be logged, but logcheck to ignore them.
Thus, please add proper exclusion rules, as follows:

/etc/logcheck/ignore.d.server/smartd:
  ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ smartd\[[[:digit:]]+\]: Device: 
/dev/hd[[:lower:]], SMART Usage Attribute: [[:digit:]]+ [[:alnum:]_]+ changed 
from [[:digit:]]+ to [[:digit:]]+
  ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ smartd\[[[:digit:]]+\]: Device: 
/dev/sd[[:lower:]] \[3ware_disk_0[[:digit:]]\], SMART Usage Attribute: 
[[:digit:]]+ [[:alnum:]_]+ changed from [[:digit:]]+ to [[:digit:]]+

/etc/logcheck/violations.ignore.d/smartd:
  ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ smartd\[[[:digit:]]+\]: Device: 
/dev/hd[[:lower:]], SMART Prefailure Attribute: [[:digit:]]+ [[:alnum:]_]+ 
changed from [[:digit:]]+ to [[:digit:]]+
  ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ smartd\[[[:digit:]]+\]: Device: 
/dev/sd[[:lower:]] \[3ware_disk_0[[:digit:]]\], SMART Prefailure Attribute: 
[[:digit:]]+ [[:alnum:]_]+ changed from [[:digit:]]+ to [[:digit:]]+

Thanks for yor consideration.

-- 
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP (sub)keys? Use subkeys.pgp.net as keyserver!
 
the only real advantage to punk music is
that nobody can whistle it.

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to