configuration-templates – Rev 134

Subversion Repositories:
Rev:
###########################################################################
##  Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3      ##
###########################################################################

check process varnishd matching varnishd
   start program = "/etc/init.d/varnish start"
   stop program = "/etc/init.d/varnish stop"
   #if cpu > 60% for 2 cycles then alert
   #if cpu > 80% for 5 cycles then restart
   #if totalmem > 512 MB for 5 cycles then restart
   #if children > 250 then restart
   #if loadavg(5min) greater than 10 for 8 cycles then stop
   # set to ip and port of varnish
   #if failed host 127.0.0.1 port 80 protocol tcp then restart
   # enable only if you wish monit to stop trying to restart
   # if 3 restarts within 5 cycles then timeout

Generated by GNU Enscript 1.6.5.90.