[Pkg-nagios-devel] Bug#296562: nagios-common: dsf
Ryszard Lach
Ryszard Lach <rla@debian.org>, 296562@bugs.debian.org
Wed, 23 Feb 2005 11:07:53 +0100
Package: nagios-common
Version: 2:1.3-cvs.20050116-1
Severity: normal
From: Ryszard Lach <rla@debian.org>
Subject: nagios-common: check_nagios_db fails to recognize that nagios isn't running (after nagios crash)
Package: nagios-common
Version: 2:1.3-cvs.20050116-1
Severity: normal
If nagios (running with database) fails because of some bad reason (e.g. hardware problem,
segfault etc.) check_nagios_db doesn't claims that it's running. This is
what happens if I 'kill -9' nagios' pid:
myhost:/etc/nagios# ./check_nagios_db
Nagios OK: located 0 processes, program status updated 14 seconds ago
myhost:/etc/nagios# echo $?
0
This makes check_nagios_db unusable for nagios-DB monitoring and forces
the user to clear 'programstatus' table in database before nagios start.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-p2-ide
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages nagios-common depends on:
ii adduser 3.59 Add and remove users and groups
ii apache [httpd] 1.3.33-3 versatile, high-performance HTTP s
ii apache-ssl [http 1.3.33-3 versatile, high-performance HTTP s
ii coreutils [fileu 5.2.1-2 The GNU core utilities
ii debconf [debconf 1.4.30.11 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-mysql [na 2:1.3-cvs.20050116-1 A host/service/network monitoring
ii nagios-plugins 1.3.1.0-12 Plugins for the nagios network mon
-- debconf information excluded
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-p2-ide
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages nagios-common depends on:
ii adduser 3.59 Add and remove users and groups
ii apache [httpd] 1.3.33-3 versatile, high-performance HTTP s
ii apache-ssl [http 1.3.33-3 versatile, high-performance HTTP s
ii coreutils [fileu 5.2.1-2 The GNU core utilities
ii debconf [debconf 1.4.30.11 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-mysql [na 2:1.3-cvs.20050116-1 A host/service/network monitoring
ii nagios-plugins 1.3.1.0-12 Plugins for the nagios network mon
-- debconf information excluded