[Pkg-nagios-devel] Bug#493790: nagios3-common: Incorrect path in handle-master-host-event eventhandler

Nathan Kinkade nkinkade at creativecommons.org
Mon Aug 4 21:58:59 UTC 2008


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



-- 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.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages nagios3-common depends on:
ii  adduser          3.102                   Add and remove users and groups
ii  apache2-utils    2.2.3-4+etch5           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.2-1~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+etch5 Next generation, scalable, extenda
ii  apache2-mpm-prefork [httpd 2.2.3-4+etch5 Traditional model for Apache HTTPD
ii  nagios-images              0.3           Collection of images and icons for
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: apache2

In the following file installed by this package there is an incorrect filesystem path:

/usr/share/nagios3/plugins/eventhandlers/redundancy-scenario1/handle-master-host-event

Line #16 has this declaration:

    eventhandlerdir="/usr/local/nagios/libexec/eventhandlers"

But the eventhandlerdir should be:

    /usr/share/nagios3/plugins/eventhandlers

Clearly this isn't critical, but it does prevent the script from working out-of-the-box.

Thanks,

Nathan





More information about the Pkg-nagios-devel mailing list