Hello, this used to happen in previos versions of Icinga2, but it was fixed
on latest releases. You should ensure you are in latest version. What
versión are you at?

Regards.



2018-04-25 9:33 GMT-06:00 Florian Lohoff <f...@zz.de>:

>
> 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
>
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.icinga.org
> https://lists.icinga.org/mailman/listinfo/icinga-users
>
>


-- 

*Alvaro Cordero RetanaConsultor de Tecnologias*
*Tel: 22585757 ext 123*
*Email:* alv...@gridshield.net
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to