Thread: Munin & Monit
View Single Post
Old 19th August 2006, 00:00
nenad nenad is offline
Senior Member
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 416
Thanks: 13
Thanked 5 Times in 5 Posts


is it possible to increase timeout for http protocol from 5 to 15 sec.?
check process apache with pidfile /var/run/
   group www
   start program = "/etc/init.d/apache2 start"
   stop program  = "/etc/init.d/apache2 stop"
   if failed host 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 10 cycles then restart
   if totalmem > 500 MB for 5 cycles then restart
   if children > 250 then restart
   if loadavg(5min) greater than 10 for 8 cycles then stop
   if 3 restarts within 5 cycles then timeout
and is it possible to check apache localy without testing it through web acess ?
sometimes, internet connection where my server resides is under heavy load, so timeouts could be bigger than 5 sec. , and it causes unnecesery resrtarts of apache...
Nenad Bulatovic
Debian Lenny & ISPConfig 3

Last edited by nenad; 19th August 2006 at 00:02.
Reply With Quote
Sponsored Links