we would like to monitor a router, which has 3 Interfaces.
Interface 1: The "main" interface on the customer side. Its the host address
Interface 2: 1st WAN Uplink
Interface 3: 2nd WAN Uplink
I wrote a own plugin, which checks the WAN Uplinks as a service with escalation and stuff. (e.g. if one uplink is down, its a warnung, if both are down, its critical).
However, if the Customer unplugs the "main" interface, its IP (and the host address) is down and my service is stuck in hard state 1/3.
How can i still "run" the service check is the assigned host is down?
I already tried to depend the service to some other dummy host with:
- Code: Select all
define servicedependency{
dependent_hostgroup_name DualPing
service_description DualPing
dependent_host_name dummyhost
dependent_service_description DualPing
}
But that did not do the trick :/
Any other hints?
Cheers,
Michael