[Logcheck-commits] Hannes von Haugwitz: ignore.d.server/nagios: ignore harmless "CURRENT ( HOST|SERVICE) STATE" messages

Hannes von Haugwitz hvh-guest at alioth.debian.org
Sun Dec 13 14:09:54 UTC 2009


Module: logcheck
Branch: master
Commit: 3fc5d8413788c3f11fcb6cc0b24fae94dd7d4d6a
URL:    http://git.debian.org/?p=logcheck/logcheck.git;a=commit;h=3fc5d8413788c3f11fcb6cc0b24fae94dd7d4d6a

Author: Hannes von Haugwitz <hannes at vonhaugwitz.com>
Date:   Sun Dec 13 15:06:24 2009 +0100

ignore.d.server/nagios: ignore harmless "CURRENT (HOST|SERVICE) STATE" messages

---

 debian/changelog                       |    2 ++
 rulefiles/linux/ignore.d.server/nagios |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b157b71..9fa0221 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 logcheck (1.3.5) UNRELEASED; urgency=low
 
   [ Hannes von Haugwitz ]
+  * ignore.d.server/nagios
+    - ignore harmless "CURRENT (HOST|SERVICE) STATE" messages
   * ignore.d.workstation/kernel
     - ignore "set mode" message from DRM
     - added some rules for WLAN authentication and association
diff --git a/rulefiles/linux/ignore.d.server/nagios b/rulefiles/linux/ignore.d.server/nagios
index 6fb908e..9396c4e 100644
--- a/rulefiles/linux/ignore.d.server/nagios
+++ b/rulefiles/linux/ignore.d.server/nagios
@@ -4,6 +4,8 @@
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: EXTERNAL COMMAND: (ENABLE|DISABLE)_(HOST_|HOST_SVC_|SVC_)?NOTIFICATIONS;[._[:alnum:]-]+(;[^;]+)?$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;[._[:alnum:]-]+;[^;]+;[[:digit:]]+;.*$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: EXTERNAL COMMAND: SCHEDULE_HOST_DOWNTIME;[._[:alnum:]-]+;[[:digit:];]+;[[:alnum:]]+;.*$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: CURRENT HOST STATE: [._[:alnum:]-]+;UP;(SOFT|HARD);[[:digit:]];.*$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: CURRENT SERVICE STATE: [._[:alnum:]-]+;[^;]+;(WARNING|OK);(SOFT|HARD);[[:digit:]];.*$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: HOST ALERT: [._[:alnum:]-]+;(DOWN|UP|UNREACHABLE);(SOFT|HARD);.*$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: HOST DOWNTIME ALERT: [._[:alnum:]-]+;(STARTED|STOPPED);.*$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: HOST EVENT HANDLER: [._[:alnum:]-]+;(UP|DOWN);(SOFT|HARD);[[:digit:]]+;.*$




More information about the Logcheck-commits mailing list