I've been setting up an Icinga instance using service dependencies as so:
define servicedependency{
dependent_host_name ahost
dependent_service_description Battery Time
host_name powerware1
service_description UPS Input 1 Voltage
notification_failure_criteria o
}
define servicedependency{
dependent_host_name ahost
dependent_service_description Battery Time
host_name powerware1
service_description UPS Input 2 Voltage
notification_failure_criteria o
}
These work, but suppress the alerts for "Battery Time" if either of the inputs is working. How can I adjust this so it suppresses only if both of the inputs are working?