Hi, > On 28 Nov 2016, at 00:13, Lee Clemens <j...@leeclemens.net> wrote: > > Hello, > > I have the following Notification template and apply it as below. This is > working, except if the service remains Warning or Critical - notifications > continue to be sent based on the service's check interval.
Please show the output of “icinga2 —version”. Kind regards, Michael > > My understanding was that interval = 0 should disable such re-notifications, > but it seems to Critical -> Critical or Warning -> Warning checks are > considered hard state changes and notifications are sent (and re-sent). > > Is this the intended behavior? Is there a way to disable the re-notifications > when the state is not changing? My intent is for Critical -> Critical or W->W > for an unacknowledged service should not trigger additional > pages/notifications. > > Removing the apply configuration below stops all notifications, so it does > not appear some other configuration is getting involved. > > > template Notification "Test Service Email Template" { > command = "Standard Email Service" > interval = 0 > states = [ Critical, OK, Unknown, Warning ] > types = [ > Acknowledgement, > Custom, > DowntimeEnd, > DowntimeRemoved, > DowntimeStart, > FlappingEnd, > FlappingStart, > Problem, > Recovery > ] > } > > apply Notification "Apply Email Services Lee Clemens" to Service { > import "Test Service Email Template" > > interval = 0 > assign where "Notify Lee Clemens" in host.groups > users = [ "Lee Clemens" ] > } > > > Thanks, > Lee Clemens > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users -- Michael Friedrich, DI (FH) Senior Developer NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg Tel: +49 911 92885-0 | Fax: +49 911 92885-77 CEO: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 http://www.netways.de | michael.friedr...@netways.de ** OSMC 2016 - November - netways.de/osmc ** ** OSDC 2017 - Mai – osdc.de ** _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users