check host nginx with address 127.0.0.1
start program = "/bin/systemctl start nginx"
stop program = "/bin/systemctl stop nginx"
if failed port 80 then restart
if 5 restarts within 5 cycles then timeout
monit port
Leave a reply
check host nginx with address 127.0.0.1
start program = "/bin/systemctl start nginx"
stop program = "/bin/systemctl stop nginx"
if failed port 80 then restart
if 5 restarts within 5 cycles then timeout