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.
Performance graphs not working!
-
- Former Nagios Staff
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Re: Performance graphs not working!
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
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 180
- Joined: Wed Oct 12, 2011 4:01 am
Re: Performance graphs not working!
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
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
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Performance graphs not working!
Take a look at this wiki and see if it relates to your issue:
http://support.nagios.com/wiki/index.ph ... ve_No_Data
http://support.nagios.com/wiki/index.ph ... ve_No_Data
-
- Posts: 180
- Joined: Wed Oct 12, 2011 4:01 am
Re: Performance graphs not working!
Thanks.
It does. Fix applied and graphs dispalying as normal.
It does. Fix applied and graphs dispalying as normal.