Performance graphs not loading since 1.8 upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Malcz86
Posts: 27
Joined: Thu Mar 17, 2011 11:17 am

Performance graphs not loading since 1.8 upgrade

Post 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?
NagiosXI 2011R1.9
CentOs 5.4
32bit
VMWare Image
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Performance graphs not loading since 1.8 upgrade

Post by agriffin »

Is npcd running? What happens if you run the following command?

Code: Select all

service npcd start
tgfde
Posts: 233
Joined: Thu May 12, 2011 7:55 am

Re: Performance graphs not loading since 1.8 upgrade

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

Re: Performance graphs not loading since 1.8 upgrade

Post 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?
tgfde
Posts: 233
Joined: Thu May 12, 2011 7:55 am

Re: Performance graphs not loading since 1.8 upgrade

Post by tgfde »

Yes, local DNS to access NagiosXI server.

tgfde
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Performance graphs not loading since 1.8 upgrade

Post 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.
User avatar
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

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

Re: Performance graphs not loading since 1.8 upgrade

Post 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/
User avatar
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

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Performance graphs not loading since 1.8 upgrade

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