Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dnsmichi/2f152187555456f54012 to your computer and use it in GitHub Desktop.
Save dnsmichi/2f152187555456f54012 to your computer and use it in GitHub Desktop.
Remove command argument item
object CheckCommand "no-address-http" {
import "http"
arguments.remove("-I")
}
apply Service for (http_vhost => config in host.vars.http_vhosts) {
import "generic-service"
check_command = "no-address-http"
vars += config
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment