I have a interesting situation. I have installed a fresh nagiosxi installation then proceeded to install nagvis from the instructions listed on your website here. http://library.nagios.com/library/produ ... -nagios-xi I am using the latest development release and when i try to login via http://192.168.1.200/nagios/nagvis It does not accept my user name and password that i set for nagios xi.
I know at the end of the instructions it says i need to re-authenticate and login am I doing something wrong here?
Nagvis
-
- Posts: 70
- Joined: Fri Jan 22, 2010 11:30 am
[devel-snapshot] The username databases.
Im not having issues installing or doing the 1.2upgrade. All of that appears to work just fine for me but when i try to log into the nagvis install via http://*SERVERADDRESS*/nagios/nagvis I cannot login with my nagiosxi username and password. I checked the nagvis website and they had a few suggestions for this issue and i have tried them but they seemed to only cause more issues and still not let me log in. anyone else get this?
-
- Posts: 70
- Joined: Fri Jan 22, 2010 11:30 am
Re: Nagvis
Also it appears to be causing another issue. I know nagvis uses ndoutils and it appears it is changing something with my configs. Because once i try to install nagvis and attempt to access it i lose all of my performance graphs if i fail to log into nagvis. They appear to be fine until i try to log into nagvis and it fails and denies me access.
If I had some stronger linux foo I would be able to better describe this or figure out a way to fix the issue But the best i have been able to do is look around at all of the config files and shell scripts and I havn't been able to figure anything out yet.
If I had some stronger linux foo I would be able to better describe this or figure out a way to fix the issue But the best i have been able to do is look around at all of the config files and shell scripts and I havn't been able to figure anything out yet.
-
- Posts: 972
- Joined: Mon Feb 15, 2010 2:23 pm
Re: [devel-snapshot] The username databases.
The big change in 1.2, for this anyway, is that the user database is replicated into an htaccess file. I don't have any information on when this is done, but try changing your password 

-
- Posts: 70
- Joined: Fri Jan 22, 2010 11:30 am
Re: [devel-snapshot] The username databases.
Tried that I also tried creating a new user and login it with no luck. Where would the htaccess file be located? I tried this http://www.nagvis.org/docs/general/faq#anchor2 by creating a new htaccess file and adding the SetEnv REMOTE_USER nagiosusername entry to disable authentication but it didn't seem to work would i maybe need to change the htaccess file that the 1.2 install created?mmestnik wrote:The big change in 1.2, for this anyway, is that the user database is replicated into an htaccess file. I don't have any information on when this is done, but try changing your password
-
- Posts: 972
- Joined: Mon Feb 15, 2010 2:23 pm
Re: [devel-snapshot] The username databases.
I'll have to take a look. Should be easy to find looking at your Apache config and running "find -name .htaccess" it will be a file with htpasswd in the name.
Have you looked at the Apache logs?
Have you looked at the Apache logs?
-
- Posts: 972
- Joined: Mon Feb 15, 2010 2:23 pm
Re: [devel-snapshot] The username databases.
Did you find it?
/usr/local/nagiosxi/etc/htpasswd.users
As listed in ./conf.d/nagios.conf
You may need to configure Nagvis to use the same file, if we didn't provide a script to do so. Tony should be here in just a bit and he will know more.
/usr/local/nagiosxi/etc/htpasswd.users
As listed in ./conf.d/nagios.conf
You may need to configure Nagvis to use the same file, if we didn't provide a script to do so. Tony should be here in just a bit and he will know more.
-
- Posts: 972
- Joined: Mon Feb 15, 2010 2:23 pm
Re: [devel-snapshot] The username databases.
There is a bug here where the AuthName's don't match.
http://go.nagios.com/tracker/43
http://go.nagios.com/tracker/43
-
- Posts: 70
- Joined: Fri Jan 22, 2010 11:30 am
Re: [devel-snapshot] The username databases.
Yes i did find it eventually. The biggest problem I'm really facing now is that after i attempted to install nagvis It killed all of our performance graphs could this also be caused by the usernames not matching? and is there a way i can change the config files so they match so that i can login nagvis.
-
- Posts: 972
- Joined: Mon Feb 15, 2010 2:23 pm
Re: [devel-snapshot] The username databases.
I'm not sure what you mean. These are manageable via /usr/bin/htpasswd. This file is an Apache config file, so there will be lots of documentation floating around Google on how to work with this file.
There are even on-line tools for generating these, though I'd stick to the ones that use JavaScript. Unlike this example:
http://www.htaccesstools.com/htpasswd-generator/
There are even on-line tools for generating these, though I'd stick to the ones that use JavaScript. Unlike this example:
http://www.htaccesstools.com/htpasswd-generator/