On Wed, 7 Jan 2004, Jeff Adams wrote:

> Any recommendations for something that could look for error or warning
> messages in logs produced by syslog-ng and then mail them to me?

grep | mail

Or a small perl script, if you want to get fancy.

A little more exotic would be to have syslog-ng put all the messages you
want emailed into another log file (in addition to where they normally
go).  Then have logrotate rotate the file out and email it to you.

-- 
CAUTION: Product will be hot after heating


--
[EMAIL PROTECTED] mailing list

Reply via email to