[Pkg-nagios-devel] Bug#655064: Please make nagvis work out of the box
Guido Günther
agx at sigxcpu.org
Sun Jan 8 08:53:18 UTC 2012
Package: nagvis
Version: 1:1.4.6-2
Severity: wishlist
Hi,
after installing nagvis I had to make these changes to get it working:
Add these symlinks:
/usr/share/nagvis/htdocs/wui/etc -> /etc/nagvis/
/usr/share/nagvis/htdocs/etc -> /etc/nagvis/
/usr/share/nagvis/htdocs/var -> /var/cache/nagvis
/usr/share/nagvis/htdocs/nagvis/etc/maps -> /etc/nagvis/maps/
/usr/share/nagvis/htdocs/nagvis/etc/nagvis.ini.php -> /etc/nagvis/nagvis.ini.php
/usr/share/nagvis/htdocs/nagvis/templates -> /etc/nagvis/templates
/usr/share/nagvis/htdocs/nagvis/images/maps -> /var/lib/nagvis/images/maps
/usr/share/nagvis/htdocs/nagvis/images/iconsets -> /var/lib/nagvis/images/iconsets/
/usr/share/nagvis/etc/maps -> /etc/nagvis/
Copy /usr/share/nagvis/debian/nagvis.ini.php-sample to /etc/nagvis/ and
set:
[paths]
base="/usr/share/nagvis/htdocs/"
htmlbase="/nagvis"
# For nagios3
htmlcgi="/nagios3/cgi-bin"
Change the path to the configuration file in
/usr/share/nagvis/htdocs/nagvis/includes/defines/global.php to:
// Path to the main configuration file
define('CONST_MAINCFG', 'etc/nagvis.ini.php');
After that the configuration file, templates and css would be found by
nagvis and it's available under:
http://<host>/nagvis/nagvis/index.php
as described in the documentation. I could then copy
/usr/share/doc/nagvis/examples/demo/etc/nagvis/maps/* to
/etc/nagvis/maps to test the installation.
I'd be great if these values would either be set by default or if it
would be otherwise described in README.Debian what to do to get it
running. If the above looks correct I can probably provide a patch.
Cheers,
-- Guido
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-rc7-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
More information about the Pkg-nagios-devel
mailing list