Hi, i am trying to get my way along service dependencys in icinga2 - I have a working setup with nagios 1 with tons of dependencys and now i am trying to get the same working with icinga2. I fail to do so.
I have a TenGigE port channel which depends on the 2 individual TenGigE interfaces. One of the interfaces goes down without any result on the port channel. I can see the dependency in the web gui but it does not seem to get processed. This is the config excerpt. Currently TenGigE 2/1/3 is Down. Port-channel20 is still OK ... I would have expected it to go CRITICAL aswell ... object Service "IF TenGigabitEthernet2/1/3" { # cb7aee14377f35ccb58d46d9c30dc331-if import "generic-service" host_name = "switch-a" check_command = "customif" vars.ifname="TenGigabitEthernet2/1/3" vars.sla = "24x7" } object Service "IF TenGigabitEthernet1/1/3" { # cb7aee14377f35ccb58d46d9c30dceb5-if import "generic-service" host_name = "switch-a" check_command = "customif" vars.ifname="TenGigabitEthernet1/1/3" vars.sla = "24x7" } object Service "IF Port-channel20" { # cb7aee14377f35ccb58d46d9c30ded52-if import "generic-service" host_name = "switch-a" check_command = "customif" vars.ifname="Port-channel20" vars.sla = "24x7" } object Dependency "switch-a-cb7aee14377f35ccb58d46d9c30dc331-if-switch-a-cb7aee14377f35ccb58d46d9c30ded52-if" { # Service dependency parent_host_name = "switch-a" child_host_name = "switch-a" # cb7aee14377f35ccb58d46d9c30dc331-if parent_service_name = "IF TenGigabitEthernet2/1/3" # cb7aee14377f35ccb58d46d9c30ded52-if child_service_name = "IF Port-channel20" states = [ OK ] } object Dependency "switch-a-cb7aee14377f35ccb58d46d9c30dceb5-if-switch-a-cb7aee14377f35ccb58d46d9c30ded52-if" { # Service dependency parent_host_name = "switch-a" child_host_name = "switch-a" # cb7aee14377f35ccb58d46d9c30dceb5-if parent_service_name = "IF TenGigabitEthernet1/1/3" # cb7aee14377f35ccb58d46d9c30ded52-if child_service_name = "IF Port-channel20" states = [ OK ] } -- Florian Lohoff f...@zz.de We need to self-defend - GnuPG/PGP enable your email today!
signature.asc
Description: Digital signature
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users