Data not being graphed
Posted: Thu Mar 01, 2018 7:11 pm
Having an issue where no data is being displayed when looking at performance graphs tab.
I found this link https://support.nagios.com/kb/article.php?id=9 and first performed the actions under the header called "Count The Amount Of Spooled Files". After that didn't work, I increased the logging verbosity by editing process_perfdata.cfg per that previous link. I found the following:
2018-03-01 18:58:52 [40211] [0] *** TIMEOUT: Timeout after 5 secs. ***
2018-03-01 18:58:52 [40211] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2018-03-01 18:58:52 [40211] [0] *** TIMEOUT: Please check your npcd.cfg
2018-03-01 18:58:52 [40211] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1519948705.perfdata.service-PID-40211 deleted
2018-03-01 18:58:52 [40211] [0] *** Timeout while processing Host: "lngrd2573.gcsd.harris.com" Service: "CPU_Stats"
2018-03-01 18:58:52 [40211] [0] *** process_perfdata.pl terminated on signal ALRM
2018-03-01 18:58:59 [40214] [0] *** TIMEOUT: Timeout after 5 secs. ***
2018-03-01 18:58:59 [40214] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
and also the following:
2018-03-01 19:02:31 [43051] [2] Datatype set to 'HOSTPERFDATA'
2018-03-01 19:02:31 [43051] [1] Found Performance Data for lngrd2032.gcsd.harris.com / _HOST_ (rta=0.922ms;3000.000;5000.000;0; pl=0%;80;100;; rtmax=1.083ms;;;; rtmin=0.851ms;;;;)
2018-03-01 19:02:31 [43051] [2] No Custom Template found for check_xi_host_ping (/usr/local/nagios/etc/pnp/check_commands/check_xi_host_ping.cfg)
2018-03-01 19:02:31 [43051] [2] Template is check_xi_host_ping.php
2018-03-01 19:02:31 [43051] [2] No Custom Template found for check_xi_host_ping (/usr/local/nagios/etc/pnp/check_commands/check_xi_host_ping.cfg)
2018-03-01 19:02:31 [43051] [2] Template is check_xi_host_ping.php
2018-03-01 19:02:31 [43051] [2] No Custom Template found for check_xi_host_ping (/usr/local/nagios/etc/pnp/check_commands/check_xi_host_ping.cfg)
2018-03-01 19:02:31 [43051] [2] Template is check_xi_host_ping.php
2018-03-01 19:02:31 [43051] [2] No Custom Template found for check_xi_host_ping (/usr/local/nagios/etc/pnp/check_commands/check_xi_host_ping.cfg)
2018-03-01 19:02:31 [43051] [2] Template is check_xi_host_ping.php
Not sure if they're both related as when I looked at one of the servers, I see a template assigned to it, called xiwizard_linuxserver_ping_service.
I also check the configuration of the nagios server and it came back with no warnings or errors.
Checking objects...
Checked 3612 services.
Checked 447 hosts.
Checked 15 host groups.
Checked 8 service groups.
Checked 34 contacts.
Checked 6 contact groups.
Checked 135 commands.
Checked 39 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 447 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 39 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
I attached a screenshot of a server not graphing and under the advance tab, at the bottom I do see info in the performance data section.
I found this link https://support.nagios.com/kb/article.php?id=9 and first performed the actions under the header called "Count The Amount Of Spooled Files". After that didn't work, I increased the logging verbosity by editing process_perfdata.cfg per that previous link. I found the following:
2018-03-01 18:58:52 [40211] [0] *** TIMEOUT: Timeout after 5 secs. ***
2018-03-01 18:58:52 [40211] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2018-03-01 18:58:52 [40211] [0] *** TIMEOUT: Please check your npcd.cfg
2018-03-01 18:58:52 [40211] [0] *** TIMEOUT: /usr/local/nagios/var/spool/perfdata//1519948705.perfdata.service-PID-40211 deleted
2018-03-01 18:58:52 [40211] [0] *** Timeout while processing Host: "lngrd2573.gcsd.harris.com" Service: "CPU_Stats"
2018-03-01 18:58:52 [40211] [0] *** process_perfdata.pl terminated on signal ALRM
2018-03-01 18:58:59 [40214] [0] *** TIMEOUT: Timeout after 5 secs. ***
2018-03-01 18:58:59 [40214] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
and also the following:
2018-03-01 19:02:31 [43051] [2] Datatype set to 'HOSTPERFDATA'
2018-03-01 19:02:31 [43051] [1] Found Performance Data for lngrd2032.gcsd.harris.com / _HOST_ (rta=0.922ms;3000.000;5000.000;0; pl=0%;80;100;; rtmax=1.083ms;;;; rtmin=0.851ms;;;;)
2018-03-01 19:02:31 [43051] [2] No Custom Template found for check_xi_host_ping (/usr/local/nagios/etc/pnp/check_commands/check_xi_host_ping.cfg)
2018-03-01 19:02:31 [43051] [2] Template is check_xi_host_ping.php
2018-03-01 19:02:31 [43051] [2] No Custom Template found for check_xi_host_ping (/usr/local/nagios/etc/pnp/check_commands/check_xi_host_ping.cfg)
2018-03-01 19:02:31 [43051] [2] Template is check_xi_host_ping.php
2018-03-01 19:02:31 [43051] [2] No Custom Template found for check_xi_host_ping (/usr/local/nagios/etc/pnp/check_commands/check_xi_host_ping.cfg)
2018-03-01 19:02:31 [43051] [2] Template is check_xi_host_ping.php
2018-03-01 19:02:31 [43051] [2] No Custom Template found for check_xi_host_ping (/usr/local/nagios/etc/pnp/check_commands/check_xi_host_ping.cfg)
2018-03-01 19:02:31 [43051] [2] Template is check_xi_host_ping.php
Not sure if they're both related as when I looked at one of the servers, I see a template assigned to it, called xiwizard_linuxserver_ping_service.
I also check the configuration of the nagios server and it came back with no warnings or errors.
Checking objects...
Checked 3612 services.
Checked 447 hosts.
Checked 15 host groups.
Checked 8 service groups.
Checked 34 contacts.
Checked 6 contact groups.
Checked 135 commands.
Checked 39 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 447 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 39 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
I attached a screenshot of a server not graphing and under the advance tab, at the bottom I do see info in the performance data section.