[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with monitoring apache

From: Jan-Henrik Haukeland
Subject: Re: problem with monitoring apache
Date: Thu, 11 Oct 2007 17:17:50 +0200

On 11. okt. 2007, at 02.18, address@hidden wrote:

  check process apache with pidfile /var/run/
    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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]