abdi
Platinum Pleskian
Anybody seen this error before while enabling Watchdog (This comes if you have recent MUs):
I tried analyzing that /tmp/monitrc.chk & /usr/local/psa/etc/modules/watchdog/monitrc.tpl file and I noticed the following lines:
Did the dev team leave out something on Nginx?
Code:
Error: Unable to process /usr/local/psa/etc/modules/watchdog/monitrc.tpl configuration file:
/tmp/monitrc.chk:111: Error: the executable does not exist '<nginx_start>'
/tmp/monitrc.chk:112: Error: the executable does not exist '<nginx_stop>'
/tmp/monitrc.chk:113: Error: syntax error '<nginx_connection_timeout>'
I tried analyzing that /tmp/monitrc.chk & /usr/local/psa/etc/modules/watchdog/monitrc.tpl file and I noticed the following lines:
Code:
# Nginx
check process nginx
with pidfile /var/run/nginx.pid
start = "<nginx_start>"
stop = "<nginx_stop>"
if failed host 85.123.123.123 port 80 send "GET / HTTP/1.1\r\nHost: 85.123.123.123\r\n\r\n" expect "HTTP/1\.[01x] ([1-4][0-9]{2}|502) .*\r\n" with timeout <nginx_connection_timeout> seconds then restart
if <nginx_timeout_restarts> restarts within <nginx_timeout_cycles> cycles then timeout
every <nginx_cycles> cycles
mode <nginx_mode>
Did the dev team leave out something on Nginx?