Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Mar 2011 20:52:12 -0500
From:      Brandon Gooch <jamesbrandongooch@gmail.com>
To:        Harlan Stenn <Harlan.Stenn@pfcs.com>
Cc:        freebsd-rc@freebsd.org
Subject:   Re: RC system and monit
Message-ID:  <AANLkTinOt84UZnRLe4yAWa%2BhWJ4vcwrLcE5TvZP=x6nv@mail.gmail.com>
In-Reply-To: <20110318010533.1DE4E28438@gwc.pfcs.com>
References:  <20110318010533.1DE4E28438@gwc.pfcs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 17, 2011 at 8:05 PM, Harlan Stenn <Harlan.Stenn@pfcs.com> wrote:
> I'm starting to use 'monit' at more sites, to monitor essential services
> and restart them if there is a problem.
>
> The thing is, monit uses the existing RC framework to start and stop
> these services, so when a machine is first started the RC system we have
> both the RC and monit starting these services, and I have seen things
> get Ugly (processes abort while there are multiple simultaneous attempts
> to start them, with the result that monit stops trying and the processes
> do not get started).
>
> I figure there are several ways to crack this problem, and I'd bet that
> other folks have thought about it already and might even have solutions.
>
> Harlan

While not as feature-rich as monit, have you heard about the fsc utility?

http://www.freebsd.org/news/status/report-2010-10-2010-12.html#FreeBSD-Services-Control-%28fsc%29

There is a port in progress as well:

http://people.freebsd.org/~trhodes/fsc/fsc-port.tar

It integrates well with the base system (as it is hoped to one day
become a part of). It may be a viable alternative to monit in your
situation...

-Brandon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinOt84UZnRLe4yAWa%2BhWJ4vcwrLcE5TvZP=x6nv>