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:
Here is a chart from the same Nagios instance over the same time period with no gaps:
Thanks!
Graph gaps on certain services.
Graph gaps on certain services.
You do not have the required permissions to view the files attached to this post.
Re: Graph gaps on certain services.
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
https://support.nagios.com/kb/article.php?id=9
Thank you
Re: Graph gaps on certain services.
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!
Thanks!
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Graph gaps on certain services.
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.
Please include the zip file in your response. You can PM myself or other support personnel if you have privacy concerns.
Previous Nagios employee
Re: Graph gaps on certain services.
Can you also share the perfdata files from both of those services? If i'm understanding your configuration correctly, they should be located at:
If you're not sure which rrd to grab, just send them all 
Code: Select all
/usr/local/nagios/share/perfdata/EPOSVR1/<service_description>.rrd
/usr/local/nagios/share/perfdata/CELHC-DRS01/<service_description>.rrdFormer Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Graph gaps on certain services.
So here's the service check we're referencing:
Note the check_period, and here is that timeperiod referenced:
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.
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
}
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/
https://www.mcapra.com/
Re: Graph gaps on certain services.
Bah, thank you! Sometimes it is great to have another set of eyes on an issue.
I appreciate it!
I appreciate it!
Re: Graph gaps on certain services.
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.
Re: Graph gaps on certain services.
Yep, feel free to lock it. Thanks!