[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Checking for existing of a http path
From: |
Martin Pala |
Subject: |
Re: Checking for existing of a http path |
Date: |
Wed, 1 Aug 2012 10:32:04 +0200 |
Hi,
the configuration is missing either the pidfile or process pattern ("matching"):
check process myServer WITH PIDFILE …
or
check process myServer MATCHING "mypattern"
Regards,
Martin
On Jul 31, 2012, at 1:44 AM, David Montgomery <address@hidden> wrote:
> 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!
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Checking for existing of a http path,
Martin Pala <=