Package: logcheck-database
Version: 1.3.3
Severity: normal
Tags: patch

Hi,

the attached patch adds ignore.d.server/apcupsd to ignore messages like these

Aug  7 18:15:53 berlin apcupsd[2155]: UPS Self Test switch to battery.
Aug  7 18:16:00 berlin apcupsd[2155]: UPS Self Test completed: Battery OK

The other messages are important and shouldn't be ignored.

Hannes

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30.5 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information
--- /etc/logcheck/ignore.d.server/apcupsd.orig  1970-01-01 01:00:00.000000000 
+0100
+++ /etc/logcheck/ignore.d.server/apcupsd       2009-08-19 18:03:11.000000000 
+0200
@@ -0,0 +1 @@
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ apcupsd\[[[:digit:]]+\]: UPS Self 
Test (switch to battery.|completed: Battery OK)$
_______________________________________________
Logcheck-devel mailing list
Logcheck-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/logcheck-devel

Reply via email to