Hi just seeking for advise how to disable specific host ping critical alert on icinga web 2?
kindly refer to function below. is there a way to insert ping4/ping6 to disable it specifically on my-server1?
object Host “my-server1” {
address = “10.0.0.1”
check_command = “hostalive”
}
object Host “my-server2” {
address = “10.0.0.1”
check_command = “hostalive”
}
you can use the check_command “dummy” then the check will always be OK
1 Like
Hi thank you very much. will it also affect up/down? or just the service critical alert? after replacing the hostalive with dummy it doesn’t generate service critical alert anymore.
it will always result in “UP” if used in host
and OK if used in a service
1 Like
So basically if i disable the internet connectivity of the host it still reflect UP right?
cause what i only want to happen is just to isolate the ping critical alert but the up/down won’t be affected.

The service critical is quite noisy and just wanted to disable it without affecting the hosts up/down.
If you mean notifications, like mail, then you have to edit your notification apply rule.
using dummy means that the check _result is alway 0 which is OK for services and UP for Hosts. no real check will be executed. this is often used in business process check hosts