Date: Mon, 21 Jan 2008 15:03:47 +0200 From: "Vlad GALU" <dudu@dudu.ro> To: "Ivan Voras" <ivoras@freebsd.org> Cc: freebsd-stable@freebsd.org Subject: Re: syslog notifications? Message-ID: <ad79ad6b0801210503icb75164mffdf2f46b7e56d7a@mail.gmail.com> In-Reply-To: <fn24uq$q00$1@ger.gmane.org> References: <fn23ee$lqd$1@ger.gmane.org> <ad79ad6b0801210449x71666d22sdbbb148921c81dbe@mail.gmail.com> <fn24uq$q00$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/21/08, Ivan Voras <ivoras@freebsd.org> wrote: > Vlad GALU wrote: > > On 1/21/08, Ivan Voras <ivoras@freebsd.org> 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. > > > > 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). > > > > http://www.vanheusden.com/multitail/features.html "An external tool can be executed when a regular expression matches". It's all there, Luke. -- Mahnahmahnah!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ad79ad6b0801210503icb75164mffdf2f46b7e56d7a>