no performance graphs for any service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lyle
Posts: 158
Joined: Sun Nov 21, 2010 3:05 am

Re: no performance graphs for any service

Post by lyle »

Thanks for the reply, Rene.

I've upgraded to 2011.R1.1 at your suggestion, but no change in the problem.

The machines I'm testing this on have minimal load, so I'm not hitting the limit you refer to. But that's good to know for the future.

I'll look forward to some more suggestions from the Team to try on Monday. I really need to get this going.

...Lyle
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: no performance graphs for any service

Post by rdedon »

Hello Lyle,
can you bring this up to see if graphs are generating at all?

http://[serverIP]/nagios/pnp/

Thank you
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: no performance graphs for any service

Post by mguthrie »

Hey Lyle,

Are you running SSL or a proxy on your server?

Have you removed or changed the name of the nagiosadmin user?
lyle
Posts: 158
Joined: Sun Nov 21, 2010 3:05 am

Re: no performance graphs for any service

Post by lyle »

Thanks for the replies, Guys.

In answer to your questions:
- http://<ip address>/nagiosxi/pnp/ gives me 404 Not Found
- the nagiosadmin account hasn't been changed (I don't think), and I can log in to it using the default password
- ssl or proxy on the server? you mean on the underlying OS? My browser is not specifying any proxy to get to the NagiosXI server. I access the server with http://<ip address/nagiosxi/ and not https

After reading the recent related thread, I rebooted just to be sure, but no change. Still don't see any graphs.

...Lyle
lyle
Posts: 158
Joined: Sun Nov 21, 2010 3:05 am

Re: no performance graphs for any service

Post by lyle »

When the XI web interface requests a graph, should it be a file I can see in the filesystem somewhere?

Is there any log of this process? Can I up the debugging level to see it better?

How would I generate a graph by hand?

I'm just fishing around here. Any suggestions are welcome. I have to get this running.

Thanks....Lyle
lomartin
Posts: 5
Joined: Mon Mar 07, 2011 1:47 pm

Re: no performance graphs for any service

Post by lomartin »

This is what i get from the url http://[serverIP]/nagios/pnp/

I thought it interesting that it refers to the site as http://www.google.com???

Still no performance graphs...
nagios_pnp.jpg
You do not have the required permissions to view the files attached to this post.
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: no performance graphs for any service

Post by rdedon »

lyle wrote:Thanks for the replies, Guys.

In answer to your questions:
- http://<ip address>/nagiosxi/pnp/ gives me 404 Not Found
- the nagiosadmin account hasn't been changed (I don't think), and I can log in to it using the default password
- ssl or proxy on the server? you mean on the underlying OS? My browser is not specifying any proxy to get to the NagiosXI server. I access the server with http://<ip address/nagiosxi/ and not https

After reading the recent related thread, I rebooted just to be sure, but no change. Still don't see any graphs.

...Lyle
Please use http://<ip address>/nagios/pnp/ (instead of nagiosxi) I make this error as well quite frequently as well. By doing this I want to see if anything is being generated to hone down which direction we should take.

Thanks!
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
lomartin
Posts: 5
Joined: Mon Mar 07, 2011 1:47 pm

Re: no performance graphs for any service

Post by lomartin »

I also notice now that nothing has changed in the perfdata directories since I patched back on Feb 28...
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: no performance graphs for any service

Post by mguthrie »

lomartin, if nothing has been written to your perfdata directories since the upgrade then here are some probable causes:

The graphing service may not be running:

Code: Select all

service npcd restart
Check the permissions on the /usr/local/nagios/share/perfdata directory.
Do your permissions look like this?

Code: Select all

[root@localhost perfdata]# ls -l
total 76
drwxrwxrwx 2 nagios nagios 4096 Mar 15 04:46 192.168.5.32
drwxrwxrwx 2 nagios nagios 4096 Mar 15 04:46 192.168.5.42
drwxrwxrwx 2 nagios nagios 4096 Mar  2 00:20 192.168.5.64
drwxrwxrwx 2 nagios nagios 4096 Mar 15 04:46 Defaut_Gateway
drwxrwxrwx 2 nagios nagios 4096 Mar 15 04:45 Down_Host
drwxrwxrwx 2 nagios nagios 4096 Mar 15 04:47 localhost

Do the directories have rrd and xml files for each service with performance data?

Run the /usr/local/nagiosxi/scripts/reset_config_perms script to make sure all of your config permissions are ok.
lomartin
Posts: 5
Joined: Mon Mar 07, 2011 1:47 pm

Re: no performance graphs for any service

Post by lomartin »

I found my particular problem and maybe it will help you as well. I found that in nagios.cfg the service_perfdata_file_processing_command was set to "process-service-perfdata-file-bulk". I went into the core configuration manager and found no such command. The only thing I saw close was "process-service-perfdata-file-pnp-bulk". I changed this in the cfg file, restarted, and I am now back in business. Something in the upgrade process either modified the command or the cfg file incorrectly. I also found this to be true for host_perfdata_file_processing_command which I changed as well.
Locked