[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Checking for existing of a http path
From: |
David Montgomery |
Subject: |
Checking for existing of a http path |
Date: |
Tue, 31 Jul 2012 07:44:44 +0800 |
Hi,
What is the proper way to achieve the below?
check process myServer
if failed host 127.0.0.1 port 80 protocol HTTP and request
'/targeting' with timeout 3 seconds then restart
start program = "supervisorctl restart uwsgi_server:"
stop program = "supervisorctl restart uwsgi_server:"
I get this error
/etc/monit/monitrc:258: Error: syntax error 'if'
...fail!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Checking for existing of a http path,
David Montgomery <=