Re: Performance Graphs Issue
Posted: Fri Feb 13, 2015 1:19 pm
I never touched the commands for process-host-perfdata-file-bulk or process-service-perfdata-file-bulk in CCM.
I changed the logging level to the desired lever you specified.
ls /usr/local/nagios/var/spool/xidpe | wc -l
0
ls /usr/local/nagios/var/spool/perfdata | wc -l
2
ls /usr/local/nagios/var/spool/checkresults | wc -l
0
ps -ef | grep perfdataproc
nagios 51822 51812 0 13:18 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1
nagios 51827 51822 1 13:18 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php
root 51938 51084 0 13:18 pts/1 00:00:00 grep perfdataproc
service npcd status
NPCD running (pid 50787).
I changed the logging level to the desired lever you specified.
ls /usr/local/nagios/var/spool/xidpe | wc -l
0
ls /usr/local/nagios/var/spool/perfdata | wc -l
2
ls /usr/local/nagios/var/spool/checkresults | wc -l
0
ps -ef | grep perfdataproc
nagios 51822 51812 0 13:18 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1
nagios 51827 51822 1 13:18 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php
root 51938 51084 0 13:18 pts/1 00:00:00 grep perfdataproc
service npcd status
NPCD running (pid 50787).
Code: Select all
tail -50 /usr/local/nagios/var/npcd.log
[02-10-2015 11:41:41] NPCD: ERROR: Executed command exits with return code '1'
[02-10-2015 11:41:41] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1423586471.perfdata.service'
[02-10-2015 14:03:14] NPCD: ERROR: Executed command exits with return code '1'
[02-10-2015 14:03:14] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1423594968.perfdata.service'
[02-10-2015 14:03:14] NPCD: ERROR: Executed command exits with return code '1'
[02-10-2015 14:03:14] NPCD: ERROR: Command line was '/usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/local/nagios/var/spool/perfdata//1423594968.perfdata.host'
[02-11-2015 15:24:52] NPCD: Caught Termination Signal - Hasta la vista... baby
[02-11-2015 15:24:52] NPCD: npcd Daemon (0.4.14) started with PID=18912
[02-11-2015 15:24:52] NPCD: Please have a look at 'npcd -V' to get license information
[02-11-2015 15:24:52] NPCD: HINT: load_threshold is enabled - ('10.000000')
[02-13-2015 13:15:57] NPCD: Caught Termination Signal - Hasta la vista... baby
[02-13-2015 13:15:57] NPCD: npcd Daemon (0.4.14) started with PID=50787
[02-13-2015 13:15:57] NPCD: Please have a look at 'npcd -V' to get license information
[02-13-2015 13:15:57] NPCD: HINT: load_threshold is enabled - ('10.000000')
[02-13-2015 13:15:57] NPCD: Processing file '1423851344.perfdata.host'
[02-13-2015 13:15:57] NPCD: Processing file '1423851344.perfdata.service'
[02-13-2015 13:15:57] NPCD: No more files to process... waiting for 15 seconds
[02-13-2015 13:16:12] NPCD: Processing file '1423851359.perfdata.host'
[02-13-2015 13:16:12] NPCD: Processing file '1423851359.perfdata.service'
[02-13-2015 13:16:12] NPCD: No more files to process... waiting for 15 seconds
[02-13-2015 13:16:27] NPCD: Processing file '1423851374.perfdata.service'
[02-13-2015 13:16:27] NPCD: Processing file '1423851374.perfdata.host'
[02-13-2015 13:16:27] NPCD: No more files to process... waiting for 15 seconds
[02-13-2015 13:16:42] NPCD: Processing file '1423851390.perfdata.host'
[02-13-2015 13:16:42] NPCD: Processing file '1423851390.perfdata.service'
[02-13-2015 13:16:42] NPCD: No more files to process... waiting for 15 seconds
[02-13-2015 13:16:57] NPCD: Processing file '1423851404.perfdata.host'
[02-13-2015 13:16:57] NPCD: Processing file '1423851404.perfdata.service'
[02-13-2015 13:16:57] NPCD: No more files to process... waiting for 15 seconds
[02-13-2015 13:17:12] NPCD: Processing file '1423851419.perfdata.service'
[02-13-2015 13:17:12] NPCD: Processing file '1423851419.perfdata.host'
[02-13-2015 13:17:12] NPCD: No more files to process... waiting for 15 seconds
[02-13-2015 13:17:27] NPCD: Processing file '1423851434.perfdata.service'
[02-13-2015 13:17:27] NPCD: Processing file '1423851434.perfdata.host'
[02-13-2015 13:17:27] NPCD: No more files to process... waiting for 15 seconds
[02-13-2015 13:17:42] NPCD: Processing file '1423851449.perfdata.host'
[02-13-2015 13:17:42] NPCD: Processing file '1423851450.perfdata.service'
[02-13-2015 13:17:42] NPCD: No more files to process... waiting for 15 seconds
[02-13-2015 13:17:57] NPCD: Processing file '1423851464.perfdata.host'
[02-13-2015 13:17:57] NPCD: Processing file '1423851464.perfdata.service'
[02-13-2015 13:17:58] NPCD: No more files to process... waiting for 15 seconds
[02-13-2015 13:18:13] NPCD: Processing file '1423851479.perfdata.host'
[02-13-2015 13:18:13] NPCD: Processing file '1423851479.perfdata.service'
[02-13-2015 13:18:13] NPCD: No more files to process... waiting for 15 seconds
[02-13-2015 13:18:28] NPCD: Processing file '1423851494.perfdata.host'
[02-13-2015 13:18:28] NPCD: Processing file '1423851494.perfdata.service'
[02-13-2015 13:18:28] NPCD: No more files to process... waiting for 15 seconds
[02-13-2015 13:18:43] NPCD: Processing file '1423851509.perfdata.host'
[02-13-2015 13:18:43] NPCD: Processing file '1423851509.perfdata.service'
[02-13-2015 13:18:43] NPCD: No more files to process... waiting for 15 seconds
Code: Select all
tail -50 /usr/local/nagios/var/perfdata.log
2015-02-13 13:19:13 [52434] [2] RRDs Perl Modules are not installed. Falling back to rrdtool system call.
2015-02-13 13:19:13 [52434] [2] /usr/bin/rrdtool update --daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock /usr/local/nagios/share/perfdata/vmjkslesl1t/__Disk_Usage.rrd 1423851537:6259
2015-02-13 13:19:13 [52434] [1] rrdtool update returns 256
2015-02-13 13:19:13 [52434] [2] Processing Line 26
2015-02-13 13:19:13 [52434] [2] No Perfdata. Skipping line 26
2015-02-13 13:19:13 [52434] [2] Processing Line 27
2015-02-13 13:19:13 [52434] [2] Datatype set to 'SERVICEPERFDATA'
2015-02-13 13:19:13 [52434] [1] Found Performance Data for ecmcss01q / Windows_NonProd_RDP (time=0.003562s;3;50;0)
2015-02-13 13:19:13 [52434] [2] No Custom Template found for check_rdp (/usr/local/nagios/etc/pnp/check_commands/check_rdp.cfg)
2015-02-13 13:19:13 [52434] [2] RRD Datatype is GAUGE
2015-02-13 13:19:13 [52434] [2] Template is check_rdp.php
2015-02-13 13:19:13 [52434] [2] data2rrd called
2015-02-13 13:19:13 [52434] [2] RRDs Perl Modules are not installed. Falling back to rrdtool system call.
2015-02-13 13:19:13 [52434] [2] /usr/bin/rrdtool update --daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock /usr/local/nagios/share/perfdata/ecmcss01q/Windows_NonProd_RDP.rrd 1423851538:0.003562
2015-02-13 13:19:13 [52434] [1] rrdtool update returns 256
2015-02-13 13:19:13 [52434] [2] Processing Line 28
2015-02-13 13:19:13 [52434] [2] No Perfdata. Skipping line 28
2015-02-13 13:19:13 [52434] [2] Processing Line 29
2015-02-13 13:19:13 [52434] [2] Datatype set to 'SERVICEPERFDATA'
2015-02-13 13:19:13 [52434] [1] Found Performance Data for webcmsw1t / Windows_NonProd_Server_Work_Queue ('Current work queue (an indication of processing load) is %.f '=0.000000%;4.000000;7.000000;)
2015-02-13 13:19:13 [52434] [2] No Custom Template found for check_xi_service_nsclient (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_nsclient.cfg)
2015-02-13 13:19:13 [52434] [2] RRD Datatype is GAUGE
2015-02-13 13:19:13 [52434] [2] Template is check_xi_service_nsclient.php
2015-02-13 13:19:13 [52434] [2] data2rrd called
2015-02-13 13:19:13 [52434] [2] RRDs Perl Modules are not installed. Falling back to rrdtool system call.
2015-02-13 13:19:13 [52434] [2] /usr/bin/rrdtool update --daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock /usr/local/nagios/share/perfdata/webcmsw1t/Windows_NonProd_Server_Work_Queue.rrd 1423851539:0.000000
2015-02-13 13:19:13 [52434] [1] rrdtool update returns 256
2015-02-13 13:19:13 [52434] [2] Processing Line 30
2015-02-13 13:19:13 [52434] [2] Datatype set to 'SERVICEPERFDATA'
2015-02-13 13:19:13 [52434] [1] Found Performance Data for ecmcns1d / Windows_NonProd_Page_File_Usage ('Paging File usage is %.2f %%'=0.000000%;70.000000;90.000000;)
2015-02-13 13:19:13 [52434] [2] No Custom Template found for check_xi_service_nsclient (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_nsclient.cfg)
2015-02-13 13:19:13 [52434] [2] RRD Datatype is GAUGE
2015-02-13 13:19:13 [52434] [2] Template is check_xi_service_nsclient.php
2015-02-13 13:19:13 [52434] [2] data2rrd called
2015-02-13 13:19:13 [52434] [2] RRDs Perl Modules are not installed. Falling back to rrdtool system call.
2015-02-13 13:19:13 [52434] [2] /usr/bin/rrdtool update --daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock /usr/local/nagios/share/perfdata/ecmcns1d/Windows_NonProd_Page_File_Usage.rrd 1423851540:0.000000
2015-02-13 13:19:13 [52434] [1] rrdtool update returns 256
2015-02-13 13:19:13 [52434] [2] Processing Line 31
2015-02-13 13:19:13 [52434] [2] Datatype set to 'SERVICEPERFDATA'
2015-02-13 13:19:13 [52434] [1] Found Performance Data for ecmcpe01q / Windows_NonProd_Page_File_Usage ('Paging File usage is %.2f %%'=26.000000%;70.000000;90.000000;)
2015-02-13 13:19:13 [52434] [2] No Custom Template found for check_xi_service_nsclient (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_nsclient.cfg)
2015-02-13 13:19:13 [52434] [2] RRD Datatype is GAUGE
2015-02-13 13:19:13 [52434] [2] Template is check_xi_service_nsclient.php
2015-02-13 13:19:13 [52434] [2] data2rrd called
2015-02-13 13:19:13 [52434] [2] RRDs Perl Modules are not installed. Falling back to rrdtool system call.
2015-02-13 13:19:13 [52434] [2] /usr/bin/rrdtool update --daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock /usr/local/nagios/share/perfdata/ecmcpe01q/Windows_NonProd_Page_File_Usage.rrd 1423851540:26.000000
2015-02-13 13:19:13 [52434] [1] rrdtool update returns 256
2015-02-13 13:19:13 [52434] [1] 31 Lines processed
2015-02-13 13:19:13 [52434] [1] /usr/local/nagios/var/spool/perfdata//1423851540.perfdata.service-PID-52434 deleted
2015-02-13 13:19:13 [52434] [1] PNP exiting (runtime 0.084025s) ...