Hi,

I've been using log2mail to monitor log files in real-time and send
emails when certain messages matched given patterns.

Unfortunately this useful tool has been removed from the Debian
archive, so I was looking for alternatives but didn't really find one.

An idea that came to mind was, to use rsyslog to monitor arbitrary log
files (via imfile), use its powerful message processing engine to do
the matching and send notifications via ommail.
The log files in need to monitor are created by the application itself
and unfortunately can't be easily switched to use syslog

Do you think this is a sensible approach or do you propose alternatives?
I don't think ommail is flexible enough to allow more advanced
features that log2mail provides [2] like templating, resendtime or
sendtime, or is there?

Michael



[1] http://people.debian.org/~enrico/log2mail/
[2] http://people.debian.org/~enrico/log2mail/log2mail.conf_manpage.html

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to