Page 1 of 1
send alerts with time delay
Posted: Fri Mar 11, 2016 4:48 am
by villex46
Hi!
nagios core we deployed a Centos server. I'd like sending email alerts had a time delay, is it possible?
That is, for example, when we have a peak consumption of RAM, to wait for sending email 5 minutes to see if reduced
thanks!
Re: send alerts with time delay
Posted: Fri Mar 11, 2016 4:54 am
by rhassing
You could use the following example.
Code: Select all
max_check_attempts 3
check_interval 5
retry_interval 1
This example will normally check every 5 minutes.
If the check is in warning, or critical it will retry 3 times with an interval of 1 minute.
Re: send alerts with time delay
Posted: Fri Mar 11, 2016 5:30 am
by villex46
thanks for quick reply!
In what file I have to change?
Re: send alerts with time delay
Posted: Fri Mar 11, 2016 6:34 am
by rhassing
That should be it. And of course a restart of Nagios...
Re: send alerts with time delay
Posted: Fri Mar 11, 2016 10:18 am
by rkennedy
Thanks @rhassing for the assist while we were sleeping!
@villex46 - let us know if you have any further questions.