Nagviz on nagios xi
-
- Posts: 14
- Joined: Tue Mar 09, 2010 9:36 pm
Nagviz on nagios xi
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?
-
- Posts: 972
- Joined: Mon Feb 15, 2010 2:23 pm
Re: Nagviz on nagios xi
I have, it worked. We will be producing detailed instructions in the next coming weeks.
-
- Posts: 14
- Joined: Tue Mar 09, 2010 9:36 pm
Re: Nagviz on nagios xi
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.
Thanks,
D

Thanks,
D
-
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
Re: Nagviz on nagios xi
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! 

-
- Posts: 14
- Joined: Tue Mar 09, 2010 9:36 pm
Re: Nagviz on nagios xi
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
Thanks,
Darrell
-
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
Re: Nagviz on nagios xi
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.Okay I have it installed but would like to build it into the nagios xi interface.
Depends on how many more changes the boss man wants.How far out are you from having a document on this?

"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.
-
- Posts: 14
- Joined: Tue Mar 09, 2010 9:36 pm
Re: Nagviz on nagios xi
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

I seem to be having an issue with authentication to it also. What authentication does xi use? Is it htpasswd?
Thanks,
Darrell
-
- Posts: 972
- Joined: Mon Feb 15, 2010 2:23 pm
Re: Nagviz on nagios xi
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.
-
- Posts: 14
- Joined: Tue Mar 09, 2010 9:36 pm
Re: Nagviz on nagios xi
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:
Please advise on what I should set these too. On a side note why did you guys use two databases a postgres and mysql?
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"
-
- Posts: 972
- Joined: Mon Feb 15, 2010 2:23 pm
Re: Nagviz on nagios xi
I figured this out after a lot of T&E and is unofficial.
I don't remember where I got the user or password from.
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"