[Pkg-nagios-devel] Bug#308568: marked as done (nagios-pgsql: /usr/lib/nagios/plugins/check_nagios_db is missing)
Debian Bug Tracking System
owner@bugs.debian.org
Sat, 02 Jul 2005 13:48:15 -0700
Your message dated Sat, 02 Jul 2005 16:32:48 -0400
with message-id <E1DoofQ-0001lN-00@newraff.debian.org>
and subject line Bug#308568: fixed in nagios 2:1.3-cvs.20050402-3
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; 11 May 2005 06:24:50 +0000
>From turbo@bayour.com Tue May 10 23:24:50 2005
Return-path: <turbo@bayour.com>
Received: from aurora.bayour.com [212.214.70.50]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DVkeH-0003fG-00; Tue, 10 May 2005 23:24:50 -0700
Received: (qmail-ldap/ctrl 23754 invoked by uid 104); 11 May 2005 06:24:47 -0000
Received: from turbo@bayour.com by aurora by uid 0 with qmail-scanner-1.22
(clamscan: ???. Clear:RC:1(212.214.70.53):.
Processed in 0.055036 secs); 11 May 2005 06:24:47 -0000
Received: from pumba.bayour.com ([212.214.70.53])
(envelope-sender <turbo@bayour.com>)
by aurora.bayour.com (qmail-ldap-1.03) with SMTP
for <submit@bugs.debian.org>; 11 May 2005 06:24:47 -0000
Received: from turbo by pumba.bayour.com with local (Exim 3.36 #1 (Debian))
id 1DVkd6-0007yX-00
for <submit@bugs.debian.org>; Wed, 11 May 2005 08:23:36 +0200
To: submit@bugs.debian.org
Subject: nagios-pgsql: /usr/lib/nagios/plugins/check_nagios_db is missing
X-PGP-Fingerprint: B7 92 93 0E 06 94 D6 22 98 1F 0B 5B FE 33 A1 0B
X-PGP-Key-ID: 0x788CD1A9
X-URL: http://www.bayour.com/
From: Turbo Fredriksson <turbo@bayour.com>
Organization: Bah!
X-Yow:
Being a BALD HERO is almost as FESTIVE as a TATTOOED KNOCKWURST.
Date: Wed, 11 May 2005 08:23:36 +0200
Message-ID: <87zmv2cmc7.fsf@pumba.bayour.com>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/20.7 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Turbo Fredriksson <turbo@pumba>
Delivered-To: submit@bugs.debian.org
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-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: nagios-pgsql
Version: 1.3-cvs.20050402-2.TF.1
Severity: important
Version excuse:
This is a backport by me to install/build on a woody system.
There is NO changes to the package exept:
* Lower build depends to build on woody:
- libmysqlclient12-dev => libmysqlclient10-dev
- debhelper 4.2.21 => 4.0.2
- libpng12-dev => libpng2-dev
* Add libgd-noxpm-dev as build depends (as an or to libgd2-xpm-dev
and libgd-noxpm-dev).
Problem 1a:
I know that the informantion is in the readme, I can (and have)
done this myself right now. But I it would have been nice if this
was already done...
Also, the readme doesn't state that the resulting file (after
the copy and patching) should be made executable. Obvious after
the following message but still:
bash: /usr/lib/nagios/plugins/check_nagios_db: /usr/bin/perl: bad interpreter: Permission denied
Problem 1b:
The readme file states that /etc/nagios/nagios.cgi should be edited
to add the nagios_check_command statement. But it seems that it should
be the cgi.cfg file:
aurora:/usr/share/doc/nagios-pgsql# grep nagios_check_command /etc/nagios/*
/etc/nagios/cgi.cfg:#nagios_check_command=/usr/lib/nagios/plugins/check_nagios /var/log/nagios/status.log 5 'nagios'
/etc/nagios/cgi.cfg:#nagios_check_command=/etc/nagios/check_nagios_db
Note that the command THERE is '/etc/nagios/check_nagios_db', NOT
the stated '/usr/lib/nagios/plugins/check_nagios_db'. The former location
is a must (init script etc uses this - which is wrong in it self, it
should extract the 'nagios_check_command' option if set from the config).
Problem 1c:
The readme states that one should test the new script, but first time
that fails:
aurora:/usr/share/doc/nagios-pgsql# /usr/lib/nagios/plugins/check_nagios_db
Nagios problem: no process identifier found in the database
Database handle destroyed without explicit disconnect.
Also, it's not possible to restart nagios. It segfaults after the
configuration changes. I'll have to dig deeper (I've forgot :) on
why this is happening.
PS: I'm putting this bug as 'important' because I really feel that if there IS
documentation, it _MUST_ be correct. Sure, _I_ can work around it - I have
that experience, but this time I failed and can't fix it immediately... :)
--
congress domestic disruption Ortega nuclear Ft. Bragg Cocaine Clinton
FBI Serbian pits tritium [Hello to all my fans in domestic
surveillance] nitrate bomb genetic
[See http://www.aclu.org/echelonwatch/index.html for more about this]
---------------------------------------
Received: (at 308568-close) by bugs.debian.org; 2 Jul 2005 20:38:22 +0000
>From katie@ftp-master.debian.org Sat Jul 02 13:38:22 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Dooko-00025W-00; Sat, 02 Jul 2005 13:38:22 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1DoofQ-0001lN-00; Sat, 02 Jul 2005 16:32:48 -0400
From: sean finney <seanius@debian.org>
To: 308568-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#308568: fixed in nagios 2:1.3-cvs.20050402-3
Message-Id: <E1DoofQ-0001lN-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 02 Jul 2005 16:32:48 -0400
Delivered-To: 308568-close@bugs.debian.org
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-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-Spam-Level:
X-CrossAssassin-Score: 4
Source: nagios
Source-Version: 2:1.3-cvs.20050402-3
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-3_all.deb
to pool/main/n/nagios/nagios-common_1.3-cvs.20050402-3_all.deb
nagios-mysql_1.3-cvs.20050402-3_i386.deb
to pool/main/n/nagios/nagios-mysql_1.3-cvs.20050402-3_i386.deb
nagios-pgsql_1.3-cvs.20050402-3_i386.deb
to pool/main/n/nagios/nagios-pgsql_1.3-cvs.20050402-3_i386.deb
nagios-text_1.3-cvs.20050402-3_i386.deb
to pool/main/n/nagios/nagios-text_1.3-cvs.20050402-3_i386.deb
nagios_1.3-cvs.20050402-3.diff.gz
to pool/main/n/nagios/nagios_1.3-cvs.20050402-3.diff.gz
nagios_1.3-cvs.20050402-3.dsc
to pool/main/n/nagios/nagios_1.3-cvs.20050402-3.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 308568@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
sean finney <seanius@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@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 02 Jul 2005 12:35:03 -0400
Source: nagios
Binary: nagios-pgsql nagios-text nagios-mysql nagios-common
Architecture: source i386 all
Version: 2:1.3-cvs.20050402-3
Distribution: unstable
Urgency: low
Maintainer: seanius@debian.org
Changed-By: sean finney <seanius@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: 306555 308530 308564 308568 314333 315652 316103
Changes:
nagios (2:1.3-cvs.20050402-3) unstable; urgency=low
.
* Sean Finney:
- compile with --with-file-perfdata (closes: #306555).
- fix a reference from /usr/doc to /usr/share/doc. thanks to
Steve Mynott <steve.mynott@gmail.com> (closes: #308530:).
- documentation fixes in README.pgsql, thanks for this go to
Turbo Fredriksson <turbo@bayour.com> (closes: #308564, #308568).
- don't chmod resource.cfg if it doesn't exist, which would cause
the postinst scripts to fail. thaks to Norbert Tretkowski for
reporting this (leaving bug open for sarge posterity).
- new vietnamese debconf translations from Clytie Siddall
(closes: #315652).
- symlink the online documentation into /usr/share/doc/nagios-common.
thanks to cyril bouthers for the suggestion (closes: #316103).
- don't include /etc/apache/conf.d in nagios-common.dirs, there's
no reason to do so (closes: #314333). thanks to olaf for helping
debug this.
- udpate Standards-Version to 3.6.2.
- use pg_config in debian rules for determining postgres build config.
Files:
1a921c80f8cca82024bc7fa5e8eb2405 1021 net optional nagios_1.3-cvs.20050402-3.dsc
0f92b7b8e705411b7881d3650cbb5d56 1621251 net optional nagios_1.3-cvs.20050402.orig.tar.gz
852b87f66253b8229f33c029d34b2f91 69442 net optional nagios_1.3-cvs.20050402-3.diff.gz
a0397cd244b5797d700b9938f1d3296e 901384 net optional nagios-text_1.3-cvs.20050402-3_i386.deb
4b88f42a212194544aaafc5db7ab8802 906568 net optional nagios-mysql_1.3-cvs.20050402-3_i386.deb
240e24830e4a5c38a703c68197d91b6a 917034 net optional nagios-pgsql_1.3-cvs.20050402-3_i386.deb
97ecdd9b0c7bb6c87e80c919357c5e69 1220554 net optional nagios-common_1.3-cvs.20050402-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCxvNGynjLPm522B0RAtatAJ96m85re+kElabMEqzENWbJWgUMaACfV7Aa
3IqN88v5VtD9IZJgQfoslT8=
=qQs1
-----END PGP SIGNATURE-----