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.

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

Reply via email to