[Pkg-nagios-devel] Bug#329348: nagios-common: trends.cgi and
statusmap.cgi don't display images and can't use ssi files
Eric Bollengier
ebollengier at sigma.fr
Wed Sep 21 09:27:18 UTC 2005
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
More information about the Pkg-nagios-devel
mailing list