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

###########################################################################
##  Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3      ##
###########################################################################
 
check process apache with pidfile /var/run/apache2/apache2.pid
   group www-data
   start program = "/etc/init.d/apache2 start"
   stop program  = "/etc/init.d/apache2 stop"
#   if failed host www-data.example.com port 80 protocol http
#      and request "/monit/token" then restart
#   if cpu is greater than 60% for 2 cycles then alert
#   if cpu > 80% for 5 cycles then restart
#   if totalmem > 50% for 5 cycles then restart
#   if children > 250 then restart
#   if loadavg(5min) greater than 10 for 8 cycles then restart
   # if 3 restarts within 5 cycles then timeout

unix/monit/debian/templates/apache.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.