Page 1 of 1

Performance Graphs not working!

Posted: Wed Dec 19, 2012 6:42 am
by aap
Hi,

We are running Nagios XI 2012R1.2 and after the Nagios Server was rebooted a few days ago, the performance graphs for all counters have gone blank. I have tried to reset the permissions as detailed in the FAQs but this has not resolved the issue.

Any ideas on wht to check? All assistance is appreciated.

Re: Performance Graphs not working!

Posted: Wed Dec 19, 2012 7:58 am
by lmiltchev
Can you run the following commands and show us the output?

Code: Select all

service npcd status
tail /usr/local/nagios/var/npcd.log
tail /usr/local/nagios/var/perfdata.log

Re: Performance Graphs not working!

Posted: Wed Dec 19, 2012 8:10 am
by aap
NPCD running (pid 27901).

12-19-2012 13:09:06] NPCD: Regular File: 1355523218.perfdata.service
[12-19-2012 13:09:06] NPCD: WARN: MAX Thread reached: 1355523218.perfdata.service comes later with ThreadCounter: 5
[12-19-2012 13:09:06] NPCD: DEBUG: Will wait for th['4']
[12-19-2012 13:09:06] NPCD: Processing file 1355523203.perfdata.host with ID -1240466576 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1355523203.perfdata.host
[12-19-2012 13:09:06] NPCD: Processing file '1355523203.perfdata.host'
[12-19-2012 13:09:06] NPCD: Processing file 1355523218.perfdata.host with ID -1265632400 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1355523218.perfdata.host
[12-19-2012 13:09:06] NPCD: Processing file '1355523218.perfdata.host'
[12-19-2012 13:09:06] NPCD: Processing file 1355523203.perfdata.service with ID -1253049488 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1355523203.perfdata.service
[12-19-2012 13:09:06] NPCD: Processing file '1355523203.perfdata.service'
[12-19-2012 13:09:06] NPCD: DEBUG: Will wait for th['3']

[root@linapp20prdv ~]# tail /usr/local/nagios/var/perfdata.log
2012-12-19 13:05:47 [15736] [0] *** TIMEOUT: Please check your npcd.cfg
2012-12-19 13:05:47 [15736] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1355518073.perfdata.service-PID-15736 deleted
2012-12-19 13:05:47 [15736] [0] *** Timeout while processing Host: "SKLD205.xxxxxxxx" Service: "CPU_Usage"
2012-12-19 13:05:47 [15736] [0] *** process_perfdata.pl terminated on signal ALRM
2012-12-19 13:05:47 [15737] [0] *** TIMEOUT: Timeout after 5 secs. ***
2012-12-19 13:05:47 [15737] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2012-12-19 13:05:47 [15737] [0] *** TIMEOUT: Please check your npcd.cfg
2012-12-19 13:05:47 [15737] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1355518058.perfdata.service-PID-15737 deleted
2012-12-19 13:05:47 [15737] [0] *** Timeout while processing Host: "SKLD184.xxxxxxxx" Service: "Ping"
2012-12-19 13:05:47 [15737] [0] *** process_perfdata.pl terminated on signal ALRM

Re: Performance Graphs not working!

Posted: Wed Dec 19, 2012 12:09 pm
by mguthrie
Take a look at this wiki and see if it relates to your issue:
http://support.nagios.com/wiki/index.ph ... ve_No_Data

Re: Performance Graphs not working!

Posted: Thu Dec 20, 2012 4:12 am
by aap
Thanks.

It does. Fix applied and graphs dispalying as normal.