Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 May 2001 18:15:57 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Bill Moran <wmoran@iowna.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Vinum in syslog
Message-ID:  <20010513181557.K86168@wantadilla.lemis.com>
In-Reply-To: <3AFDB947.AB02ABDD@iowna.com>; from wmoran@iowna.com on Sat, May 12, 2001 at 06:29:27PM -0400
References:  <3AFDB947.AB02ABDD@iowna.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010513181557.K86168>