Created
September 27, 2012 23:22
-
-
Save nstielau/3797054 to your computer and use it in GitHub Desktop.
Sensu Push Example
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
echo '{ | |
"handlers": ["debug"], | |
"name": "push_woot_test", | |
"output": "woot!", | |
"status": 0 | |
}' | nc -w1 127.0.0.1 3030 |
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
tail -f /var/log/sensu/*.log | grep woot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment