소스 검색

icinga2: Ignore ifupdown2 check on nodes running ifupdown-ng

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 2 년 전
부모
커밋
5fc21b1d9d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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
 }