From owner-freebsd-stable@FreeBSD.ORG Mon Jan 21 12:59:22 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 D213216A541 for ; Mon, 21 Jan 2008 12:59:22 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8CFEB13C4F0 for ; Mon, 21 Jan 2008 12:59:22 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JGwFB-0003GU-QV for freebsd-stable@freebsd.org; Mon, 21 Jan 2008 12:59:17 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jan 2008 12:59:17 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jan 2008 12:59:17 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Mon, 21 Jan 2008 13:58:58 +0100 Lines: 40 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig36CFE0BE3FD6715086F38396" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.9 (X11/20070801) In-Reply-To: X-Enigmail-Version: 0.95.5 Sender: news 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 12:59:22 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig36CFE0BE3FD6715086F38396 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Vlad GALU wrote: > On 1/21/08, Ivan Voras wrote: >> Hi, >> >> Before I try to reinvent the wheel, I'd like to hear are there commonl= y >> used utilities that process syslog logs (e.g. /var/log/messages), grep= >> them for some regex and notify configured e-mail addresses, in real ti= me >> (as messages arrive)? I imagine something like that would either do a >> "tail -f" on log files or listen as a syslog filter. >=20 > http://www.vanheusden.com/multitail/examples.html I'm not an expert in multitail but isn't it only for agregating log files? I'd like something that performs an action (like sending an e-mail) if it encounters a regex-described event in log file(s). --------------enig36CFE0BE3FD6715086F38396 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHlJcaldnAQVacBcgRAnrBAKD3+mm6C1UFMbQV5EFyHOQM5D7EXgCePPSO SlcGS8tj2lvbtBNvldMLFVQ= =uf8I -----END PGP SIGNATURE----- --------------enig36CFE0BE3FD6715086F38396--