Skip to content

Instantly share code, notes, and snippets.

@mkempe mkempe/gist:4148951
Created Nov 26, 2012

Embed
What would you like to do?
Monit Kung Fu
#!/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
You can’t perform that action at this time.