Page 1 of 3
Nagiosxi login issues
Posted: Fri Jan 22, 2010 11:43 am
by skatta
I have successfully installed nagiosxi and nagios core on RHEL5.4 using manual installation instructions. When I logged in first time, it displayed username/password/email etc fields.
When I tried logging in using the credentials specified, it displays "Username or password incorrect".
When I tried changing password, it cannot email to "root@localhost".
Please indicate where is the login information stored and how can it be modified?
Thanks
Re: Nagiosxi login issues
Posted: Mon Jan 25, 2010 7:17 am
by egalstad
The username/password is stored in a Postgres database, with the password being stored as an MD5 hash of the plaintext password. We'll write a quick utility to reset it from the command line and post a message back to this thread when its ready.
Re: Nagiosxi login issues
Posted: Mon Jan 25, 2010 8:07 am
by admin
Attached is a simple script that will change the nagiosadmin login password from the command line.
1. Extract it to /usr/local/nagiosxi/scripts
2. Run it like this:
cd /usr/local/nagiosxi/scripts
php ./reset_nagiosadmin_password.php --password=<newpassword>
That should do it!
Re: Nagiosxi login issues
Posted: Mon Jan 25, 2010 9:08 am
by skatta
Thank you for the quick script. After logging in, it still shows the same login page. Does that mean my nagiosxi installation was not successful? Where are the log files located for nagiosxi?
The nagios core functionality is running normally.
Cannot log in
Posted: Mon Jan 25, 2010 3:14 pm
by dhobbs
I've tried using both the VMWare image and also the manual installation method and in both cases I can get to the screen where I set the nagiosadmin email address and password but after that when i get to the actualy login screen, I enter the nagiosadmin username and the password I specified but when I click on the Login but it just refreshes the page and does not log me in.
Am I missing something?
Re: Cannot log in
Posted: Tue Jan 26, 2010 6:04 pm
by admin
What browser are you running? It could be a browser-specific bug that is causing this issue for you.
Re: Nagiosxi login issues
Posted: Tue Jan 26, 2010 8:41 pm
by egalstad
If I understand correctly, you try and login and it just redirects you back to the login screen? Could be two problems:
1. your browser isn't allowing cookies, which will break the session logic
2. your browser might not be processing something properly
When you get redirected back to the login page do you get a red error message, or a green/blue success/info message?
Re: Nagiosxi login issues
Posted: Wed Jan 27, 2010 10:28 am
by skatta
When I login to nagiosxi, it redirects back to same login page without any red/green error messages. The URL upon logging in says
"
http://linuxmon.bloomberg.com/nagiosxi/ ... dex.php%3f"
I have tested it on IE 6.0 and Firefox 3.0.12.
Re: Cannot log in
Posted: Wed Jan 27, 2010 11:06 am
by dhobbs
I'm using IE8 and cannot login however, if I install Firefox 3 I can log in with no issues.
Is there a fix for this and if not is there one coming soon?
Re: Cannot log in
Posted: Wed Jan 27, 2010 5:49 pm
by admin
Thanks for the report! We tested the UI in IE6 and IE7 without problems. We'll install IE8 and see what we can come up for a fix. IE is sometimes (often) problematic with its browser bugs, so I wouldn't be surprised if there are other issues we encounter.
