On Sep 24, 2012, at 11:12 AM, Jean-Luc Bassereau <[email protected]> wrote:

> Hello,
> 
> I'm trying to monitor a host that only delivers an empty web page with a 200 
> return code (btw, it's only a healthcheck page of another application running 
> on it).
> I'm not able to monitor it through monit with these settings :
> 
> 
> if failed URL http://myhost:9180/myapp
>                then alert
> 
> 
> This check always appears as failed on the web page.
> 
> Any advice on the settings I should try for this ?

The above test should work, just tested myself. Please make sure that there are 
no redirects etc from the server. You can also run Monit in debug mode to see 
the status code returned by the server: monit -Iv
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to