Page 1 of 2

Performance Graphs Not Graphing

Posted: Mon May 09, 2011 10:46 am
by rredmond
Well this is a weird one. I just got word that our performance graphs arent graphing. All of them. I checked my dashboard and sure enough, I have graphs...they are there....but there is no data. Checked the "week" view on several graphs and the graphs drop off after midnight on 5/2! No changes that Im aware of tho I did add some monitoring users around then. Could my logs be full????? I checked drive space and that looks ok. Not sure what else would cause something like this. Lot of posts about missing graphs that didnt seem to pertain to this one. Please advise.............

Re: Performance Graphs Not Graphing

Posted: Mon May 09, 2011 10:48 am
by mguthrie
Lets try restarting your graphing service.

service npcd restart

Also, if your CPU load exceeds 10.0, the graphing service will also stop until CPU load goes down.

Re: Performance Graphs Not Graphing

Posted: Mon May 09, 2011 10:51 am
by rredmond
Definitely not CPU as it has been like this for 6 days apparently and I have no warnings for anything that high. As for the command, executed it and it did say that NPCD was NOT running and was started. Ill give that a few minutes and see if that does it. What service is that???

Re: Performance Graphs Not Graphing

Posted: Mon May 09, 2011 11:24 am
by mguthrie
npcd is the daemon underneath that processes performance data. The Admin->System Component Status (dashlet) has indicators for each of the subsystem processes. It should indicate of any of the processes underneath are having problems. You can also restart the graphing service from this dashlet.

Re: Performance Graphs Not Graphing

Posted: Mon May 09, 2011 12:20 pm
by rredmond
Graphs are still empty.....

Re: Performance Graphs Not Graphing

Posted: Mon May 09, 2011 12:32 pm
by mguthrie
Just to clarify, you ARE seeing graphs, but they have no data in them, correct?


If this issue showed up after an update, see below:


Here's an issue on our wiki that some people have reported that may fix your issue.

* Some users reported that editing the following lines in their /usr/local/nagios/etc/nagios.cfg file fixed their graphing issues:

Code: Select all

 service_perfdata_file_processing_command=process-service-perfdata-file-bulk
 host_perfdata_file_processing_command=process-host-perfdata-file-bulk
Change To

Code: Select all

 service_perfdata_file_processing_command=process-service-perfdata-file-pnp-bulk
 host_perfdata_file_processing_command=process-host-perfdata-file-pnp-bulk
http://support.nagios.com/wiki/index.ph ... h_Problems

Re: Performance Graphs Not Graphing

Posted: Mon May 09, 2011 12:52 pm
by rredmond
I DO see graphs...they just do not contain data. I was reluctant to try some of those other issues as they seemed to pertain to the "red x" missing graphs completely. Should I still try the above?

Re: Performance Graphs Not Graphing

Posted: Mon May 09, 2011 12:58 pm
by rredmond
Per the link I tried the update credentials in admin. Restarted service and up came the graphs! We would this just stop working at 1AM????? Easy enough to fix I guess.............

Re: Performance Graphs Not Graphing

Posted: Mon May 09, 2011 1:04 pm
by mguthrie
OK, good deal. Our next release has a revised way in which we generate the graphs, and it should eliminate a large number of the issues we have with them, particularly related to permissions.

Re: Performance Graphs Not Graphing

Posted: Mon May 09, 2011 1:08 pm
by rredmond
Cool! Thanks again! You guys are right on top of this stuff!