[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


the configuration is missing either the pidfile or process pattern ("matching"):

        check process myServer WITH PIDFILE …


        check process myServer MATCHING "mypattern"


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 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'
> --
> To unsubscribe:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]