Re: Graphing has stopped
Posted: Fri Mar 19, 2010 9:17 am
Hi the pnp service does not exist but the process was running, I have enabled the log and onrestarting the process I found that the pid file was owned by root ??, Chowned to nagios and restarted the process
nagios 7964 1 0 13:50 ? 00:00:00 /usr/local/nagios/bin/npcd -d -f /usr/local/nagios/etc/pnp/npcd.cfg
The data file now seems to be processed
[03-19-2010 14:03:38] NPCD: No more files to process... waiting for 15 seconds
[03-19-2010 14:03:53] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[03-19-2010 14:03:53] NPCD: ThreadCounter 0/5 File is .
[03-19-2010 14:03:53] NPCD: ThreadCounter 0/5 File is ..
[03-19-2010 14:03:53] NPCD: ThreadCounter 0/5 File is host-perfdata.1269007425
[03-19-2010 14:03:53] NPCD: Regular File: host-perfdata.1269007425
[03-19-2010 14:03:53] NPCD: A thread was startet on thread_counter = 0
[03-19-2010 14:03:53] NPCD: ThreadCounter 1/5 File is service-perfdata.1269007425
[03-19-2010 14:03:53] NPCD: Regular File: service-perfdata.1269007425
[03-19-2010 14:03:53] NPCD: A thread was startet on thread_counter = 1
[03-19-2010 14:03:53] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[03-19-2010 14:03:53] NPCD: Processing file host-perfdata.1269007425 with ID -1208136816 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1269007425
[03-19-2010 14:03:53] NPCD: Processing file 'host-perfdata.1269007425'
[03-19-2010 14:03:53] NPCD: Processing file service-perfdata.1269007425 with ID -1218626672 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1269007425
[03-19-2010 14:03:53] NPCD: Processing file 'service-perfdata.1269007425'
[03-19-2010 14:03:55] NPCD: No more files to process... waiting for 15 seconds
[03-19-2010 14:04:10] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[03-19-2010 14:04:10] NPCD: ThreadCounter 0/5 File is .
[03-19-2010 14:04:10] NPCD: ThreadCounter 0/5 File is ..
[03-19-2010 14:04:10] NPCD: ThreadCounter 0/5 File is host-perfdata.1269007440
[03-19-2010 14:04:10] NPCD: Regular File: host-perfdata.1269007440
[03-19-2010 14:04:10] NPCD: A thread was startet on thread_counter = 0
[03-19-2010 14:04:10] NPCD: ThreadCounter 1/5 File is service-perfdata.1269007440
[03-19-2010 14:04:10] NPCD: Regular File: service-perfdata.1269007440
[03-19-2010 14:04:10] NPCD: A thread was startet on thread_counter = 1
[03-19-2010 14:04:10] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[03-19-2010 14:04:10] NPCD: Processing file host-perfdata.1269007440 with ID -1208136816 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1269007440
[03-19-2010 14:04:10] NPCD: Processing file 'host-perfdata.1269007440'
[03-19-2010 14:04:10] NPCD: Processing file service-perfdata.1269007440 with ID -1218626672 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1269007440
[03-19-2010 14:04:10] NPCD: Processing file 'service-perfdata.1269007440'
[03-19-2010 14:04:14] NPCD: No more files to process... waiting for 15 seconds
[03-19-2010 14:04:29] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[03-19-2010 14:04:29] NPCD: ThreadCounter 0/5 File is .
[03-19-2010 14:04:29] NPCD: ThreadCounter 0/5 File is ..
[03-19-2010 14:04:29] NPCD: ThreadCounter 0/5 File is host-perfdata.1269007455
[03-19-2010 14:04:29] NPCD: Regular File: host-perfdata.1269007455
[03-19-2010 14:04:29] NPCD: A thread was startet on thread_counter = 0
[03-19-2010 14:04:29] NPCD: ThreadCounter 1/5 File is service-perfdata.1269007455
[03-19-2010 14:04:29] NPCD: Regular File: service-perfdata.1269007455
[03-19-2010 14:04:29] NPCD: A thread was startet on thread_counter = 1
[03-19-2010 14:04:29] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[03-19-2010 14:04:29] NPCD: Processing file host-perfdata.1269007455 with ID -1208136816 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1269007455
[03-19-2010 14:04:29] NPCD: Processing file 'host-perfdata.1269007455'
[03-19-2010 14:04:29] NPCD: Processing file service-perfdata.1269007455 with ID -1218626672 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1269007455
[03-19-2010 14:04:29] NPCD: Processing file 'service-perfdata.1269007455'
[03-19-2010 14:04:31] NPCD: No more files to process... waiting for 15 seconds
[03-19-2010 14:04:46] NPCD: Found 6 files in /usr/local/nagios/var/spool/perfdata/
[03-19-2010 14:04:46] NPCD: ThreadCounter 0/5 File is .
[03-19-2010 14:04:46] NPCD: ThreadCounter 0/5 File is ..
[03-19-2010 14:04:46] NPCD: ThreadCounter 0/5 File is host-perfdata.1269007470
[03-19-2010 14:04:46] NPCD: Regular File: host-perfdata.1269007470
[03-19-2010 14:04:46] NPCD: A thread was startet on thread_counter = 0
[03-19-2010 14:04:46] NPCD: ThreadCounter 1/5 File is host-perfdata.1269007485
[03-19-2010 14:04:46] NPCD: Regular File: host-perfdata.1269007485
[03-19-2010 14:04:46] NPCD: A thread was startet on thread_counter = 1
[03-19-2010 14:04:46] NPCD: ThreadCounter 2/5 File is service-perfdata.1269007470
[03-19-2010 14:04:46] NPCD: Regular File: service-perfdata.1269007470
[03-19-2010 14:04:46] NPCD: A thread was startet on thread_counter = 2
[03-19-2010 14:04:46] NPCD: ThreadCounter 3/5 File is service-perfdata.1269007485
[03-19-2010 14:04:46] NPCD: Regular File: service-perfdata.1269007485
[03-19-2010 14:04:46] NPCD: A thread was startet on thread_counter = 3
[03-19-2010 14:04:46] NPCD: Have to wait: Filecounter = 4 - thread_counter = 4
[03-19-2010 14:04:46] NPCD: Processing file host-perfdata.1269007470 with ID -1208136816 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1269007470
[03-19-2010 14:04:46] NPCD: Processing file 'host-perfdata.1269007470'
[03-19-2010 14:04:46] NPCD: Processing file host-perfdata.1269007485 with ID -1218626672 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1269007485
[03-19-2010 14:04:46] NPCD: Processing file 'host-perfdata.1269007485'
[03-19-2010 14:04:47] NPCD: Processing file service-perfdata.1269007470 with ID -1229116528 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1269007470
[03-19-2010 14:04:47] NPCD: Processing file 'service-perfdata.1269007470'
[03-19-2010 14:04:47] NPCD: Processing file service-perfdata.1269007485 with ID -1239606384 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1269007485
[03-19-2010 14:04:47] NPCD: Processing file 'service-perfdata.1269007485'
[03-19-2010 14:04:49] NPCD: No more files to process... waiting for 15 seconds
[03-19-2010 14:05:04] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[03-19-2010 14:05:04] NPCD: ThreadCounter 0/5 File is .
[03-19-2010 14:05:04] NPCD: ThreadCounter 0/5 File is ..
[03-19-2010 14:05:04] NPCD: ThreadCounter 0/5 File is host-perfdata.1269007500
[03-19-2010 14:05:04] NPCD: Regular File: host-perfdata.1269007500
[03-19-2010 14:05:04] NPCD: A thread was startet on thread_counter = 0
[03-19-2010 14:05:04] NPCD: ThreadCounter 1/5 File is service-perfdata.1269007500
[03-19-2010 14:05:04] NPCD: Regular File: service-perfdata.1269007500
[03-19-2010 14:05:04] NPCD: A thread was startet on thread_counter = 1
[03-19-2010 14:05:04] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[03-19-2010 14:05:04] NPCD: Processing file host-perfdata.1269007500 with ID -1208136816 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1269007500
[03-19-2010 14:05:04] NPCD: Processing file 'host-perfdata.1269007500'
[03-19-2010 14:05:04] NPCD: Processing file service-perfdata.1269007500 with ID -1218626672 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1269007500
[03-19-2010 14:05:04] NPCD: Processing file 'service-perfdata.1269007500'
[03-19-2010 14:05:06] NPCD: No more files to process... waiting for 15 seconds
The graphs are still not appearing just the title i.e., Datasource: user
Regards, Dave
nagios 7964 1 0 13:50 ? 00:00:00 /usr/local/nagios/bin/npcd -d -f /usr/local/nagios/etc/pnp/npcd.cfg
The data file now seems to be processed
[03-19-2010 14:03:38] NPCD: No more files to process... waiting for 15 seconds
[03-19-2010 14:03:53] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[03-19-2010 14:03:53] NPCD: ThreadCounter 0/5 File is .
[03-19-2010 14:03:53] NPCD: ThreadCounter 0/5 File is ..
[03-19-2010 14:03:53] NPCD: ThreadCounter 0/5 File is host-perfdata.1269007425
[03-19-2010 14:03:53] NPCD: Regular File: host-perfdata.1269007425
[03-19-2010 14:03:53] NPCD: A thread was startet on thread_counter = 0
[03-19-2010 14:03:53] NPCD: ThreadCounter 1/5 File is service-perfdata.1269007425
[03-19-2010 14:03:53] NPCD: Regular File: service-perfdata.1269007425
[03-19-2010 14:03:53] NPCD: A thread was startet on thread_counter = 1
[03-19-2010 14:03:53] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[03-19-2010 14:03:53] NPCD: Processing file host-perfdata.1269007425 with ID -1208136816 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1269007425
[03-19-2010 14:03:53] NPCD: Processing file 'host-perfdata.1269007425'
[03-19-2010 14:03:53] NPCD: Processing file service-perfdata.1269007425 with ID -1218626672 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1269007425
[03-19-2010 14:03:53] NPCD: Processing file 'service-perfdata.1269007425'
[03-19-2010 14:03:55] NPCD: No more files to process... waiting for 15 seconds
[03-19-2010 14:04:10] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[03-19-2010 14:04:10] NPCD: ThreadCounter 0/5 File is .
[03-19-2010 14:04:10] NPCD: ThreadCounter 0/5 File is ..
[03-19-2010 14:04:10] NPCD: ThreadCounter 0/5 File is host-perfdata.1269007440
[03-19-2010 14:04:10] NPCD: Regular File: host-perfdata.1269007440
[03-19-2010 14:04:10] NPCD: A thread was startet on thread_counter = 0
[03-19-2010 14:04:10] NPCD: ThreadCounter 1/5 File is service-perfdata.1269007440
[03-19-2010 14:04:10] NPCD: Regular File: service-perfdata.1269007440
[03-19-2010 14:04:10] NPCD: A thread was startet on thread_counter = 1
[03-19-2010 14:04:10] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[03-19-2010 14:04:10] NPCD: Processing file host-perfdata.1269007440 with ID -1208136816 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1269007440
[03-19-2010 14:04:10] NPCD: Processing file 'host-perfdata.1269007440'
[03-19-2010 14:04:10] NPCD: Processing file service-perfdata.1269007440 with ID -1218626672 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1269007440
[03-19-2010 14:04:10] NPCD: Processing file 'service-perfdata.1269007440'
[03-19-2010 14:04:14] NPCD: No more files to process... waiting for 15 seconds
[03-19-2010 14:04:29] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[03-19-2010 14:04:29] NPCD: ThreadCounter 0/5 File is .
[03-19-2010 14:04:29] NPCD: ThreadCounter 0/5 File is ..
[03-19-2010 14:04:29] NPCD: ThreadCounter 0/5 File is host-perfdata.1269007455
[03-19-2010 14:04:29] NPCD: Regular File: host-perfdata.1269007455
[03-19-2010 14:04:29] NPCD: A thread was startet on thread_counter = 0
[03-19-2010 14:04:29] NPCD: ThreadCounter 1/5 File is service-perfdata.1269007455
[03-19-2010 14:04:29] NPCD: Regular File: service-perfdata.1269007455
[03-19-2010 14:04:29] NPCD: A thread was startet on thread_counter = 1
[03-19-2010 14:04:29] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[03-19-2010 14:04:29] NPCD: Processing file host-perfdata.1269007455 with ID -1208136816 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1269007455
[03-19-2010 14:04:29] NPCD: Processing file 'host-perfdata.1269007455'
[03-19-2010 14:04:29] NPCD: Processing file service-perfdata.1269007455 with ID -1218626672 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1269007455
[03-19-2010 14:04:29] NPCD: Processing file 'service-perfdata.1269007455'
[03-19-2010 14:04:31] NPCD: No more files to process... waiting for 15 seconds
[03-19-2010 14:04:46] NPCD: Found 6 files in /usr/local/nagios/var/spool/perfdata/
[03-19-2010 14:04:46] NPCD: ThreadCounter 0/5 File is .
[03-19-2010 14:04:46] NPCD: ThreadCounter 0/5 File is ..
[03-19-2010 14:04:46] NPCD: ThreadCounter 0/5 File is host-perfdata.1269007470
[03-19-2010 14:04:46] NPCD: Regular File: host-perfdata.1269007470
[03-19-2010 14:04:46] NPCD: A thread was startet on thread_counter = 0
[03-19-2010 14:04:46] NPCD: ThreadCounter 1/5 File is host-perfdata.1269007485
[03-19-2010 14:04:46] NPCD: Regular File: host-perfdata.1269007485
[03-19-2010 14:04:46] NPCD: A thread was startet on thread_counter = 1
[03-19-2010 14:04:46] NPCD: ThreadCounter 2/5 File is service-perfdata.1269007470
[03-19-2010 14:04:46] NPCD: Regular File: service-perfdata.1269007470
[03-19-2010 14:04:46] NPCD: A thread was startet on thread_counter = 2
[03-19-2010 14:04:46] NPCD: ThreadCounter 3/5 File is service-perfdata.1269007485
[03-19-2010 14:04:46] NPCD: Regular File: service-perfdata.1269007485
[03-19-2010 14:04:46] NPCD: A thread was startet on thread_counter = 3
[03-19-2010 14:04:46] NPCD: Have to wait: Filecounter = 4 - thread_counter = 4
[03-19-2010 14:04:46] NPCD: Processing file host-perfdata.1269007470 with ID -1208136816 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1269007470
[03-19-2010 14:04:46] NPCD: Processing file 'host-perfdata.1269007470'
[03-19-2010 14:04:46] NPCD: Processing file host-perfdata.1269007485 with ID -1218626672 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1269007485
[03-19-2010 14:04:46] NPCD: Processing file 'host-perfdata.1269007485'
[03-19-2010 14:04:47] NPCD: Processing file service-perfdata.1269007470 with ID -1229116528 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1269007470
[03-19-2010 14:04:47] NPCD: Processing file 'service-perfdata.1269007470'
[03-19-2010 14:04:47] NPCD: Processing file service-perfdata.1269007485 with ID -1239606384 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1269007485
[03-19-2010 14:04:47] NPCD: Processing file 'service-perfdata.1269007485'
[03-19-2010 14:04:49] NPCD: No more files to process... waiting for 15 seconds
[03-19-2010 14:05:04] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[03-19-2010 14:05:04] NPCD: ThreadCounter 0/5 File is .
[03-19-2010 14:05:04] NPCD: ThreadCounter 0/5 File is ..
[03-19-2010 14:05:04] NPCD: ThreadCounter 0/5 File is host-perfdata.1269007500
[03-19-2010 14:05:04] NPCD: Regular File: host-perfdata.1269007500
[03-19-2010 14:05:04] NPCD: A thread was startet on thread_counter = 0
[03-19-2010 14:05:04] NPCD: ThreadCounter 1/5 File is service-perfdata.1269007500
[03-19-2010 14:05:04] NPCD: Regular File: service-perfdata.1269007500
[03-19-2010 14:05:04] NPCD: A thread was startet on thread_counter = 1
[03-19-2010 14:05:04] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[03-19-2010 14:05:04] NPCD: Processing file host-perfdata.1269007500 with ID -1208136816 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//host-perfdata.1269007500
[03-19-2010 14:05:04] NPCD: Processing file 'host-perfdata.1269007500'
[03-19-2010 14:05:04] NPCD: Processing file service-perfdata.1269007500 with ID -1218626672 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -b /usr/local/nagios/var/spool/perfdata//service-perfdata.1269007500
[03-19-2010 14:05:04] NPCD: Processing file 'service-perfdata.1269007500'
[03-19-2010 14:05:06] NPCD: No more files to process... waiting for 15 seconds
The graphs are still not appearing just the title i.e., Datasource: user
Regards, Dave