[Pkg-nagios-devel] Bug#272074: marked as done (Please provide contrib check_nagios_db and check_nagios_db_pg plugins)

Debian Bug Tracking System owner at bugs.debian.org
Thu Dec 8 22:33:49 UTC 2005


Your message dated Thu, 08 Dec 2005 14:17:57 -0800
with message-id <E1EkU5N-00053i-S0 at spohr.debian.org>
and subject line Bug#272074: fixed in nagios 2:1.3-cvs.20050402-11
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 17 Sep 2004 09:34:27 +0000
>From daniel at yacoi.com Fri Sep 17 02:34:27 2004
Return-path: <daniel at yacoi.com>
Received: from 19.red-80-59-20.pooles.rima-tde.net (quebrantahuesos.yacoi.com) [80.59.20.19] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C8F8L-0006Wc-00; Fri, 17 Sep 2004 02:34:27 -0700
Received: from localhost (quebrantahuesos [127.0.0.1])
	by quebrantahuesos.yacoi.com (Postfix) with ESMTP
	id 2CB6C4F4006; Fri, 17 Sep 2004 11:32:58 +0200 (CEST)
Received: from quebrantahuesos.yacoi.com ([127.0.0.1])
	by localhost (quebrantahuesos [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 01906-06; Fri, 17 Sep 2004 11:32:57 +0200 (CEST)
Received: from seraphim (seraphim.yacoi.com [192.168.1.250])
	by quebrantahuesos.yacoi.com (Postfix) with ESMTP
	id 74D014C071; Fri, 17 Sep 2004 11:32:57 +0200 (CEST)
Received: from daniel by seraphim with local (Exim 4.34)
	id 1C8FFh-0000xk-W9; Fri, 17 Sep 2004 11:42:02 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Daniel Carrion <daniel at yacoi.com>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: nagios-pgsql: check_nagios plugin is not compiled with postgresql support
X-Mailer: reportbug 2.64
Date: Fri, 17 Sep 2004 11:42:01 +0200
Message-Id: <E1C8FFh-0000xk-W9 at seraphim>
Sender: =?UTF-8?Q?Daniel_Carri=F3n_Reinoso?= <daniel at seraphim>
X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at yacoi.com
X-BadReturnPath: daniel at seraphim rewritten as daniel at yacoi.com
  using "From" header
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: nagios-pgsql
Severity: important

from http://www.nagios.org/faqs/viewfaq.php?faq_id=170 :
"Description:
The Nagios web interface says: "Warning: Nagios process may not be running",
but the process is running (a ps listing shows it). 

Solution:

 In your CGI config file (cgi.cfg) there is a "nagios_check_command"
 directive that needs to be configured. This is the command that the CGIs
 execute to determine whether or not the Nagios process is running properly
 or not. The check command needs to be adapted to your local system, as
 described below. 
 
 
 For file-based status data: use the "check_nagios" plugin - modify the
 argument for the -C parameter based on your ps output. 
 
 
 For database status data: use the "check_nagios_db" plugin from the contrib
 directory of the plugins distribution."

nagios_check_command, in /etc/nagios/cgi.cfg, shows that
/usr/lib/nagios/plugins/check_nagios must be able to read a status.log file,
which doesn't exist when using postgresql.

if I try to run check_nagios from the command line, I get:
"Usage: check_nagios -F <status log file> -e <expire_minutes> -C <process_string>"
which shows it has no postgresql support.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.5
Locale: LANG=es_ES at euro, LC_CTYPE=es_ES at euro

---------------------------------------
Received: (at 272074-close) by bugs.debian.org; 8 Dec 2005 22:21:46 +0000
>From katie at ftp-master.debian.org Thu Dec 08 14:21:46 2005
Return-path: <katie at ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1EkU5N-00053i-S0; Thu, 08 Dec 2005 14:17:57 -0800
From: sean finney <seanius at debian.org>
To: 272074-close at bugs.debian.org
X-Katie: $Revision: 1.60 $
Subject: Bug#272074: fixed in nagios 2:1.3-cvs.20050402-11
Message-Id: <E1EkU5N-00053i-S0 at spohr.debian.org>
Sender: Archive Administrator <katie at ftp-master.debian.org>
Date: Thu, 08 Dec 2005 14:17:57 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2

Source: nagios
Source-Version: 2:1.3-cvs.20050402-11

We believe that the bug you reported is fixed in the latest version of
nagios, which is due to be installed in the Debian FTP archive:

nagios-common_1.3-cvs.20050402-11_all.deb
  to pool/main/n/nagios/nagios-common_1.3-cvs.20050402-11_all.deb
nagios-mysql_1.3-cvs.20050402-11_i386.deb
  to pool/main/n/nagios/nagios-mysql_1.3-cvs.20050402-11_i386.deb
nagios-pgsql_1.3-cvs.20050402-11_i386.deb
  to pool/main/n/nagios/nagios-pgsql_1.3-cvs.20050402-11_i386.deb
nagios-text_1.3-cvs.20050402-11_i386.deb
  to pool/main/n/nagios/nagios-text_1.3-cvs.20050402-11_i386.deb
nagios_1.3-cvs.20050402-11.diff.gz
  to pool/main/n/nagios/nagios_1.3-cvs.20050402-11.diff.gz
nagios_1.3-cvs.20050402-11.dsc
  to pool/main/n/nagios/nagios_1.3-cvs.20050402-11.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 272074 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
sean finney <seanius at debian.org> (supplier of updated nagios package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 08 Dec 2005 19:36:54 +0100
Source: nagios
Binary: nagios-pgsql nagios-text nagios-mysql nagios-common
Architecture: source i386 all
Version: 2:1.3-cvs.20050402-11
Distribution: unstable
Urgency: low
Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel at lists.alioth.debian.org>
Changed-By: sean finney <seanius at debian.org>
Description: 
 nagios-common - A host/service/network monitoring and management system
 nagios-mysql - A host/service/network monitoring and management system
 nagios-pgsql - A host/service/network monitoring and management system
 nagios-text - A host/service/network monitoring and management system
Closes: 272074 311707 339985 342010
Changes: 
 nagios (2:1.3-cvs.20050402-11) unstable; urgency=low
 .
   [sean finney]
   * First attempt at dbconfig-common support.  holding my breath...
     - database configuration now goes in database.cfg for
       the nagios daemon, and cgi.cfg for the web interface (i couldn't
       find a non-invasive way to seperate that out)
     - cgi.cfg is no longer shipped as a conffile, but instead managed
       via ucf (so nagios-mysql/pgsql can update it too).
     - requisite documentation changes to README.mysql/README.pgsql.
     - moved the dbd packages from recommends to depends.
     - finally provide a sane version of check_nagios_db
       (closes: #272074, #339985, #311707).
   * all nagios flavors call start/stop on the init scripts in the
     binary packages instead of in the -common package, otherwise strange
     things can happen during upgrades/reconfigures.  maybe this is
     the cause of #338931?
   * bumped build-deps to libmysqlclient15-dev so nagios-mysql will
     work with mysql 5.x.
   * don't EVER rm -rf /etc/nagios, even at purge.  when did we start
     doing that?
   * allow the submit_check_result_via_nsca to take a cmdline paramter
     to specify destination host.  put a note about this in README.Debian
     too (closes: #342010).  thanks to Libor Klepac for the suggestions.
   * we've had a nagios.8 manpage in our debian directory, but never
     installed it... whoops :)
   * various other lintian corrections and overrides.
Files: 
 d431b0f6a1f895c8b98b8d4e4abc5cf0 939 net optional nagios_1.3-cvs.20050402-11.dsc
 f9d942b4033126fc866f21bd32ff5594 76227 net optional nagios_1.3-cvs.20050402-11.diff.gz
 ea32613e3b32f08c2466f4ded8b11c91 903712 net optional nagios-text_1.3-cvs.20050402-11_i386.deb
 cb218475127f9e88031e98a7d77b28c7 908296 net optional nagios-mysql_1.3-cvs.20050402-11_i386.deb
 c5ddca9a479d19dbc5f1174777226678 917122 net optional nagios-pgsql_1.3-cvs.20050402-11_i386.deb
 7f9a64ea6221083fa952060047a7ec89 1220428 net optional nagios-common_1.3-cvs.20050402-11_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDmIkuynjLPm522B0RAio3AJ9elYwT4P+Ecm58lv3FIecQZRhWxQCfc86v
+SvHVSgMEV7EJJwy5DxIyGM=
=javB
-----END PGP SIGNATURE-----




More information about the Pkg-nagios-devel mailing list