Skip to content

Instantly share code, notes, and snippets.

@plasticbrain
Last active September 25, 2015 17:38
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 plasticbrain/2412a3389b12c6233965 to your computer and use it in GitHub Desktop.
Save plasticbrain/2412a3389b12c6233965 to your computer and use it in GitHub Desktop.
Sensu check for http
{
"checks": {
"http": {
"command": "/usr/local/bin/check-http.rb --url ':::http.url:::' --query ':::http.query:::' --timeout :::http.timeout|5:::",
"interval": 60,
"occurrences": 1,
"subscribers": [
"http"
],
"handlers": [ "default", "mailer", "slack"]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment