Public bug reported:

Binary package hint: nagvis

 When you install nagios3/ndoutils/nagvis/mysql together, nagvis cant
connect to the DB with the normal default settings.  This should work
out of the box, but errors due to a unconfigured nagvis.ini.php.

Error: "Instance name "default" in backend "ndomy1" is not valid."

The install doesnt have a configure script, so you have to configure
manually to generic defaults, but it still errors.

Edit file - /etc/nagvis/nagvis.ini.php

; in this example the ID of the Backend is "ndomy_1" you can define another ID.
[backend_ndomy_1]
; type of backend - MUST be set
backendtype="ndomy"
; hostname for NDO-db
dbhost=localhost
; portname for NDO-db
dbport=3306
; database name for NDO-db
dbname=ndoutils
; username for NDO-db
dbuser=root
; password for NDO-db
dbpass=XXXXX
; prefix for tables in NDO-db
dbprefix="nagios_"
; instance name for tables in NDO-db
dbinstancename="default"
; maximum delay of the NDO Database in seconds
maxtimewithoutupdate=180
; path to the cgi-bin of this backend
htmlcgi="/nagios/cgi-bin"

** Affects: nagvis (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: nagios nagvis ndoutils

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/776039

Title:
  Instance name "default" in backend "ndomy1" is not valid.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to