Public bug reported:

The file /etc/check_mk/logwatch.cfg contains the following stanza:

/var/log/syslog /var/log/kern.log
 I registered panic notifier
 C panic
 C Oops
 W generic protection rip
 W .*Unrecovered read error - auto reallocate failed

the "C panic" line sometimes fools Check_MK to mark the "Log
/var/log/syslog" service as critical, e.g. when an email is sent to
"a.papanico...@example.com".  This is because there are no word
boundaries in the regular expression matching the "panic" string.

Maybe it should be "C \bpanic\b"

This problem exists on trusty and xenial

** Affects: check-mk (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741491

Title:
  Default logwatch configuration causes spurious "critical" states

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/check-mk/+bug/1741491/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to