Add monitoring basics

This commit is contained in:
2013-04-17 16:25:38 +02:00
parent b6a65d981f
commit 80057b0bf5
10 changed files with 104 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
check process nginx with pidfile /var/run/nginx.pid
start program = "/etc/init.d/nginx start"
stop program = "/etc/init.d/nginx stop"
if children > 250 then restart
if 5 restarts within 5 cycles then timeout