monit-general
[Top][All Lists]
Advanced

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

RE: toggle feature


From: Jan-Henrik Haukeland
Subject: RE: toggle feature
Date: Sat, 28 Sep 2002 01:21:26 +0200

You are right. Only if you stop/start the process from the web-interface is the
do_validate flag set.

Jan-Henrik

> I don't believe it will set the flag if the process isn't running (i.e
> it's in a crash loop)
>
> On Fri, 2002-09-27 at 10:13, Jan-Henrik Haukeland wrote:
> > > > Isn't it easier to, stop monit - upgrade - start monit :-) Anyway I do
> > > > not think a this is a general useful feature.
> > >
> > > Not if it's running from init. Or, alternatively, one could change the
> > > code so that if I run "monit stop foo" or "monit start foo" it
> will change
> > > the do_validate flag, regardless of if the process is running or not.
> >
> > It should do so already. E.g. if you do "monit stop foo" the
> do_validate flag
> > is set to FALSE in the monit daemon. That is, monit will not validate the
> > process anymore, until you issue a "monit start foo"





reply via email to

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