Explorar o código

icinga2: Ignore ifupdown2 check on nodes running ifupdown-ng

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm %!s(int64=3) %!d(string=hai) anos
pai
achega
5fc21b1d9d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      icinga2/services/network.conf

+ 1 - 0
icinga2/services/network.conf

@@ -17,6 +17,7 @@ apply Service "ifupdown2" {
 	vars.ok_string = "[ OK ]"
 
 	assign where host.address && host.vars.os == "Linux"
+	ignore where "ifupdown-ng" in host.vars.tags
 }