我正在使用Monit来监视我的所有服务。 当jenkins有--prefix=/ci我需要在Apache后面运行时,Jenkins进程不能通过HTTPtesting。
--prefix=/ci
你可以做一个特定的HTTPpath而不是默认的根path。
if failed host 127.0.0.1 port 6633 protocol http request '/ci' then restart