[Logcheck-commits] Hannes von Haugwitz: i.d.s/nagios: ignore "HOST FLAPPING ALERT" message

Gerfried Fuchs alfie at alioth.debian.org
Wed May 12 00:09:32 UTC 2010


Module: logcheck
Branch: lenny-backports
Commit: fcc06b06de7124927960cb71f41ba981e0bfb2ec
URL:    http://git.debian.org/?p=logcheck/logcheck.git;a=commit;h=fcc06b06de7124927960cb71f41ba981e0bfb2ec

Author: Hannes von Haugwitz <hannes at vonhaugwitz.com>
Date:   Fri Apr  2 11:04:59 2010 +0200

i.d.s/nagios: ignore "HOST FLAPPING ALERT" message

---

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

diff --git a/debian/changelog b/debian/changelog
index 9fd471b..d335dd6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,7 @@ logcheck (1.3.8) UNRELEASED; urgency=low
       G. T. Laycock (closes: #575378)
   * ignore.d.server/nagios:
     - allow '>=' in "SERVICE FLAPPING ALERT" message 
+    - added rule to ignore "HOST FLAPPING ALERT" message
 
   [ Gerfried Fuchs ]
   * debian/logcheck.NEWS, debian/logtail.NEWS:
diff --git a/rulefiles/linux/ignore.d.server/nagios b/rulefiles/linux/ignore.d.server/nagios
index 85b2a01..68f9362 100644
--- a/rulefiles/linux/ignore.d.server/nagios
+++ b/rulefiles/linux/ignore.d.server/nagios
@@ -10,6 +10,7 @@
 ^\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:]]+;.*$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: HOST NOTIFICATION: [._[:alnum:]-]+;[._[:alnum:]-]+;(DOWN|UP|UNREACHABLE);.*$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: HOST FLAPPING ALERT: [._[:alnum:]-]+;(STARTED|STOPPED); Host appears to have (started|stopped) flapping \([[:digit:].]+% change (<|>=?) [.[:digit:]]+% threshold\)$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: LOG ROTATION: (DAILY|WEEKLY|MONTHLY)$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: LOG VERSION: 2\.[[:digit:]]$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: Nagios (1|2)\.[[:digit:]] starting\.\.\. \(PID=[[:digit:]]+\)$




More information about the Logcheck-commits mailing list