Parcourir la source

icinga2: Ignore ifupdown2 check on nodes running ifupdown-ng

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm il y a 2 ans
Parent
commit
5fc21b1d9d
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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
 }