From owner-freebsd-questions Sun May 13 1:46:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 2E08437B43F for ; Sun, 13 May 2001 01:46:11 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 33B4B6ACBC; Sun, 13 May 2001 18:15:57 +0930 (CST) Date: Sun, 13 May 2001 18:15:57 +0930 From: Greg Lehey To: Bill Moran Cc: freebsd-questions@freebsd.org Subject: Re: Vinum in syslog Message-ID: <20010513181557.K86168@wantadilla.lemis.com> References: <3AFDB947.AB02ABDD@iowna.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AFDB947.AB02ABDD@iowna.com>; from wmoran@iowna.com on Sat, May 12, 2001 at 06:29:27PM -0400 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday, 12 May 2001 at 18:29:27 -0400, Bill Moran wrote: > I'm having a little bit of trouble figuring out how to handle this. > > Basically, I want to configure syslog.conf so that I am emailed any and > all vinum messages. I have a couple of servers I manage remotely and I'd > like to be notified (via email) whenever anything happens with the vinum > volumes. Well, the concept isn't specifically related to Vinum; you could do the same thing for an arbitrary event. I'm sure there's software available out there, but I don't know anything I could recommend. At a lower level, you could do this with syslogd. The man page syslog.conf(5) shows an example: # Pipe all authentication messages to a filter. auth.* |exec /usr/local/sbin/authfilter If you pipe the messages into something which recognizes the messages ("grep vinum") and mails them, you're most of the way there. But note that Vinum messages tend to come in bunches, so you should probably collect a bunch until they stop, then send the message. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message