[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monit start/stop in a synchronous mode

From: Martin Pala
Subject: Re: monit start/stop in a synchronous mode
Date: Tue, 17 Mar 2015 09:06:12 +0100

Thanks for feedback, yes, we plan to implement the CLI wait.


> On 16 Mar 2015, at 23:23, mmrobins <address@hidden> wrote:
> On 14 Oct 2014, at 13:46, Alainkr &lt;akreienbuhl@&gt; wrote:
> We have added the CLI wait and result report feature to our TODO list,
> currently the CLI just schedules the action and returns immediately.
> I would love to see this feature as well.  
> Besides the +1, I'll add a little bit of why.  We use monit in our deploy
> process in quite a few places to trigger restarts when new code goes out,
> but because this happens asynchronously it's hard to tell if the deploy
> succeeded until awhile after monit executes the restart command.  We tried
> having our deploys execute the commands directly so that we get can get this
> synchronously with a useful exit code, but what kept happening was someone
> would adjust the deploy restart command and forget to adjust the monit
> config with the new command or vice versa.
> Another option would be to just have monit respond with what it would run,
> that way we could exec that, but that gets a little trickier for groups of
> things.  For example something like
> # monit -g mygroup restart all
> /usr/bin service1 restart
> /usr/bin service2 restart
> --
> View this message in context: 
> Sent from the monit-general mailing list archive at
> --
> To unsubscribe:

reply via email to

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