Created
April 19, 2012 18:59
-
-
Save erlingwl/2423078 to your computer and use it in GitHub Desktop.
Ngninx monit config
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
# nginx | |
check process nginx with pidfile /var/run/nginx.pid | |
start program = "/etc/init.d/nginx start" | |
stop program = "/etc/init.d/nginx stop" | |
if failed host 127.0.0.1 port 80 then restart | |
if cpu is greater than 40% for 2 cycles then alert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment