Hi, i'd like to define a host dependency for an agent aka if the location router goes down dont send any notifications for hosts behind it. All those hosts are Windows machines with the icinga2 agent.
My dependencies (defined through the director) work for network devices but not for the agent defined windows machines. I had expected them to go "UNREACHABLE" when the router goes DOWN but they stay UP and healthy. apply Dependency "Location devices unreachable if rshesr01" to Host { import "Default Dependency" parent_host_name = "rshesr01" assign where host.name == "svhe-edge" } object Host "svhe-edge" { import "Agent" display_name = "svhe-edge" address = "a.b.c.d" vars.ping_crta = "400" vars.ping_wrta = "300" } object Host "rshesr01" { import "network device" display_name = "rshesr01" address = "a.b.c.d" vars.ping_crta = "400" vars.ping_wrta = "300" } Flo -- Florian Lohoff f...@zz.de UTF-8 Test: The 🐈 ran after a 🐁, but the 🐁 ran away
signature.asc
Description: PGP signature
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users