Page 1 of 2
Performance graphs not loading since 1.8 upgrade
Posted: Wed Nov 02, 2011 4:19 am
by Malcz86
Upgraded to 1.8 yesterday and since then no performance graphs are loading. Just get the graph title and the loading circle. Any ideas?
Re: Performance graphs not loading since 1.8 upgrade
Posted: Wed Nov 02, 2011 11:24 am
by agriffin
Is npcd running? What happens if you run the following command?
Re: Performance graphs not loading since 1.8 upgrade
Posted: Fri Nov 04, 2011 3:16 pm
by tgfde
I had the same thing but I figured it's because 1.8 runs on CentOS 6.0 not 5.6.
I am not trying to figure out how to migrate from 1.2 to a new install of Nagios R1.8 ( VM image).
tgfde
Re: Performance graphs not loading since 1.8 upgrade
Posted: Fri Nov 04, 2011 4:41 pm
by mguthrie
Are either of you using any of the following on the install?
- Proxy?
- SSL?
- NAT?
- A local DNS entry to access the XI server?
Re: Performance graphs not loading since 1.8 upgrade
Posted: Wed Nov 09, 2011 3:59 pm
by tgfde
Yes, local DNS to access NagiosXI server.
tgfde
Re: Performance graphs not loading since 1.8 upgrade
Posted: Wed Nov 09, 2011 4:28 pm
by mguthrie
Make sure that DNS entry is also defined on the Nagios XI's /etc/hosts file, if it's not in there that could be the issue.
Re: Performance graphs not loading since 1.8 upgrade
Posted: Tue Nov 15, 2011 7:20 pm
by Box293
I am also getting the same problem (loading circle) when I access the server via a DNS name.
When I access it via IP Address it works fine (graphs appear).
I've tried editing the /etc/hosts file but this did not fix the problem.
I also ran the command
service npcd restart each time after editing the hosts file.
I tried these combinations in the hosts file
Code: Select all
127.0.0.1 vault23.vault.local vault23
192.168.100.64 vault23.vault.local vault23
192.168.100.64 localhost.localdomain localhost
Nagios XI 2011 R1.7 VM upgraded to 1.8 running on ESXi 4.1.
Re: Performance graphs not loading since 1.8 upgrade
Posted: Wed Nov 16, 2011 10:16 am
by mguthrie
It appears that the 1.8 release created a permissions issue for some users, from what we can tell the following command should take care of it.
Code: Select all
chmod -R +x /usr/local/nagios/share/perfdata/
Re: Performance graphs not loading since 1.8 upgrade
Posted: Wed Nov 16, 2011 4:43 pm
by Box293
That command didn't make any difference however ...
When I access the server as "http://192.168.100.64/nagiosxi" the graphs appear OK.
When I access the server as "http://vault23/nagiosxi" the graphs appear OK.
When I access the server as "http://vault23.vault.local/nagiosxi" the loading circle appears.
This is with NO entries in /etc/hosts OR with entries as described in previous post.
Re: Performance graphs not loading since 1.8 upgrade
Posted: Wed Nov 16, 2011 5:58 pm
by mguthrie
The performance graphs build the URL based on what apache returns as the $_SERVERNAME variable. If it doesn't find a name, it reverts to an IP address. Does it work when you add the vault23.vault.local to the /etc/hosts?
What do you have defined in the Admin->System Settings page for the Nagios XI URL?