[Pkg-nagios-devel] Bug#289830: nagios-common: nagios init.d script fails to reload

Heno Ivanov Heno Ivanov <heno@siil.net>, 289830@bugs.debian.org
Tue, 11 Jan 2005 11:06:14 +0200


Package: nagios-common
Version: 2:1.3-0+pre6
Severity: normal

*** Please type your report below this line ***

nagios fails to reload (in most cases):

# /etc/init.d/nagios reload   
Reloading nagios configuration files.
Not running.

# sh -x /etc/init.d/nagios reload  
[...]
+ '[' -f /usr/lib/nagios/plugins/check_nagios ']'
+ /usr/lib/nagios/plugins/check_nagios -F /var/log/nagios/status.log -C nagios
+ return 1
+ echo 'Not running.'
Not running.
+ exit 0

FIX: add "-e 15" argument to check_nagios command 
(the status.log update interval in default nagios.cfg)




-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686-smp
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15
(charmap=ISO-8859-15)

Versions of packages nagios-common depends on:
ii  adduser          3.59                    Add and remove users and groups
ii  apache2-mpm-pref 2.0.52-3                Traditional model for Apache2
ii  coreutils [fileu 5.2.1-2                 The GNU core utilities
ii  debconf [debconf 1.4.30.10               Debian configuration management sy
ii  mailx            1:8.1.2-0.20040524cvs-3 A simple mail user agent
ii  nagios-plugins   1.3.1.0-12              Plugins for the nagios network mon
ii  nagios-text [nag 2:1.3-0+pre6            A host/service/network monitoring

-- debconf information excluded