###########################################################################
##  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

assets/monit/debian/templates/varnish.txt ยท Last modified: by office

Wizardry and Steamworks

© 2025 Wizardry and Steamworks

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.