Date: Mon, 24 Nov 2003 17:59:38 -0500 From: Jesse Guardiani <jesse@wingnet.net> To: freebsd-questions@freebsd.org Subject: Re: daemon monitoring Message-ID: <bpu2gq$kci$1@sea.gmane.org> References: <3B75ECFD-1DE6-11D8-A141-000A95DBBE34@mercurycloud.net> <bpts4o$f5s$1@sea.gmane.org> <58BF3BE2-1ED0-11D8-B5C4-000A95DBBE34@mercurycloud.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bpu2gq$kci$1>