Hi,

On Wed, Apr 25, 2018 at 02:10:33PM -0600, Alvaro Cordero wrote:
> You can look at the following conversation and verify if this is what you
> are experiencing.
> 
> https://github.com/Icinga/icinga2/issues/5405

Upgraded to 2.8.4 and still does not work - Made a host in
the parent_host chain unreachable via iptables. That host
goes down - Hosts behind that do not change any state.

I'd expect them to go into state UNREACHABLE.

ii  icinga2                  2.8.4-1.stretch   amd64             host and 
network monitoring system
ii  icingaweb2               2.5.2-1.stretch   all               simple and 
responsive web interface for Icinga

Thats my Dependency apply

apply Dependency "depend-host-parent_host" to Host {
    parent_host_name = host.vars.parent_host

    assign where host.vars.parent_host
}

Here are the example hosts from the director export for which i made the extif
unreachable. intif did not change any state:

object Host "fwusex01-extif" {
    import "Network Device Firewall"

    display_name = "fwusex01-exitf"
    address = "a.b.c.d"
    vars.parent_host = "vse-gateway-RB"
    vars.ping_crta = "400"
    vars.ping_wrta = "300"
}

object Host "fwusex01-intif" {
    import "Network Device Firewall"

    display_name = "fsusex01-intif"
    address = "172.28.2.254"
    vars.parent_host = "fwusex01-extif"
    vars.ping_crta = "400"
    vars.ping_wrta = "300"
}

icinga object list shows the dependencies and i can see them in
the statusmap.

Flo
-- 
Florian Lohoff                                                 f...@zz.de
             UTF-8 Test: The 🐈 ran after a 🐁, but the 🐁 ran away

Attachment: signature.asc
Description: PGP signature

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to