Page 1 of 1
NPCD not running
Posted: Wed Sep 17, 2014 7:25 am
by tbmay
Good morning,
For a week or so I've found NPCD not running. When I start it back it's off again the next time I check.
What is NPCD and what should I do about correcting this?
Thanks a million.
Re: NPCD not running
Posted: Wed Sep 17, 2014 11:03 am
by slansing
NPCD is responsible for properly processing your performance data and graphing. When you:
What does it output? Also, what is the output of:
Code: Select all
tail -50 /usr/local/nagios/var/npcd.log
Code: Select all
tail -50 /usr/local/nagios/var/perfdata.log
Re: NPCD not running
Posted: Wed Sep 17, 2014 2:24 pm
by tbmay
Restarting the service just said it wasn't running and started it. Here's the last few lines of the log.
2014-09-16 11:37:55 [14375] [0] *** Timeout while processing Host: "Procurve-DH-ABuild-PC2810" Service: "Port_136_Bandwidth"
2014-09-16 11:37:55 [14375] [0] *** process_perfdata.pl terminated on signal ALRM
2014-09-16 14:00:35 [25284] [0] *** TIMEOUT: Timeout after 5 secs. ***
2014-09-16 14:00:35 [25288] [0] *** TIMEOUT: Timeout after 5 secs. ***
2014-09-16 14:00:35 [25284] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2014-09-16 14:00:35 [25288] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2014-09-16 14:00:35 [25284] [0] *** TIMEOUT: Please check your npcd.cfg
2014-09-16 14:00:35 [25288] [0] *** TIMEOUT: Please check your npcd.cfg
2014-09-16 14:00:35 [25284] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1410723487.perfdata.service-PID-25284 deleted
2014-09-16 14:00:35 [25288] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1410723517.perfdata.service-PID-25288 deleted
2014-09-16 14:00:35 [25284] [0] *** Timeout while processing Host: "Procurve-WE-Server-Rm-5406" Service: "Check_Procurve_CPU_Temp"
2014-09-16 14:00:35 [25288] [0] *** Timeout while processing Host: "Procurve-DH-Office-PC2910" Service: "Port_44_Bandwidth"
2014-09-16 14:00:35 [25284] [0] *** process_perfdata.pl terminated on signal ALRM
2014-09-16 14:00:35 [25288] [0] *** process_perfdata.pl terminated on signal ALRM
2014-09-16 14:01:05 [27753] [0] *** TIMEOUT: Timeout after 5 secs. ***
2014-09-16 14:01:05 [27753] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2014-09-16 14:01:05 [27753] [0] *** TIMEOUT: Please check your npcd.cfg
2014-09-16 14:01:05 [27753] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1410724387.perfdata.service-PID-27753 deleted
2014-09-16 14:01:05 [27753] [0] *** Timeout while processing Host: "Procurve-DH-Office-PC2910" Service: "Port_43_Bandwidth"
2014-09-16 14:01:05 [27753] [0] *** process_perfdata.pl terminated on signal ALRM
2014-09-16 14:05:31 [733] [0] *** TIMEOUT: Timeout after 5 secs. ***
2014-09-16 14:05:31 [733] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2014-09-16 14:05:31 [733] [0] *** TIMEOUT: Please check your npcd.cfg
2014-09-16 14:05:31 [733] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1410733987.perfdata.service-PID-733 deleted
Re: NPCD not running
Posted: Wed Sep 17, 2014 2:26 pm
by tbmay
npcd.cfg is not a file I ever manually changed.
Re: NPCD not running
Posted: Wed Sep 17, 2014 2:39 pm
by tbmay
Sorry. I forgot ncpd.log
n -b /usr/local/nagios/var/spool/perfdata//1410864787.perfdata.service'
[09-17-2014 15:33:25] NPCD: WARN: MAX load reached: load 10.130000/10.000000 at i=13544
[09-17-2014 15:33:40] NPCD: WARN: MAX load reached: load 11.200000/10.000000 at i=13544
[09-17-2014 15:34:45] NPCD: ERROR: Executed command exits with return code '7'
[09-17-2014 15:34:45] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1410868987.perfdata.service'
[09-17-2014 15:35:06] NPCD: ERROR: Executed command exits with return code '7'
[09-17-2014 15:35:06] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1410869587.perfdata.service'
[09-17-2014 15:35:24] NPCD: WARN: MAX load reached: load 11.620000/10.000000 at i=14149
[09-17-2014 15:35:46] NPCD: ERROR: Executed command exits with return code '7'
[09-17-2014 15:35:46] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1410870187.perfdata.service'
[09-17-2014 15:35:46] NPCD: WARN: MAX load reached: load 13.210000/10.000000 at i=14164
[09-17-2014 15:36:01] NPCD: WARN: MAX load reached: load 12.410000/10.000000 at i=14164
[09-17-2014 15:36:16] NPCD: WARN: MAX load reached: load 10.330000/10.000000 at i=14164
[09-17-2014 15:36:44] NPCD: WARN: MAX load reached: load 10.120000/10.000000 at i=14474
Re: NPCD not running
Posted: Wed Sep 17, 2014 4:41 pm
by abrist
1. Did the red exclamation go away once you restarted npcd?
2. You are hitting load and threshold limits. Please perform the following FAQ entries to resolve the limit issues:
http://support.nagios.com/wiki/index.ph ... ta_Timeout
http://support.nagios.com/wiki/index.ph ... _Threshold
Re: NPCD not running
Posted: Thu Sep 18, 2014 8:28 am
by tbmay
Got it. Thanks. You can close the thread.