[Pkg-nagios-devel] Bug#341780: nagios-common: typo in /etc/init.d/nagios results in status check errors

Norbert Kiesel nkiesel at tbdnetworks.com
Fri Dec 2 23:43:42 UTC 2005


Package: nagios-common
Version: 2:1.3-cvs.20050402-9
Severity: normal
Tags: patch

See attached patch

Best,
  Norbert

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.2
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages nagios-common depends on:
ii  adduser                       3.80       Add and remove users and groups
ii  apache2-mpm-prefork [httpd]   2.0.55-3   traditional model for Apache2
ii  coreutils [fileutils]         5.93-5     The GNU core utilities
ii  debconf [debconf-2.0]         1.4.61     Debian configuration management sy
ii  mailutils [mailx]             1:0.6.90-3 GNU mailutils utilities for handli
ii  nagios-plugins                1.4.2-5    Plugins for the nagios network mon
ii  nagios-plugins-basic          1.4.2-5    Plugins for the nagios network mon

nagios-common recommends no packages.

-- debconf information:
* nagios/wwwsuid: true
  nagios/upgradefromnetsaint:
* nagios/configapache: Apache2
-------------- next part --------------
--- nagios.orig	2005-12-02 15:40:04.000000000 -0800
+++ nagios	2005-12-02 15:40:27.000000000 -0800
@@ -31,9 +31,9 @@
 # nagioses where the status log is in a different location too.
 #
 check_started () {
-	check_cmd=`get_config "nagios_check_command" "$CGICFG"`
+	check_cmd=`get_config "nagios_check_command" "$CGICONFIG"`
 	if [ ! "$check_cmd" ]; then
-		echo "unable to determine nagios_check_command from $CGICFG!" >&2
+		echo "unable to determine nagios_check_command from $CGICONFIG!" >&2
 		return 1
 	fi
 


More information about the Pkg-nagios-devel mailing list