[Pkg-nagios-devel] Bug#282848: marked as done (nagios-mysql: Wrong defaults in conf files)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 17 Feb 2005 10:18:23 -0800


Your message dated Thu, 17 Feb 2005 13:02:19 -0500
with message-id <E1D1pyl-0007hr-00@newraff.debian.org>
and subject line Bug#282848: fixed in nagios 2:1.3-cvs.20050116-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; 24 Nov 2004 22:16:48 +0000
>From olaf@xwis.net Wed Nov 24 14:16:48 2004
Return-path: <olaf@xwis.net>
Received: from (xwis.net) [82.129.40.116] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CX5RQ-0003Fl-00; Wed, 24 Nov 2004 14:16:48 -0800
Received: from olaf by xwis.net with local (Exim 4.34)
	id 1CX5RO-0002JP-PO; Wed, 24 Nov 2004 23:16:47 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Olaf van der Spek <olaf@xwis.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: nagios-mysql: Wrong defaults in conf files
X-Mailer: reportbug 2.63
Date: Wed, 24 Nov 2004 23:16:46 +0100
Message-Id: <E1CX5RO-0002JP-PO@xwis.net>
Delivered-To: submit@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-mysql
Severity: normal

Hi,

I installed nagios-mysql and noticed some errors:
The /var/log/nagios/rw wasn't created automatically
The resource.cfg files contains 
#xdddb_database=somedatabase
#xdddb_username=someuser
#xdddb_password=somepassword
instead of 
#xdddb_database=nagios
#xdddb_username=nagios
#xdddb_password=password
as described in the documentation.

And the install script creates a nagiosadmin user by default, but contacts and contact_groups use just nagios.

It'd also be nice if the install script could set the db/user/pass values automatically.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686-smp
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15

---------------------------------------
Received: (at 282848-close) by bugs.debian.org; 17 Feb 2005 18:08:20 +0000
>From katie@ftp-master.debian.org Thu Feb 17 10:08:20 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 1D1q4a-0000MS-00; Thu, 17 Feb 2005 10:08:20 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1D1pyl-0007hr-00; Thu, 17 Feb 2005 13:02:19 -0500
From: Sean Finney <seanius@debian.org>
To: 282848-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#282848: fixed in nagios 2:1.3-cvs.20050116-3
Message-Id: <E1D1pyl-0007hr-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 17 Feb 2005 13:02:19 -0500
Delivered-To: 282848-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: 2

Source: nagios
Source-Version: 2:1.3-cvs.20050116-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.20050116-3_all.deb
  to pool/main/n/nagios/nagios-common_1.3-cvs.20050116-3_all.deb
nagios-mysql_1.3-cvs.20050116-3_i386.deb
  to pool/main/n/nagios/nagios-mysql_1.3-cvs.20050116-3_i386.deb
nagios-pgsql_1.3-cvs.20050116-3_i386.deb
  to pool/main/n/nagios/nagios-pgsql_1.3-cvs.20050116-3_i386.deb
nagios-text_1.3-cvs.20050116-3_i386.deb
  to pool/main/n/nagios/nagios-text_1.3-cvs.20050116-3_i386.deb
nagios_1.3-cvs.20050116-3.diff.gz
  to pool/main/n/nagios/nagios_1.3-cvs.20050116-3.diff.gz
nagios_1.3-cvs.20050116-3.dsc
  to pool/main/n/nagios/nagios_1.3-cvs.20050116-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 282848@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: Thu, 10 Feb 2005 22:09:43 +0000
Source: nagios
Binary: nagios-pgsql nagios-text nagios-mysql nagios-common
Architecture: source i386 all
Version: 2:1.3-cvs.20050116-3
Distribution: unstable
Urgency: low
Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.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: 260914 282848 288914 290243 292293 295345
Changes: 
 nagios (2:1.3-cvs.20050116-3) unstable; urgency=low
 .
   * Sean Finney:
     - finally a fix for the absolute hrefs in side.html.  thanks to
       Erik Rossen <rossen@prolibre.com> reporting this bug 203 days
       ago (closes: #260914).
     - README.pgsql already contains clarifications on the conf file
       defaults for connecting to RDBMSes.  I updated README.mysql to be
       more clear on this as well thanks to olaf for pointing out
       the discrepancy a while back (closes: #282848).
     - change permissions of update-nagios output to be readable by
       group www-data, as it broke non-setuid cgi scripts.  thanks
       to Joergen Haegg <jorgen.hagg@axis.com> for finding this
       problem (closes: #292293).
     - mkdir /etc/$apache/conf.d, not /etc/$apache/$conf in postinst.
       d'oh.  actually, we shouldn't make that director at all in the
       postscript, but list it as a directory in nagios-common.dirs.
       Thanks to Pierre (didn't get his last name and he sent mail as root)
       for this one (closes: #295345).
     - make absolutely sure that /var/log/nagios/status.log is present
       on the filesystem for nagios-text.  thanks to
       Tobias Krais <krais@bats.ch> for pointing this out (closes: #288914).
     - clarification in the postinst message for when someone chooses
       manual/no configuration of apache and htpasswd doesn't exist.
       thanks to Jamie Wilkinson <jamie@anchor.net.au> (closes: #290243).
     - added checks to prevent dpkg-statoverride from being called on
       files already in the overrides database, and also removing files not
       in the database.
Files: 
 ca70595817711b0a81fc4176b7fe026d 1021 net optional nagios_1.3-cvs.20050116-3.dsc
 fce17cc1c14a3c5b856236d187a6dfe5 76798 net optional nagios_1.3-cvs.20050116-3.diff.gz
 e7362f4a21983e32e1953c0d85c16ed4 901332 net optional nagios-text_1.3-cvs.20050116-3_i386.deb
 2c137390cdfbf2b660f8c90eb61a142a 906498 net optional nagios-mysql_1.3-cvs.20050116-3_i386.deb
 5e6b95df34652eb8f52100df3556ecac 917010 net optional nagios-pgsql_1.3-cvs.20050116-3_i386.deb
 45ab52375dec0e1cca1050aa3d170f5c 1215238 net optional nagios-common_1.3-cvs.20050116-3_all.deb

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

iD8DBQFCFNk9ynjLPm522B0RApm3AJ9GxyMHaATuWV86N55UD7VXELqdjQCePxRR
P3gpTgmkFkLf10FDYV1iIX8=
=EvkW
-----END PGP SIGNATURE-----