Page 1 of 2

Nagviz on nagios xi

Posted: Thu Mar 11, 2010 8:08 pm
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?

Re: Nagviz on nagios xi

Posted: Sat Mar 13, 2010 7:34 pm
by mmestnik
I have, it worked. We will be producing detailed instructions in the next coming weeks.

Re: Nagviz on nagios xi

Posted: Mon Mar 15, 2010 8:07 am
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

Re: Nagviz on nagios xi

Posted: Tue Mar 16, 2010 1:40 pm
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! :)

Re: Nagviz on nagios xi

Posted: Mon Apr 05, 2010 4:01 pm
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

Re: Nagviz on nagios xi

Posted: Thu Apr 08, 2010 11:19 am
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.

Re: Nagviz on nagios xi

Posted: Mon Apr 12, 2010 9:52 am
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

Re: Nagviz on nagios xi

Posted: Mon Apr 12, 2010 10:05 am
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.

Re: Nagviz on nagios xi

Posted: Mon Apr 12, 2010 3:21 pm
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?

Re: Nagviz on nagios xi

Posted: Mon Apr 12, 2010 4:48 pm
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.