Re: [icinga-users] mail interval depending on service's state

2016-11-08 Thread Bancal Samuel
Thanks Gerald, that works! Regards, Samuel On 08. 11. 16 14:02, Gerald Vogt wrote: On 08/11/2016 13:52, Bancal Samuel wrote: basically I set something like this (here I set 2 and 5 minutes ... to test faster ;) ) : apply Notification "mail_two_levels" to Service { import "mail-service-not

Re: [icinga-users] mail interval depending on service's state

2016-11-08 Thread Gerald Vogt
On 08/11/2016 13:52, Bancal Samuel wrote: basically I set something like this (here I set 2 and 5 minutes ... to test faster ;) ) : apply Notification "mail_two_levels" to Service { import "mail-service-notification" if ( service.state == "CRITICAL" ) { interval = 2m } else { int