Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Monit to monitor all of my services. The Jenkins process fails its HTTP test when Jenkins has the --prefix=/ci that I need to run it behind Apache.

  1. Is there any way to make Monit search an HTTP subdirectory?
  2. Why is it failing on the root because when I visit the root it shows only a 404 error.
share|improve this question
up vote 1 down vote accepted

You can make monit check a specific HTTP path instead of the default root path.

if failed host port 6633 protocol http request '/ci' then restart
share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.