Created
June 17, 2018 18:29
-
-
Save jspaleta/722889589749d1c83a8cf692de63bdfd to your computer and use it in GitHub Desktop.
simple_sensu_proxy_check_example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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