Forked from joemiller/sensu-handler-input-example.json
Last active
August 29, 2015 14:16
-
-
Save garlandkr/f14de4478935b72cf989 to your computer and use it in GitHub Desktop.
This file contains 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
{ | |
"client":{ | |
"name":"host01", | |
"address":"10.2.1.11", | |
"subscriptions":[ | |
"all", | |
"env_qa", | |
"frontend", | |
"proxy", | |
"apache" | |
], | |
"timestamp":1326390159 | |
}, | |
"check":{ | |
"name":"frontend_http_check", | |
"issued":1326390169, | |
"output":"HTTP CRITICAL: HTTP/1.1 503 Service Temporarily Unavailable - pattern not found - 593 bytes in 0.001 second response time |time=0.000500s;;;0.000000 size=593B;;;0\n", | |
"status":2, | |
"notification":"Frontend HTTP failed", | |
"command":"PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_http -I 127.0.0.1 -u http://web.example.com/healthcheck.html -R 'pageok'", | |
"subscribers":[ | |
"frontend" | |
], | |
"interval":60, | |
"handlers":[ | |
"default", | |
"pagerduty", | |
"irc", | |
"twitter", | |
"campfire" | |
], | |
"history":[ | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"2" | |
], | |
"flapping":false | |
}, | |
"occurrences":1, | |
"action":"create" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment