Instance name "default" in backend "ndomy1" is not valid.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nagvis (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: nagvis
When you install nagios3/
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/
; 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=
; maximum delay of the NDO Database in seconds
maxtimewithoutu
; path to the cgi-bin of this backend
htmlcgi=
You also have to set ENABLE_NDOUTILS=1 in /etc/default/ ndoutils and configure NDOUtils as a broker in Nagios as per Configure as per /usr/share/ doc/ndoutils- nagios3- mysql/README. Debian . Restart everything and then it should start dumping into the DB and burst into life.
Another gotcha is the default database name and username/password combo for NDOUtils and NagVis differ, so if you just okay through the dialogs, as I did at first, then NagVis can't talk to the NDOUtils DB either.