configuration-templates – Diff between revs 98 and 132

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 98 Rev 132
Line 6... Line 6...
6 group www-data 6 group www-data
7 start program = "/etc/init.d/apache2 start" 7 start program = "/etc/init.d/apache2 start"
8 stop program = "/etc/init.d/apache2 stop" 8 stop program = "/etc/init.d/apache2 stop"
9 # if failed host www-data.example.com port 80 protocol http 9 # if failed host www-data.example.com port 80 protocol http
10 # and request "/monit/token" then restart 10 # and request "/monit/token" then restart
11 if cpu is greater than 60% for 2 cycles then alert 11 # if cpu is greater than 60% for 2 cycles then alert
12 if cpu > 80% for 5 cycles then restart 12 # if cpu > 80% for 5 cycles then restart
13 if totalmem > 50% for 5 cycles then restart 13 # if totalmem > 50% for 5 cycles then restart
14 if children > 250 then restart 14 # if children > 250 then restart
15 if loadavg(5min) greater than 10 for 8 cycles then restart 15 # if loadavg(5min) greater than 10 for 8 cycles then restart
16 # if 3 restarts within 5 cycles then timeout 16 # if 3 restarts within 5 cycles then timeout