Created
February 11, 2012 14:24
-
-
Save icambridge/1799745 to your computer and use it in GitHub Desktop.
Monit config file
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
check system localhost | |
if memory usage > 65% then exec "/usr/bin/php /root/cloud/create.php" | |
if memory usage < 20% then exec "/usr/bin/php /root/cloud/terminate.php" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment