Page 1 of 1

notification_interval send email every 30 minutes

Posted: Mon Feb 19, 2018 3:38 pm
by yavinenana
Hi, I'm jordy

I have a problem with my notification_interval I try changed other parameters , but I receive emails every half hour,I would like receive emails every 4 minutes or 5 :roll: , I put my files config
1. template
https://s3-us-west-1.amazonaws.com/back ... plates.cfg
2. host config
https://s3-us-west-1.amazonaws.com/back ... nenana.cfg

Re: notification_interval send email every 30 minutes

Posted: Mon Feb 19, 2018 3:49 pm
by mcapra
It looks as if your templates are currently configured for 5 minutes in both the linux-server and generic-service templates. That's good.

However, the yavinenana host is configured for 30 minutes for it's notification_interval:

Code: Select all

define host{
	use                             linux-server
	host_name                       yavinenana
	alias                           server
	address                         yavinenana.yaroscloud.com
	max_check_attempts              5
	check_period                    24x7
	notification_interval           30
	notification_period             24x7
	check_command			check_http
}
This will over-write the linux-server template's 5-minute setting. Effectively making the yavinenana host's notifications occur every ~30 minutes.

If you'd like this host to instead inherit the linux-server's 5-minute notification_interval setting, exclude notification_interval from your host object.

Re: notification_interval send email every 30 minutes

Posted: Mon Feb 19, 2018 4:48 pm
by kyang
Thanks @mcapra!

yavineanana, please let us know if you have any more questions or if it mcapra's response was clear enough.

Re: notification_interval send email every 30 minutes

Posted: Mon Feb 19, 2018 5:02 pm
by yavinenana
thanks very much mr @capra , that was the solution My host file was over-write notification_interval, I remove this parameter to the host file inherit this field from linux-server template.

Re: notification_interval send email every 30 minutes

Posted: Mon Feb 19, 2018 5:11 pm
by kyang
Perfect!

Glad to hear it was the solution.

Are we okay to close this thread?

Re: notification_interval send email every 30 minutes

Posted: Tue Feb 20, 2018 10:54 am
by yavinenana
kyang wrote:Perfect!

Glad to hear it was the solution.

Are we okay to close this thread?
sure , but 'Idont know how to close this issue .

Re: notification_interval send email every 30 minutes

Posted: Tue Feb 20, 2018 11:12 am
by kyang
No worries, us tech members are able to close it.

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!