monit-general
[Top][All Lists]
Advanced

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

Re: Starting (just) a specific group in daemon mode at startup


From: Alex Stewart
Subject: Re: Starting (just) a specific group in daemon mode at startup
Date: Sun, 2 Sep 2007 18:59:22 -0400

I found my mistake, the other group was not explicitly declared as
'mode manual' and hence monit was starting the group automatically.

-A

On 9/2/07, Alex Stewart <address@hidden> wrote:
> Dear All,
>
> I'm having some problems having monit start *just* a specific group
> (i.e. not all of the groups described in the monitrc and associated
> include files) at startup in addition to starting in daemon mode.
>
> My understanding from the documentation is that if any 'action
> arguments' are specified then monit will exit *without* making itself
> a daemon (regardless of the -d option/monitrc file), hence something
> like:
>
> monit -d 5 -c /usr/local/monit/monitrc -g local start all
>
> Results in monit starting the services in group local and then exiting
> (which I checked is indeed what happens).  Unfortunately the
> suggestion in the 'Monit with Heartbeat' section of the documentation
> (/usr/local/bin/monit -d 10 -c /etc/monitrc -g local) doesn't work for
> me either - monit just starts up *all* groups defined in the monitrc
> and associated include files.
>
> Can anyone please tell me how to do this?
>
> -Alex
>




reply via email to

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