NPCD errors
Posted: Tue Jan 17, 2012 6:44 pm
Hey guys,
I've been having some trouble after a large host import I did yesterday (about 2000 new hosts) I've worked through most of them but I'm having trouble getting NPCD to process properly the npcd.log is filled with...
I've been having some trouble after a large host import I did yesterday (about 2000 new hosts) I've worked through most of them but I'm having trouble getting NPCD to process properly the npcd.log is filled with...
And perfdata.log...[01-17-2012 23:29:34] NPCD: Processing file 'host-perfdata.1326842967'
[01-17-2012 23:29:34] NPCD: ThreadCounter 1/5 File is service-perfdata.1326842967
[01-17-2012 23:29:34] NPCD: Regular File: service-perfdata.1326842967
[01-17-2012 23:29:34] NPCD: A thread was started on thread_counter = 1
[01-17-2012 23:29:34] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[01-17-2012 23:29:34] NPCD: Processing file service-perfdata.1326842967 with ID -1227883664 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1326842967
[01-17-2012 23:29:34] NPCD: Processing file 'service-perfdata.1326842967'
[01-17-2012 23:29:39] NPCD: ERROR: Executed command exits with return code '7'
[01-17-2012 23:29:39] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1326842967'
[01-17-2012 23:29:39] NPCD: No more files to process... waiting for 15 seconds
On an unrelated note, exporting config files via nagql takes one hell of a long time now and I had to increase the timeout in /etc/php.ini... is it necessary to export all of the files instead of just those that aren't synchronized? Could you not create a separate option for full export and have the default as an incremental export of updated entries?2012-01-17 23:29:39 [23237] [0] *** TIMEOUT: Timeout after 5 secs. ***
2012-01-17 23:29:39 [23237] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2012-01-17 23:29:39 [23237] [0] *** TIMEOUT: Please check your npcd.cfg
2012-01-17 23:29:39 [23237] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//host-perfdata.1326842967-PID-23237 deleted
2012-01-17 23:29:39 [23237] [0] *** Timeout while processing Host: "hostnamehere" Service: "_HOST_"
2012-01-17 23:29:39 [23237] [0] *** process_perfdata.pl terminated on signal ALRM