Data not being graphed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Berto
Posts: 162
Joined: Tue Jul 01, 2014 6:12 pm

Data not being graphed

Post by Berto »

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.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Data not being graphed

Post by scottwilkerson »

Berto wrote: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.
When you say "After that didn't work" what does that mean? did it take a really long time for the command to execute? because if you didn't just get a number returned, that is likely the problem.

What is the loat on the server (seen top right running the top command)?

lower in that article it states a config value that by default perfdata will not process if the load is over 10. This can be increased,

and if the amount of filed you have in those directories is sooo large, they may need to be deleted for it to run at all
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Berto
Posts: 162
Joined: Tue Jul 01, 2014 6:12 pm

Re: Data not being graphed

Post by Berto »

This issue has been resolved. It seems that the database was corrupted. When attempting to login in the NagiosXI web interface I got an error stating to run the repair database script. After running that, and waiting for a bit, I can now see that data is being graphed like it was. I'm now experiencing another problem and not sure if it was from running that script, but I'll open a new post for that.

For this post, I considered this to be resolved.

Thanks.
kyang

Re: Data not being graphed

Post by kyang »

Sounds good! I'll be closing this thread!

If you have any more questions, feel free to create another thread.

Thanks for using the Nagios Support Forum!
Locked