From owner-freebsd-questions@FreeBSD.ORG Mon Nov 24 14:59:44 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8913616A4CE for ; Mon, 24 Nov 2003 14:59:44 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6482D43FE1 for ; Mon, 24 Nov 2003 14:59:41 -0800 (PST) (envelope-from freebsd-questions@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AOPgC-0002Ms-00 for ; Mon, 24 Nov 2003 23:59:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AOPgB-0002Mk-00 for ; Mon, 24 Nov 2003 23:59:39 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AOPgB-0005Z5-00 for ; Mon, 24 Nov 2003 23:59:39 +0100 From: Jesse Guardiani Date: Mon, 24 Nov 2003 17:59:38 -0500 Organization: WingNET Lines: 52 Message-ID: References: <3B75ECFD-1DE6-11D8-A141-000A95DBBE34@mercurycloud.net> <58BF3BE2-1ED0-11D8-B5C4-000A95DBBE34@mercurycloud.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org User-Agent: KNode/0.7.2 X-Mail-Copies-To: never Sender: news Subject: Re: daemon monitoring X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2003 22:59:44 -0000 Will Prater wrote: > > On Nov 24, 2003, at 1:10 PM, Jesse Guardiani wrote: > >> Will Prater wrote: >> >>> List, >>> >>> What are most of you using to monitor the running daemons? I have been >>> loooking into DJB daemontools which seems appropriate, but are there >>> any others that you reccomend? >>> >>> If DJB's daemontools is the one, could I get some more examples? I am >>> primarily trying to keep my mail system online: postfix, cyrus, >>> saslauthd, mysql, and spamassassin. >> >> I'm particularly fond of daemontools/supervise, actually. You've got to >> jump through some hoops to get it working (process must run in >> foreground, >> process must start first time, etc..), but it's very reliable and the >> qmail style qmailctl script can be adapted to any configuration with >> minimal >> work to make an excellent control script. > > Yes, it looks promising. I have it working for a few of my processes. I > was looking to something similar to Mac OS X Servers watchdog. This is > much better. > > I get weird errors when I am trying to get saslauthd since I have to > use fghack to get it going. > > Can you send me the qmailctl script or some examples that you have with > some daemons on your system? >From Life with Qmail: http://www.lifewithqmail.org/qmailctl-script-dt70 And check out this: http://www.lifewithqmail.org/lwq.html#start-qmail Particularly section 2.8.2.2, "The supervise scripts". -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net