Skip to content

Instantly share code, notes, and snippets.

@jspaleta
Created June 17, 2018 18:29
Show Gist options
  • Save jspaleta/722889589749d1c83a8cf692de63bdfd to your computer and use it in GitHub Desktop.
Save jspaleta/722889589749d1c83a8cf692de63bdfd to your computer and use it in GitHub Desktop.
simple_sensu_proxy_check_example
Very simple staticly defined sensu proxy check using ping command.
source attribute value be used in the check result to replace the client name.
replace <<HOST>> with hostname want
{
"checks": {
"ping-<<HOST>>": {
"command": "ping <<HOST>>",
"subscribers": [
"ping-proxy"
],
"interval": 60,
"source": "<<HOST>>",
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment