[Pkg-nagios-devel] Bug#507137: Wrong path to command file in event handler scripts

Erik Dalén dalen at socialisterna.org
Fri Nov 28 13:29:25 UTC 2008


Package: nagios3-common
Version: 3.0.3-2~bpo40+1
Severity: normal

The default path of the external command file is
/var/lib/nagios3/rw/nagios.cmd, the listed event handlers instead set it
to /usr/local/nagios/var/rw/nagios.cmd

The wrong path is in the following files:
/usr/share/nagios3/plugins/eventhandlers/enable_active_service_checks
/usr/share/nagios3/plugins/eventhandlers/disable_active_service_checks
/usr/share/nagios3/plugins/eventhandlers/enable_notifications
/usr/share/nagios3/plugins/eventhandlers/disable_notifications


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages nagios3-common depends on:
ii  adduser          3.102                   Add and remove users and groups
ii  apache2-utils    2.2.3-4+etch6           utility programs for webservers
ii  coreutils        5.97-5.3                The GNU core utilities
ii  debconf [debconf 1.5.11etch2             Debian configuration
management sy
ii  lsb-base         3.1-23.2etch1           Linux Standard Base 3.1
init scrip
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii  nagios-plugins-b 1.4.5-1etch1            Plugins for the nagios
network mon
ii  nagios3-doc      3.0.3-2~bpo40+1         documentation for nagios3
ii  ucf              2.0020                  Update Configuration File:
preserv

Versions of packages nagios3-common recommends:
ii  apache2                    2.2.3-4+etch6 Next generation, scalable,
extenda
ii  apache2-mpm-worker [httpd] 2.2.3-4+etch6 High speed threaded model
for Apac
pn  nagios-images              <none>        (no description available)
ii  nagios-plugins             1.4.5-1etch1  Plugins for the nagios
network mon

-- debconf information:
  nagios3/adminpassword-mismatch:
  nagios3/nagios1-in-apacheconf: false
* nagios3/httpd:






More information about the Pkg-nagios-devel mailing list