Not working performance graphs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
vrouwerfq
Posts: 3
Joined: Fri Dec 24, 2010 7:34 am

Not working performance graphs

Post 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
You do not have the required permissions to view the files attached to this post.
mocjack
Posts: 31
Joined: Fri Dec 17, 2010 10:06 am

Re: Not working performance graphs

Post 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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Not working performance graphs

Post 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.
vrouwerfq
Posts: 3
Joined: Fri Dec 24, 2010 7:34 am

Re: Not working performance graphs

Post 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!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Not working performance graphs

Post by mguthrie »

Glad it's working for you!
sergiopf
Posts: 7
Joined: Mon Dec 20, 2010 9:34 am

Re: Not working performance graphs

Post 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
sergiopf
Posts: 7
Joined: Mon Dec 20, 2010 9:34 am

Re: Not working performance graphs

Post 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.
User avatar
admin
Site Admin
Posts: 256
Joined: Mon Oct 12, 2009 8:21 am

Re: Not working performance graphs

Post 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)?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Ethan Galstad
President
sergiopf
Posts: 7
Joined: Mon Dec 20, 2010 9:34 am

Re: Not working performance graphs

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Not working performance graphs

Post 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.
Locked