Graph gaps on certain services.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CameronWP
Posts: 134
Joined: Fri Apr 17, 2015 2:17 pm

Graph gaps on certain services.

Post by CameronWP »

Hello:

I am seeing strange gaps in the graphs on my Nagios service checks as attached. The strange thing is the only affects certain services, others are not affected at all. Looked around the forum a bit but wasn't able to find anyone with a similar issue.

Here is a chart with the gaps:
gaps.JPG
Here is a chart from the same Nagios instance over the same time period with no gaps:
nogaps.JPG
Thanks!
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Graph gaps on certain services.

Post by ssax »

Please run through this KB article and let us know if that resolves it for you:

https://support.nagios.com/kb/article.php?id=9


Thank you
CameronWP
Posts: 134
Joined: Fri Apr 17, 2015 2:17 pm

Re: Graph gaps on certain services.

Post by CameronWP »

Thanks for the reply but that article didn't help at all. I wasn't able to see anything in the logging. Any other thoughts?

Thanks!
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Graph gaps on certain services.

Post by avandemore »

XI > Admin > System Profile > Download Profile

Please include the zip file in your response. You can PM myself or other support personnel if you have privacy concerns.
Previous Nagios employee
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Graph gaps on certain services.

Post by mcapra »

Can you also share the perfdata files from both of those services? If i'm understanding your configuration correctly, they should be located at:

Code: Select all

/usr/local/nagios/share/perfdata/EPOSVR1/<service_description>.rrd
/usr/local/nagios/share/perfdata/CELHC-DRS01/<service_description>.rrd
If you're not sure which rrd to grab, just send them all :)
Former Nagios employee
https://www.mcapra.com/
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Graph gaps on certain services.

Post by mcapra »

So here's the service check we're referencing:

Code: Select all

define service {
	host_name			EXCHSVR1,EXCHSVR2
	service_description		Check CPU - Load
	use				windows_service
	hostgroup_name			WP - Administration,WP - Atrium Host Group,WP - EMC Host Group,WP - Virtual Machines
	check_command			check_win_cpu!70!80!!!!!!
	max_check_attempts		5
	check_interval			1
	retry_interval			1
	check_period			workhours
	first_notification_delay	15
	notification_period		workhours
	contact_groups			admins
	register			1
	}	
Note the check_period, and here is that timeperiod referenced:

Code: Select all

define timeperiod {
	timeperiod_name               		workhours
	alias                         		Normal Work Hours
	friday                        		09:00-17:00
	thursday                      		09:00-17:00
	wednesday                     		09:00-17:00
	tuesday                       		09:00-17:00
	monday                        		09:00-17:00
	}

So looking at the graph you provided, the gaps make sense since these checks are only running for 8 hours per day and therefore only collecting performance data for 8 hours per day. The graph can't chart data it doesn't possess.

Though, if there was existing data for the other host's CPU check, due to the averaged lossy nature of RRDs, I can see where a regular graph might be produced. So this boils down to: RRDs are lossy and imperfect for odd data intervals at times. If you're not consistently checking every 4-6 hours, you can produce data sets like the one you're seeing.The "heartbeat" of the RRDs can be adjusted (/usr/local/nagios/etc/pnp/rra.cfg), but only system-wide.
Former Nagios employee
https://www.mcapra.com/
CameronWP
Posts: 134
Joined: Fri Apr 17, 2015 2:17 pm

Re: Graph gaps on certain services.

Post by CameronWP »

Bah, thank you! Sometimes it is great to have another set of eyes on an issue.

I appreciate it!
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Graph gaps on certain services.

Post by cdienger »

Glad Matt was able to help you out. Did you have any more questions or are we okay to lock this thread?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
CameronWP
Posts: 134
Joined: Fri Apr 17, 2015 2:17 pm

Re: Graph gaps on certain services.

Post by CameronWP »

Yep, feel free to lock it. Thanks!
Locked