[Pkg-nagios-devel] Bug#611909: No "gadget"-Path in nagvis.ini.php results in ajax-erros.

Jens Ritter ritter at mitegro.de
Thu Feb 3 16:06:28 UTC 2011

Package: nagvis
Version: 1:1.4.6-1.1
Severity: important

The WUI ( Editor ) can't create new services,hosts, etc. with the default-configuration.

Error-Message: opendir(/usr/share/nagvis/htdocs/nagvis/gadgets/): failed to open dir

After adding 


to nagvis.ini.php it is working.

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nagvis depends on:
ii  dbconfig-common              1.8.46      common framework for packaging dat
ii  debconf [debconf-2.0]    Debian configuration management sy
ii  graphviz                     2.26.3-5    rich set of graph drawing tools
ii  libapache2-mod-php5          5.3.3-7     server-side, HTML-embedded scripti
ii  php5-common                  5.3.3-7     Common files for packages built fr
ii  php5-gd                      5.3.3-7     GD module for php5
ii  php5-mysql                   5.3.3-7     MySQL module for php5
ii  ucf                          3.0025+nmu1 Update Configuration File: preserv

Versions of packages nagvis recommends:
ii  nagios3                       3.2.1-2    A host/service/network monitoring 
ii  ndoutils-nagios3-mysql [ndout 1.4b9-1.1  This provides the NDOUtils for Nag

nagvis suggests no packages.

-- debconf information:
  nagvis/db/dbname: ndoutils
  nagvis/db/app-user: ndoutils
  nagvis/missing-db-package-error: abort
  nagvis/mysql/method: unix socket
  nagvis/internal/skip-preseed: false
  nagvis/install-error: abort
  nagvis/dbconfig-reinstall: false
  nagvis/database-type: mysql
  nagvis/purge: false
  nagvis/dbconfig-install: true
  nagvis/upgrade-error: abort
  nagvis/internal/reconfiguring: false
  nagvis/upgrade-backup: true
  nagvis/remove-error: abort
  nagvis/mysql/admin-user: root
  nagvis/dbconfig-upgrade: true
-------------- next part --------------
--- nagvis.ini.php.orig	2011-02-03 16:59:30.000000000 +0100
+++ nagvis.ini.php.patched	2011-02-03 17:00:01.000000000 +0100
@@ -39,6 +39,7 @@
 ; absolute html NagVis cgi path
 ; Default values which get inherited to the maps and its objects

More information about the Pkg-nagios-devel mailing list