Page 1 of 2
Not working performance graphs
Posted: Fri Dec 24, 2010 7:57 am
by vrouwerfq
We're very interested in Nagios XI, thats why we downloaded a trial version of XI.
I configured the VM yesterday in our ESX 4.1 environment, everything works fine.
Now the day after he won't show me the performance grapsh anymore of any items. See screenshot.
Begin this year I tried te same as yesterday and I can remember that I had exactly the same problem.
I hope that someone can tell me why we have this problem everytime with a trial version of XI.
We're really interested to buy this product but offcourse without malfunctions
Quirinus
nagios.JPG
Re: Not working performance graphs
Posted: Mon Dec 27, 2010 8:37 am
by mocjack
I have the same issue with my install. The details tab of each host shows that data is being accessed, but all graphs are blank.
Re: Not working performance graphs
Posted: Mon Dec 27, 2010 4:33 pm
by mguthrie
After a fresh install you need to go to the Admin->Reset Security Credentials and update the credentials for the backend components. That should fix the graphs. If not try running:
/usr/local/nagiosxi/scripts/reset_config_perms to verify that all of your files have the correct permissions.
Re: Not working performance graphs
Posted: Fri Jan 07, 2011 2:37 am
by vrouwerfq
I've tried to reset the security credentials, the graphs worked again for about a hour.
Than i tried to run the script, after running the graphs it stil won't work. After this i tried yesterday again to reset the security credentials and now the graphs are still working. So i think this is the solution, first run the script and than change the credentials.
Thanks for your help!
Re: Not working performance graphs
Posted: Fri Jan 07, 2011 10:36 am
by mguthrie
Glad it's working for you!
Re: Not working performance graphs
Posted: Mon Jan 17, 2011 6:02 am
by sergiopf
I've got the same problem with my installation.
Every morning i've got to reset credentials because contents of /usr/local/nagiosxi/etc/htpasswd.users have changed.
I've set an audit rule to this file and to /usr/bin/htpasswd to log who pid and when changes this file.
Any help?
Thanks in advance
Sergio
Re: Not working performance graphs
Posted: Mon Jan 17, 2011 7:05 am
by sergiopf
I've got more debug info.
When I reset security credentials htpasswd is called this way:
/usr/bin/htpasswd -b /usr/local/nagiosxi/etc/htpasswd.users nagiosadmin [***Nagios Core Backend Password***]
With "Nagios Core Backend Password" as defined in Security Credentials Form, at this point everything is working fine.
From time to time (i can't guess what launches this) htpasswd is called like this.
/usr/bin/htpasswd -b /usr/local/nagiosxi/etc/htpasswd.users nagiosadmin [***New Config Manager Admin Password***]
When this happens I lost all my performance graphs.
Re: Not working performance graphs
Posted: Mon Jan 17, 2011 3:35 pm
by admin
This sounds like it might be an old bug. What version of Nagios XI are you running now and what version did you originally start using (when you first downloaded it)?
Re: Not working performance graphs
Posted: Tue Jan 18, 2011 4:39 am
by sergiopf
Sorry, I'm using Nagios XI 2009R1.3G on Red Hat EL5 32bits and it was a manual install.
Edit: Also I can't log in into Nagios Core until i reset security credentials.
Thanks
Re: Not working performance graphs
Posted: Tue Jan 18, 2011 10:38 am
by mguthrie
Are you using non-alphanumeric characters in your password? Some users have reported that switching their password to alpha-numeric only characters made this problem go away. Give that a try and let us know if it works so we can confirm that or not.
The nagiosadmin password for the core interface can be set either from the Reset Security Credentials page, or from the command-line:
Code: Select all
/usr/bin/htpasswd -b /usr/local/nagiosxi/etc/htpasswd.users nagiosadmin [newpassword]
You can also use the above method to give additional users access to the core interface. Nagios Core uses Apache authentication, while XI uses session based auth.