Performance graphs not loading since 1.8 upgrade
Performance graphs not loading since 1.8 upgrade
Upgraded to 1.8 yesterday and since then no performance graphs are loading. Just get the graph title and the loading circle. Any ideas?
NagiosXI 2011R1.9
CentOs 5.4
32bit
VMWare Image
CentOs 5.4
32bit
VMWare Image
Re: Performance graphs not loading since 1.8 upgrade
Is npcd running? What happens if you run the following command?
Code: Select all
service npcd startRe: Performance graphs not loading since 1.8 upgrade
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
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
Are either of you using any of the following on the install?
- Proxy?
- SSL?
- NAT?
- A local DNS entry to access the XI server?
- Proxy?
- SSL?
- NAT?
- A local DNS entry to access the XI server?
Re: Performance graphs not loading since 1.8 upgrade
Yes, local DNS to access NagiosXI server.
tgfde
tgfde
Re: Performance graphs not loading since 1.8 upgrade
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.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Performance graphs not loading since 1.8 upgrade
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
Nagios XI 2011 R1.7 VM upgraded to 1.8 running on ESXi 4.1.
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
Last edited by Box293 on Wed Nov 16, 2011 4:36 pm, edited 1 time in total.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Performance graphs not loading since 1.8 upgrade
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/- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Performance graphs not loading since 1.8 upgrade
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.
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Performance graphs not loading since 1.8 upgrade
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?
What do you have defined in the Admin->System Settings page for the Nagios XI URL?