From owner-freebsd-stable@FreeBSD.ORG Mon Jan 21 17:21:59 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F3A716A480 for ; Mon, 21 Jan 2008 17:21:59 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from outgoing02.lava.net (outgoing02.lava.net [64.65.64.125]) by mx1.freebsd.org (Postfix) with ESMTP id 312D413C4EF for ; Mon, 21 Jan 2008 17:21:59 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from malasada.lava.net (malasada.lava.net [64.65.64.17]) by outgoing02.lava.net (Postfix) with ESMTP id 8E7CB17117D; Mon, 21 Jan 2008 07:21:58 -1000 (HST) Received: by malasada.lava.net (Postfix, from userid 102) id 49F74153882; Mon, 21 Jan 2008 07:21:58 -1000 (HST) Date: Mon, 21 Jan 2008 07:21:58 -1000 From: Clifton Royston To: Ivan Voras Message-ID: <20080121172157.GA2236@lava.net> Mail-Followup-To: Ivan Voras , freebsd-stable@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org Subject: Re: syslog notifications? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 17:21:59 -0000 On Mon, Jan 21, 2008 at 01:33:07PM +0100, Ivan Voras wrote: > Before I try to reinvent the wheel, I'd like to hear are there commonly > used utilities that process syslog logs (e.g. /var/log/messages), grep > them for some regex and notify configured e-mail addresses, in real time > (as messages arrive)? I imagine something like that would either do a > "tail -f" on log files or listen as a syslog filter. Swatch, logwatch, probably numerous others. -- Clifton -- Clifton Royston -- cliftonr@iandicomputing.com / cliftonr@lava.net President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services