File: http://svn.grimore.org/configuration-templates/monit/debian/templates/lighttpd -

###########################################################################
##  Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3      ##
###########################################################################
 
check process lighttpd with pidfile /var/run/lighttpd.pid
   start program = "/etc/init.d/lighttpd start"
   stop program = "/etc/init.d/lighttpd stop"
   if cpu > 60% for 2 cycles then alert
   if cpu > 80% for 5 cycles then restart
   if totalmem > 200.0 MB for 5 cycles then restart
   if children > 250 then restart
   if loadavg(5min) greater than 10 for 8 cycles then stop
   if failed host 127.0.0.1 port 82 protocol http then restart
   # enable for SSL
   # if failed host 127.0.0.1 port 443 type tcpssl protocol http
   #   with timeout 15 seconds
   #   then restart
   # if 3 restarts within 5 cycles then timeout 

unix/monit/debian/templates/lighttpd.txt ยท Last modified: 2022/04/19 08:28 by 127.0.0.1

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.