Nagviz on nagios xi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
afamily
Posts: 14
Joined: Tue Mar 09, 2010 9:36 pm

Nagviz on nagios xi

Post by afamily »

Has anyone installed Nagviz on there Nagios XI install? I noticed that ndo was compiled when I installed Nagios XI I wonder if nagviz can share that same database?
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Nagviz on nagios xi

Post by mmestnik »

I have, it worked. We will be producing detailed instructions in the next coming weeks.
afamily
Posts: 14
Joined: Tue Mar 09, 2010 9:36 pm

Re: Nagviz on nagios xi

Post by afamily »

Sweet. I am installing it today. Please let me know when you post your instructions I would like to see what you did and compare to what I had to do. :D
Thanks,
D
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Nagviz on nagios xi

Post by tonyyarusso »

One thing I'll mention for now is that in Nagvis 1.4 all database backends are disabled by default, and you have to select NDO during the install script, while in Nagvis 1.5 a different backend is selected by default, so you have to disable that one and enable NDO. More soon! :)
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
afamily
Posts: 14
Joined: Tue Mar 09, 2010 9:36 pm

Re: Nagviz on nagios xi

Post by afamily »

Okay I have it installed but would like to build it into the nagios xi interface. How far out are you from having a document on this?
Thanks,
Darrell
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Nagviz on nagios xi

Post by tonyyarusso »

Okay I have it installed but would like to build it into the nagios xi interface.
For now the best option for putting it inside of the XI interface is to add a View to the /nagios/nagvis URL. Future versions of XI may have a prettier method.
How far out are you from having a document on this?
Depends on how many more changes the boss man wants. ;)
"Not very" at least - it's quite close to being ready. You can follow the RSS feed of the Library or subscribe to the nagiosxi Twitter or Identi.ca accounts if you'd like a heads-up on new content.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
afamily
Posts: 14
Joined: Tue Mar 09, 2010 9:36 pm

Re: Nagviz on nagios xi

Post by afamily »

That sucks but I understand. ;)
I seem to be having an issue with authentication to it also. What authentication does XI use? Is it htpasswd?
Thanks,
Darrell
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Nagviz on nagios xi

Post by mmestnik »

NagiosXI uses cookies. We are looking into getting Apache to pass on the authentication NagiosXI uses so applications that make use of htpassword/basic-auth will transparently be authenticated.
afamily
Posts: 14
Joined: Tue Mar 09, 2010 9:36 pm

Re: Nagviz on nagios xi

Post by afamily »

Okay got around the authentication issue. Now I'm getting hung on the back end database. Right now here is what I thought I should connect too:

Code: Select all

[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="nagios"
; username for NDO-db
dbuser="nagios"
; password for NDO-db
dbpass="secret" 
; 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"
Please advise on what I should set these too. On a side note why did you guys use two databases a postgres and mysql?
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Nagviz on nagios xi

Post by mmestnik »

I figured this out after a lot of T&E and is unofficial.

Code: Select all

[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="nagios"
; username for NDO-db
dbuser="ndoutils"
; password for NDO-db
dbpass="n@gweb"
; prefix for tables in NDO-db
;dbprefix="nagios_"
; instance name for tables in NDO-db
dbinstancename="localhost"
; maximum delay of the NDO Database in seconds
;maxtimewithoutupdate=180
; path to the cgi-bin of this backend
;htmlcgi="/nagios/cgi-bin"
I don't remember where I got the user or password from.
Locked