Page 1 of 1

NagVis default admin account

Posted: Mon Feb 24, 2014 12:25 pm
by jwelch
I followed the instructions in the 'Nagios XI - Integrating NagVis' document on my Nagios XI 2012R2.9 system.
I can access NagVis using the NagVis link on the Nagios XI menu and see the default maps, but I can't manage users or edit maps.
I can access the http://myserver.mydomain/nagvis/frontend/wui/index.php page, but it also has no edit/manage capability.
(my userid is configured as a Nagios XI admin.)
Is there a default admin account I can use to setup my access for my login? Or is there a way to configure the sqlite db manually?

Re: NagVis default admin account

Posted: Mon Feb 24, 2014 12:28 pm
by abrist
You may be required to edit the maps as the actual nagiosadmin account.

Re: NagVis default admin account

Posted: Mon Feb 24, 2014 1:38 pm
by jwelch
Hmmm...we changed the password for our nagiosadmin account. As I understand it, NavVis uses it's own authentication db.
I wasn't able to login to NagVis using the current nagiosadmin pw or the original (from memory, so I'll have to double check that).

Re: NagVis default admin account

Posted: Mon Feb 24, 2014 1:55 pm
by lmiltchev
NagVis uses basic auth, and will use whatever you have in the "/usr/local/nagiosxi/etc/htpasswd.users". Make sure you logged in at least once into Nagios XI as "nagiosadmin" (with the new password). Then try logging in NagVis as "nagiosadmin".

Re: NagVis default admin account

Posted: Mon Feb 24, 2014 3:04 pm
by jwelch
That was it. I'd changed the CCM password (I forget exactly how), but not the password in the local hash file. Once I did that I was able to login to NagVis as nagiosadmin.
Thanks!

Re: NagVis default admin account

Posted: Mon Feb 24, 2014 3:09 pm
by tmcdonald
I'll be locking this up now, feel free to open another thread if you need to.