[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Token File?
From: |
Martin Pala |
Subject: |
Re: Token File? |
Date: |
Fri, 27 Aug 2004 17:13:26 +0200 |
You can try void file - just 'touch /var/www/monit/token' (or where your
DocumentRoot is).
Monit checks just the server response (it is possible to check content
checksum too, however this is not your case i think :)
Martin
----- Original Message -----
From: Kevin Sheen
To: address@hidden
Sent: Friday, August 27, 2004 3:59 PM
Subject: Token File?
I see the following in the Example configuration:
Hint: It is advisable to use a token file for monit. Thus, it is easily
possible to filter out the accesses done by monit.
In some cases init scripts for apache and apache-ssl are separated, e.g.
Debian Linux.
check process apache with pidfile
/opt/apache_misc/logs/httpd.pid
group www
start program = "/etc/init.d/apache start"
stop program = "/etc/init.d/apache stop"
if failed host 192.168.1.1 port 80
protocol HTTP request
/monit/token then restart
Is there any documentation (or an example) of the above token file. I'd
like to keep my apache log file from being 'disturbed' by monit if possible.
Thanks in advance,
Kevin
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general