From owner-freebsd-rc@FreeBSD.ORG Fri Mar 18 02:18:19 2011 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E309106564A for ; Fri, 18 Mar 2011 02:18:19 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id BCCFC8FC1E for ; Fri, 18 Mar 2011 02:18:18 +0000 (UTC) Received: by wyf23 with SMTP id 23so3667389wyf.13 for ; Thu, 17 Mar 2011 19:18:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ZnrvEO8JCk+KghB5+xHcHvHN/L14zl2B5phOLdk0sto=; b=f1WyDW/xN+Cf/SkrnibS8gp9Uz4oyiKpgwHGnT16VdA+tRUKoqJwZfz+YaFfY56BPn TazDc9mpA0i5M7PrdXdbFAyi01vWAY3B5tIPUplehPr11+QokvS7QCadc/mP5TqIKae9 rVOrMnLTAELVyvmU0dBp2XXefwieWBAupS05E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=hknBDvP3V6qMKpPJAWV92WK/ItYq87YbOJpL0lTCflwD03hlUH1A8vRvEHSIq3M6Ta j1Jn35de4c2xb8zggP7DAKBlQM8dlbu4jFjW00cpbvG3yaKilMVYfgEJQZtFLD/o2nFx ipp214QZa7ZZTqymMb0/j3P+NGVN9HlQHsq/Y= MIME-Version: 1.0 Received: by 10.216.221.14 with SMTP id q14mr1646153wep.49.1300413132576; Thu, 17 Mar 2011 18:52:12 -0700 (PDT) Received: by 10.216.72.207 with HTTP; Thu, 17 Mar 2011 18:52:12 -0700 (PDT) In-Reply-To: <20110318010533.1DE4E28438@gwc.pfcs.com> References: <20110318010533.1DE4E28438@gwc.pfcs.com> Date: Thu, 17 Mar 2011 20:52:12 -0500 Message-ID: From: Brandon Gooch To: Harlan Stenn Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-rc@freebsd.org Subject: Re: RC system and monit X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2011 02:18:19 -0000 On Thu, Mar 17, 2011 at 8:05 PM, Harlan Stenn 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