dudu at dudu.ro
Mon Jan 21 05:03:49 PST 2008
On 1/21/08, Ivan Voras <ivoras at freebsd.org> wrote:
> Vlad GALU wrote:
> > On 1/21/08, Ivan Voras <ivoras at 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).
"An external tool can be executed when a regular expression
matches". It's all there, Luke.
More information about the freebsd-stable