Describe the Bug
A host with a configured dependency still sends a DOWNTIMEEND notification even though disable_notifications = true is set on the dependency.
Example configuration:
apply Dependency "remote-location" to Host {
parent_host_name = "remote-location"
disable_checks = true
disable_notifications = true
assign where "remote" in host.groups
}
Despite notifications being disabled via the dependency, a DOWNTIMEEND notification is still triggered.
To Reproduce
- Configure a host dependency with disable_notifications = true.
- Create a notification that triggers on DOWNTIMEEND.
- Put the dependent host into downtime.
- Let the downtime expire.
Expected Behavior
When disable_notifications = true is set on a dependency, no notifications (including DOWNTIMEEND) should be sent for the dependent host.
Alternatively, it would be helpful to have more granular control over which notification types are suppressed when using dependencies.
Environment
Icinga 2 version: r2.15.1-1
Operating System: Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Enabled features: api, checker, icingadb, influxdb, mainlog, notification
Describe the Bug
A host with a configured dependency still sends a
DOWNTIMEENDnotification even thoughdisable_notifications = trueis set on the dependency.Example configuration:
Despite notifications being disabled via the dependency, a DOWNTIMEEND notification is still triggered.
To Reproduce
Expected Behavior
When disable_notifications = true is set on a dependency, no notifications (including DOWNTIMEEND) should be sent for the dependent host.
Alternatively, it would be helpful to have more granular control over which notification types are suppressed when using dependencies.
Environment
Icinga 2 version: r2.15.1-1
Operating System: Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Enabled features: api, checker, icingadb, influxdb, mainlog, notification