Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a monit rule which looks like this:

check host example.com with address example.com
  if failed url http://example.com/status
    content == "ok"
    then alert
  group example.com

But when the content doesn't match, instead of reporting a content error, Monit's HTTP status page reports a “connection failure” instead of the expected “content failure”, and the email simply says “failed protocol test”.

Have I misconfigured something? Or is monit normally this vague about failures?

share|improve this question
which version of monit was that? –  sendmoreinfo Aug 12 '12 at 13:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.