0
Monit v5.5를 사용하고 있으며 apache에 대한 확인을 설정하려고합니다. 아래의 모든 것은 문서에 따른 것입니다. 그러나 내가 monit -t
라고 말하면, /etc/monit.conf:155: Error: syntax error 'http'
은 HTTP HEADERS 행을 가리킨다. 그것을 밖으로 주석으로 잘 작동합니다. content = "WrongPath"
와 동일한 문제. 아무도 올바른 방향으로 나를 가리킬 수 있습니까?Monit 구문 오류
check host mysite with address mysite.com
start program = "/usr/sbin/httpd start"
stop program = "/usr/sbin/httpd stop"
if failed port 80 protocol http
with http headers [Host: mysite.com, Cache-Control: no-cache]
and request "/pingtest.html" with content = "WrongPath"
then restart
if 5 restarts within 10 cycles then timeout
최신 버전 시도 5.11 – kev