RC system and monit
Brandon Gooch
jamesbrandongooch at gmail.com
Fri Mar 18 02:18:19 UTC 2011
On Thu, Mar 17, 2011 at 8:05 PM, Harlan Stenn <Harlan.Stenn at 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
More information about the freebsd-rc
mailing list