I've got the following monit script on an Ubuntu 10.04 server.

====================================
check host this.host.net with address this.host.net
        every 2 cycles
        start program = "/etc/init.d/apache2 start" with timeout 60 seconds
        stop program = "/etc/init.d/apache2 stop"
        if failed port 80 and protocol http
                and request "/login"
                with timeout 15 seconds
                for 4 cycles
                then restart
        if 3 restarts within 10 cycles then timeout
====================================

If a restart is triggered, apache gets turned off but doesn't get
started again? It is then brought back up by the next cycle.

What is likely to be causing this, where would I look to debug this,
the server is now just serving static files.

Thanks

jebw

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

Reply via email to