[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: syslogd mail



On Tue, Sep 07, 1999 at 12:21:21AM +0200, Pere Camps wrote:
> Hi!
> 
> 	How can I make syslogd mail somebody an incident (aka log) when it
> happens?

There isn't support for email in syslogd, though the remote logging
feature (line with @hostname as the action in syslog.conf) may be close
enough to what you want.  Be sure to enable remote messages on the
destination host, with the -r switch.

Alternatively, I've just finished a modification to sysklogd-1.3-31 that
adds calling Perl functions as an action type.  Sending email from there
should be pretty easy.  I've put it under
http://frost.slimy.com/~jleonard/syslog/
until I figure out the right way to contribute it back to the community.

If you really want syslogd to send email directly, I'd be happy to explain how
to modify it to do so, but wouldn't code that myself unless paid to do so.

Jon Leonard


Reply to: