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




--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to