[Pkg-nagios-devel] Bug#329348: marked as done (nagios-common: trends.cgi and statusmap.cgi don't display images and can't use ssi files)

Debian Bug Tracking System owner at bugs.debian.org
Mon Sep 26 08:48:31 UTC 2005


Your message dated Mon, 26 Sep 2005 03:13:49 -0400
with message-id <20050926071349.GA4261 at seanius.net>
and subject line Bug#329348: cna't reproduce, actually
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; 21 Sep 2005 09:36:49 +0000
>From ebollengier at sigma.fr Wed Sep 21 02:36:49 2005
Return-path: <ebollengier at sigma.fr>
Received: from mercure-2.sigma.fr [195.25.81.10] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EI121-0004px-00; Wed, 21 Sep 2005 02:36:49 -0700
Received: from localhost (localhost [127.0.0.1])
	by mercure-2.sigma.fr (Postfix) with ESMTP id 8C8F8180D2
	for <submit at bugs.debian.org>; Wed, 21 Sep 2005 11:36:16 +0200 (CEST)
Received: from mercure-2.sigma.fr ([127.0.0.1])
	by localhost (mercure-2 [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 08273-03 for <submit at bugs.debian.org>;
	Wed, 21 Sep 2005 11:36:16 +0200 (CEST)
Received: from unknown (unknown [95.1.8.79])
	by mercure-2.sigma.fr (Postfix) with SMTP id 268271808C
	for <submit at bugs.debian.org>; Wed, 21 Sep 2005 11:35:08 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Eric Bollengier <ebollengier at sigma.fr>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: nagios-common: trends.cgi and statusmap.cgi don't display images and can't
 use ssi files
X-Mailer: reportbug 3.8
Date: Wed, 21 Sep 2005 09:27:18 +0000
Message-Id: <20050921093508.268271808C at mercure-2.sigma.fr>
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at sigma.fr
Delivered-To: submit at 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-Level: 
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

Package: nagios-common
Version: 2:1.3-cvs.20050402-2.sarge.1
Severity: important
Tags: patch


strace on trends.cgi or statusmap.cgi indicate that cgis try to
open nagios images on /usr/share/nagios/images but they are installed on
/usr/share/nagios/htdocs/images

same for ssi files (/usr/share/nagios/htdocs/ssi instead of
/usr/share/nagios/ssi)

for my host fw1 :

export
QUERY_STRING='createimage&t1=1126689674&t2=1127294474&assumeinitialstates=yes&initialassumedstate=0&assumestateretention=yes&host=fw1&backtrack=2&zoom=4'

strace ./trends.cgi 2>&1 > /dev/null

open("/usr/share/nagios/images//trendshost.png", O_RDONLY) = -1 ENOENT
(No such file or directory)

this dirty patch works for me

ln -s /usr/share/nagios/htdocs/images /usr/share/nagios/images
ln -s /usr/share/nagios/htdocs/ssi /usr/share/nagios/ssi

Regards

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11.12-xenU
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nagios-common depends on:
ii  adduser     3.63                         Add and remove users and groups
ii  apache [htt 1.3.33-6                     versatile, high-performance HTTP s
ii  coreutils [ 5.2.1-2                      The GNU core utilities
ii  debconf [de 1.4.30.13                    Debian configuration management sy
ii  mailx       1:8.1.2-0.20040524cvs-4      A simple mail user agent
ii  nagios-plug 1.4-6                        Plugins for the nagios network mon
ii  nagios-text 2:1.3-cvs.20050402-2.sarge.1 A host/service/network monitoring

-- debconf information:
* nagios/adminpassword: (password omitted)
* nagios/wwwsuid: true
  nagios/upgradefromnetsaint:
* nagios/configapache: Apache


---------------------------------------
Received: (at 329348-done) by bugs.debian.org; 26 Sep 2005 07:14:21 +0000
>From seanius at seanius.net Mon Sep 26 00:14:21 2005
Return-path: <seanius at seanius.net>
Received: from dsl092-235-113.phl1.dsl.speakeasy.net (sativa.seanius.net) [66.92.235.113] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EJnBt-0003Q0-00; Mon, 26 Sep 2005 00:14:21 -0700
Received: by sativa.seanius.net (Postfix, from userid 1000)
	id CF2FE15834; Mon, 26 Sep 2005 03:13:49 -0400 (EDT)
Date: Mon, 26 Sep 2005 03:13:49 -0400
From: sean finney <seanius at debian.org>
To: BOLLENGIER Eric <ebollengier at sigma.fr>
Cc: 329348-done at bugs.debian.org
Subject: Re: Bug#329348: cna't reproduce, actually
Message-ID: <20050926071349.GA4261 at seanius.net>
References: <20050924125207.GA14957 at seanius.net> <200509260838.55657.ebollengier at sigma.fr>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW"
Content-Disposition: inline
In-Reply-To: <200509260838.55657.ebollengier at sigma.fr>
User-Agent: Mutt/1.5.5.1+cvs20040105i
Delivered-To: 329348-done at 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-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


--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi eric,

On Mon, Sep 26, 2005 at 08:38:55AM +0200, BOLLENGIER Eric wrote:
> Oups, sorry, i'm always starting from my default "old" config.
> it's works better with the good option !
>=20
> Thanks you for your help.

no problem :)

closing the bug then.


	sean

--ew6BAiZeqk4r7MaW
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFDN5+tynjLPm522B0RAnU9AJ97wdN3exUsD/8mkGGzlaRckagKNwCcCzfC
83vrNnOTaCfTLD0/IX6pkeU=
=7LUU
-----END PGP SIGNATURE-----

--ew6BAiZeqk4r7MaW--



More information about the Pkg-nagios-devel mailing list