|
From: | Jan-Henrik Haukeland |
Subject: | Re: [monit] [error] [client 92.51.16.x] File does not exist: /var/www/vhosts/example.com/httpdocs/monit |
Date: | Thu, 08 Oct 2009 22:28:59 +0200 |
On 8. okt. 2009, at 17.32, Tom Coady wrote:
if failed host example.com port 80 protocol http and request "/monit/token" then restart
The above is from an example I guess, which involves putting a token file in docroot to test that apache can retrieve the file and if not apache is restarted. Just replace the above line with the following and it should work.
if failed port 80 protocol http then alert
[Prev in Thread] | Current Thread | [Next in Thread] |