Where to check notification intervals...mine are weird

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
jkj2000
Posts: 8
Joined: Thu Dec 19, 2019 2:25 pm

Where to check notification intervals...mine are weird

Post by jkj2000 »

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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Where to check notification intervals...mine are weird

Post by scottwilkerson »

Can you look at the definition for the timeperiod 24x7 which is set as the notification period to make sure it wasn't modified.

Also, by chance is there any escalations set on the server that could be overriding the default notifications?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
jkj2000
Posts: 8
Joined: Thu Dec 19, 2019 2:25 pm

Re: Where to check notification intervals...mine are weird

Post by jkj2000 »

Thanks Scott, I'll investigate both those possibilities.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Where to check notification intervals...mine are weird

Post by scottwilkerson »

jkj2000 wrote:Thanks Scott, I'll investigate both those possibilities.
Sounds good
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked