[Logcheck-commits] Hannes von Haugwitz: i.d.s/snmpd: adjusted UDP rule to match new format

Hannes von Haugwitz hvh-guest at alioth.debian.org
Sat Feb 19 16:30:21 UTC 2011


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

Author: Hannes von Haugwitz <hannes at vonhaugwitz.com>
Date:   Sat Feb 19 17:19:39 2011 +0100

i.d.s/snmpd: adjusted UDP rule to match new format

closes: #613124

---

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

diff --git a/debian/changelog b/debian/changelog
index 360740c..f00fbe7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -33,6 +33,9 @@ logcheck (1.3.14) unstable; urgency=low
       (closes: #608256)
   * src/logcheck, etc/logcheck.conf:
     - added option to compress attachment with gzip
+  * ignore.d.server/snmpd:
+    - adjusted UDP rule to match new SNMP output format, thanks to
+      Robert Naylor (closes: #613124)
 
  -- Hannes von Haugwitz <hannes at vonhaugwitz.com>  Thu, 17 Feb 2011 06:43:37 +0100
 
diff --git a/rulefiles/linux/ignore.d.server/snmpd b/rulefiles/linux/ignore.d.server/snmpd
index f492599..ff1190b 100644
--- a/rulefiles/linux/ignore.d.server/snmpd
+++ b/rulefiles/linux/ignore.d.server/snmpd
@@ -1,2 +1,2 @@
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ snmpd\[[0-9]+\]: Connection from [.0-9]{7,15}$
-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ snmpd\[[0-9]+\]: Connection from UDP: \[[.0-9]{7,15}\]:[0-9]{4,5}$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ snmpd\[[0-9]+\]: Connection from UDP: \[[.0-9]{7,15}\]:[0-9]{4,5}(->\[[.0-9]{7,15}\])?$




More information about the Logcheck-commits mailing list