Created
November 26, 2012 16:00
-
-
Save mkempe/4148951 to your computer and use it in GitHub Desktop.
Monit Kung Fu
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
#!/usr/bin/env monit | |
check host foobar.com with address foobar.com | |
group www | |
group foobar.com | |
if failed icmp type echo with timeout 5 seconds for 1 cycles then alert | |
if failed port 80 protocol http timeout 5 seconds for 1 cycles then alert | |
if failed url http://foobar.com timeout 5 seconds for 1 cycles then alert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment