Disable ping on hosts/ips managed by metallb
Related to T4534
Test Plan
- pergamon:
diff origin/production/pergamon.softwareheritage.org current/pergamon.softwareheritage.org
*******************************************
Concat::Fragment[icinga2::object::Host::ArgoCD Kubernetes cluster] =>
parameters =>
content =>
@@ -7,3 +7,4 @@
vars.dummy_state = 0
vars.dummy_text = "HTTP-only host"
+ vars.noping = true
}
*******************************************
Concat::Fragment[icinga2::object::Service::ping4] =>
parameters =>
content =>
@@ -5,3 +5,4 @@
check_command = "ping4"
assign where host.address
+ ignore where host.vars.noping
}
*******************************************
Concat_fragment[icinga2::object::Host::ArgoCD Kubernetes cluster] =>
parameters =>
content =>
@@ -7,3 +7,4 @@
vars.dummy_state = 0
vars.dummy_text = "HTTP-only host"
+ vars.noping = true
}
*******************************************
Concat_fragment[icinga2::object::Service::ping4] =>
parameters =>
content =>
@@ -5,3 +5,4 @@
check_command = "ping4"
assign where host.address
+ ignore where host.vars.noping
}
Icinga2::Object::Host[ArgoCD Kubernetes cluster] =>
parameters =>
vars =>
noping =>
+ true
*******************************************
Icinga2::Object::Service[ping4] =>
parameters =>
ignore =>
- [ ]
+ ["host.vars.noping"]
*******************************************
Icinga2::Object[icinga2::object::Host::ArgoCD Kubernetes cluster] =>
parameters =>
attrs =>
vars =>
noping =>
+ true
*******************************************
Icinga2::Object[icinga2::object::Service::ping4] =>
parameters =>
ignore =>
- [ ]
+ ["host.vars.noping"]
*******************************************
*** End octocatalog-diff on pergamon.softwareheritage.org
Migrated from D8577 (view on Phabricator)