Good day all.
I'm trying to get some dependencies in place for our monitoring.
We have a DC network and an Internal network at the office. the networks
are connected via two gateways.
All hosts in the DC network has dc.domain.com suffix, while the internal
network is int.domain.com.
The monitoring server is in the DC.
I've added the following config so all *.dc.domain.com hosts depends on the
parent gw.dc.domain.com and all *.int.domain.com hosts depend on parent
gw.int.domain.com.
apply Dependency "dc-dep" to Host {
parent_host_name = "gw.dc.domain.com "
assign where host.name == "*.dc.domain.com"
states = [ OK ]
disable_checks = true
disable_notifications = true
}
apply Dependency "int-dep" to Host {
parent_host_name = "gw.int.domain.com "
assign where host.name == "*.int.domain.com"
states = [ OK ]
disable_checks = true
disable_notifications = true
}
My logic being that is the GW in INT is not accessible, I don't want
notifications from the hosts in INT.
Last night we had an outage, we received a DOWN notification for
gw.int.domain.com, but I also received notifications for all the *.
int.domain.com hosts.
what am I missing ?
Regards
Henti
--
--
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users