[Pkg-nagios-devel] Bug#325874: nagios-common: logcheck regexp issue

Al Nikolov al at gorod-spb.ru
Wed Aug 31 13:04:09 UTC 2005

Package: nagios-common
Version: 2:1.3-cvs.20050402-2.sarge.1
Severity: minor
Tags: patch

A little fix to it.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11-1-686-smp
Locale: LANG=russian, LC_CTYPE=russian (charmap=KOI8-R)

Versions of packages nagios-common depends on:
ii  adduser     3.63                         Add and remove users and groups
ii  apache [htt 1.3.33-6                     versatile, high-performance HTTP s
ii  apache-ssl  1.3.33-6                     versatile, high-performance HTTP s
ii  coreutils [ 5.2.1-2                      The GNU core utilities
ii  debconf [de                    Debian configuration management sy
ii  fileutils   5.2.1-2                      The GNU file management utilities 
ii  mailx       1:8.1.2-0.20040524cvs-4      A simple mail user agent
ii  nagios-mysq 2:1.3-cvs.20050402-2.sarge.1 A host/service/network monitoring 
ii  nagios-plug 1.4-6                        Plugins for the nagios network mon

-- debconf information:
* nagios/wwwsuid: true
* nagios/upgradefromnetsaint:
* nagios/configapache: Apache-SSL

*** /tmp/nagios-diff
--- /etc/logcheck/ignore.d.server/nagios	2005-04-19 19:58:39.000000000 +0400
+++ /tmp/nagios	2005-08-31 16:57:50.207678159 +0400
@@ -4,7 +4,7 @@
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ nagios: SERVICE ALERT: [._[:alnum:]-]+;[^;]+;(CRITICAL|WARNING|OK|UNKNOWN);(SOFT|HARD);.*$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ nagios: SERVICE NOTIFICATION: [._[:alnum:]-]+;[._[:alnum:]-]+;[^;]+;(CRITICAL|WARNING|OK|UNKNOWN);.*$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ nagios: HOST ALERT: [._[:alnum:]-]+;(DOWN|UP|UNREACHABLE);(SOFT|HARD);.*$
-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ nagios: HOST NOTIFICATION: [._[:alnum:]-]+;[._[:alnum:]-]+;(DOWN|UP);.*$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ nagios: HOST NOTIFICATION: [._[:alnum:]-]+;[._[:alnum:]-]+;(DOWN|UP|UNREACHABLE);.*$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ nagios: HOST DOWNTIME ALERT: [._[:alnum:]-]+;STOPPED;.*$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ nagios: Warning: The results of service '[ [:alnum:][:punct:]]+' on host '[._[:alnum:]-]+' are stale by [[:digit:]]+ seconds \(threshold=[[:digit:]]+ seconds\).  I'm forcing an immediate check of the service\.$
 # nrpe

More information about the Pkg-nagios-devel mailing list