monit-general
[Top][All Lists]
Advanced

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

monit with nginx


From: Derek
Subject: monit with nginx
Date: Tue, 26 Oct 2010 12:29:51 +1300
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.11) Gecko/20101013 Lightning/1.0b2 Thunderbird/3.1.5

Hi All,

I have a number of servers running nginx in my environment.  Also using monit to monitor they are up and responding to port 80.

I'm seeing "Server returned status 400" from monit and would like to solve this issue.

This combination works fine on monit 5.0.3, however gives the 400 error on servers running 4.10.1.  I found a few google hits on this like this one - http://serverfault.com/questions/131888/nginx-wont-respond-to-monit

Does anyone have any ideas?

A config sample:

check host domain.com with address 123.456.78.910
if failed icmp type echo with timeout 4 seconds for 2 cycles then alert
if failed port 80 protocol http for 2 cycles then alert

Also - does start/stop program need an '=' before the start/stop command? doesn't seem to matter either way..

Thanks
Derek


reply via email to

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