notification_interval send email every 30 minutes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
yavinenana
Posts: 4
Joined: Mon Feb 19, 2018 2:56 pm

notification_interval send email every 30 minutes

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: notification_interval send email every 30 minutes

Post 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.
Former Nagios employee
https://www.mcapra.com/
kyang

Re: notification_interval send email every 30 minutes

Post by kyang »

Thanks @mcapra!

yavineanana, please let us know if you have any more questions or if it mcapra's response was clear enough.
yavinenana
Posts: 4
Joined: Mon Feb 19, 2018 2:56 pm

Re: notification_interval send email every 30 minutes

Post 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.
kyang

Re: notification_interval send email every 30 minutes

Post by kyang »

Perfect!

Glad to hear it was the solution.

Are we okay to close this thread?
yavinenana
Posts: 4
Joined: Mon Feb 19, 2018 2:56 pm

Re: notification_interval send email every 30 minutes

Post 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 .
kyang

Re: notification_interval send email every 30 minutes

Post 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!
Locked