Guest User

Untitled

a guest
Jun 19th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. Very simple staticly defined sensu proxy check using ping command.
  2. source attribute value be used in the check result to replace the client name.
  3. replace <<HOST>> with hostname want
  4.  
  5. {
  6. "checks": {
  7. "ping-<<HOST>>": {
  8. "command": "ping <<HOST>>",
  9. "subscribers": [
  10. "ping-proxy"
  11. ],
  12. "interval": 60,
  13. "source": "<<HOST>>",
  14. }
  15. }
  16. }
Add Comment
Please, Sign In to add comment