I've set up the 'admin' contact with an email address, and we have several services that error out on ping checks, however we only get emails at 1 am, 3 am, 5 am and 7 am local time. I can't figure out why.
This is a typical service check for us:
Code: Select all
define service {
host_name logstash
service_description PING
check_command check_ping!100.0,20%!500.0,60%
max_check_attempts 2
check_interval 2
retry_interval 2
check_period 24x7
check_freshness 1
contact_groups admins
notification_interval 2
notification_period 24x7
notifications_enabled 1
register 1
}
All our services have those same check_interval, notification_interval and notification period settings. Based on them, shouldn't I be getting alerts every two minutes or so (not that I want them, mind you)? Is there a setting or settings I should be looking at in nagios.cfg that might explain things? I do know our interval_length value in nagios.cfg is the standard '60', so no funny business there.