Created
February 12, 2014 21:11
-
-
Save bsy/8964589 to your computer and use it in GitHub Desktop.
Monit config to monitor newrelic_resque_agent without a PID file
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
check process newrelic_resque_agent | |
matching "newrelic_resque_agent" | |
start program = "/usr/bin/ruby /usr/bin/newrelic_resque_agent run" | |
stop program = "/usr/bin/killall newrelic_resque_agent" | |
if cpu usage > 95% for 10 cycles then restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment