monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[monit] [error] [client 92.51.16.x] File does not exist: /var/www/vhosts


From: Tom Coady
Subject: [monit] [error] [client 92.51.16.x] File does not exist: /var/www/vhosts/example.com/httpdocs/monit
Date: Thu, 8 Oct 2009 16:32:36 +0100

Please excuse me if this is a FAQ. I get this message every 60.5 seconds in my apache error log:

[Thu Oct 08 16:22:42 2009] [error] [client 92.51.16.x] File does not exist: /var/www/vhosts/example.com/httpdocs/monit
[Thu Oct 08 16:23:42 2009] [error] [client 92.51.16.x] File does not exist: /var/www/vhosts/example.com/httpdocs/monit
[Thu Oct 08 16:24:42 2009] [error] [client 92.51.16.x] File does not exist: /var/www/vhosts/example.com/httpdocs/monit

Here is my config:

address@hidden:/var/www/vhosts/example.com/statistics/logs# more /etc/monit/
monitrc     oldmonitrc  
address@hidden:/var/www/vhosts/example.com/statistics/logs# more /etc/monit/monitrc 
set daemon  60
set logfile syslog facility log_daemon
set mailserver localhost
set mail-format { from: address@hidden }
set init
set alert xx
set httpd port 2812 and allow x:u    
#     SSL ENABLE
#     PEMFILE  /var/certs/monit.pem

check process apache with pidfile /var/run/apache2.pid
   group www
   start program = "/etc/init.d/apache2 start"
   stop program  = "/etc/init.d/apache2 stop"
   if failed host 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 > 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   


reply via email to

[Prev in Thread] Current Thread [Next in Thread]