On 11. okt. 2007, at 02.18, [EMAIL PROTECTED] wrote:
check process apache with pidfile /var/run/apache2.pid
start program = "/etc/init.d/apache2 start"
stop program = "/etc/init.d/apache2 stop"
if failed host localhost port 80 protocol http
and request "/monit"
then restart
Try running monit from console, in debug mode i.e. 'monit -Iv' to see
what the server actually returns seen from monit. Look for lines such
as 'HTTP error: Server returned status xxx' where xxx is something
other than 200.
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general