Stop service checks if host is down

I had the similar challenge and also wanted to disable the service checks during the time a host is down.
The following rule solved my problem - and should also solve yours because without service checks there should be no service notifications…

#
# Disable servicechecks on hosts in state DOWN
#
apply Dependency "disable-host-service-checks" to Service {
  disable_checks = true
  assign where true
}

Cheers,
Manfred

3 Likes