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

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
add comment

1 Answer

up vote 1 down vote accepted

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

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

Your Answer

 
discard

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.