Quellcode durchsuchen

icinga2: Ignore ifupdown2 check on nodes running ifupdown-ng

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm vor 2 Jahren
Ursprung
Commit
5fc21b1d9d
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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
 }