[Logcheck-commits] Hannes von Haugwitz: i.d.s/nagios: allow '>=' in "SERVICE FLAPPING ALERT" message

Hannes von Haugwitz hvh-guest at alioth.debian.org
Fri Apr 2 09:03:37 UTC 2010


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

Author: Hannes von Haugwitz <hannes at vonhaugwitz.com>
Date:   Fri Apr  2 07:16:08 2010 +0200

i.d.s/nagios: allow '>=' in "SERVICE FLAPPING ALERT" message

---

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

diff --git a/debian/changelog b/debian/changelog
index c26d07f..9fd471b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,8 @@ logcheck (1.3.8) UNRELEASED; urgency=low
   * ignore.d.server/nfs:
     - allow '_', '-' and '.' in mount path, thanks to
       G. T. Laycock (closes: #575378)
+  * ignore.d.server/nagios:
+    - allow '>=' in "SERVICE 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 9ec1c81..85b2a01 100644
--- a/rulefiles/linux/ignore.d.server/nagios
+++ b/rulefiles/linux/ignore.d.server/nagios
@@ -15,7 +15,7 @@
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: Nagios (1|2)\.[[:digit:]] starting\.\.\. \(PID=[[:digit:]]+\)$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: SERVICE ALERT: [._[:alnum:]-]+;[^;]+;(CRITICAL|WARNING|OK|UNKNOWN);(SOFT|HARD);.*$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: SERVICE ALERT: [[:alnum:]]+;PING;(WARNING|OK).*$
-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: SERVICE FLAPPING ALERT: [._[:alnum:]-]+;[._[:alnum:]-]+;(STARTED|STOPPED); Service appears to have (started|stopped) flapping \([[:digit:].]+% change [<>] [.[:digit:]]+% threshold\)$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: SERVICE FLAPPING ALERT: [._[:alnum:]-]+;[._[:alnum:]-]+;(STARTED|STOPPED); Service appears to have (started|stopped) flapping \([[:digit:].]+% change (<|>=?) [.[:digit:]]+% threshold\)$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: SERVICE NOTIFICATION: [._[:alnum:]-]+;[._[:alnum:]-]+;[^;]+;(ACKNOWLEDGEMENT \()?(CRITICAL|WARNING|OK|UNKNOWN)(\))?;.*$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: SERVICE NOTIFICATION: [._[:alnum:]-]+;[._[:alnum:]-]+;[^;]+;CRITICAL;.*$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ nagios(2|3)?: Warning: Host '[[:alnum:]]+' has no services associated with it\!$




More information about the Logcheck-commits mailing list