NPCD not running

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tbmay
Posts: 67
Joined: Wed Jan 22, 2014 6:23 pm

NPCD not running

Post 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.
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NPCD not running

Post by slansing »

NPCD is responsible for properly processing your performance data and graphing. When you:

Code: Select all

service npcd restart
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
tbmay
Posts: 67
Joined: Wed Jan 22, 2014 6:23 pm

Re: NPCD not running

Post 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
tbmay
Posts: 67
Joined: Wed Jan 22, 2014 6:23 pm

Re: NPCD not running

Post by tbmay »

npcd.cfg is not a file I ever manually changed.
tbmay
Posts: 67
Joined: Wed Jan 22, 2014 6:23 pm

Re: NPCD not running

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: NPCD not running

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
tbmay
Posts: 67
Joined: Wed Jan 22, 2014 6:23 pm

Re: NPCD not running

Post by tbmay »

Got it. Thanks. You can close the thread.
Locked