From owner-freebsd-stable@FreeBSD.ORG Mon Jan 21 17:58:58 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 70FBD16A420; Mon, 21 Jan 2008 17:58:58 +0000 (UTC) (envelope-from info@martenvijn.nl) Received: from lists.martenvijn.nl (vijn.xs4all.nl [194.109.254.102]) by mx1.freebsd.org (Postfix) with ESMTP id 36A9D13C4F3; Mon, 21 Jan 2008 17:58:58 +0000 (UTC) (envelope-from info@martenvijn.nl) Received: from [192.168.1.6] (workstation.martenvijn.nl [192.168.1.6]) by lists.martenvijn.nl (Postfix) with ESMTP id AADDA5C88; Mon, 21 Jan 2008 18:42:13 +0100 (CET) From: Marten Vijn To: Ivan Voras In-Reply-To: References: Content-Type: text/plain Date: Mon, 21 Jan 2008 18:41:34 +0100 Message-Id: <1200937294.1203.3.camel@workstation.martenvijn.nl> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit 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:58:58 -0000 On Mon, 2008-01-21 at 13:33 +0100, Ivan Voras wrote: > Hi, > > 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. > man: - syslog.conf ( log to file,mail,remote host, | proces) - syslogd - logger - newsyslog These are all in base, kind regards, -- Marten Vijn http://martenvijn.nl http://wifisoft.org http://opencommunitycamp.org