this is quite a late summary, am sorry... :) i have been busy with other
so far, none the answers are below.. anyway, lots of responses suggested to:
(1) use the program "swatch".. this will watch for particular patterns n logs
files and mail them as they appear. Other programs are: logsurfr ssyslogd,
syslogng, WOTS, logwatcher, logcheck
(2) make a script that will make crontab send emails. This means, you gotta
manipulate the log file yourself.
(3) a response from someone who really tried to help me out: <tho, i still
haven't tried but i think this is what i'm asking for!!!>
I think, yes. For example, in /etc/syslog.conf :
* .alert <tab separated, not spaces!> root,operator
Make either root or operator ~/.forward the e-mail
to an account of your choice.
thanks a lot Drexx, he also send me some files and i can send it to you guys
if you are interested.. just drop me a mail.
(4) another also from Karl is:
The only way I can think of is to have one of the logfiles in
syslog.conf actually be a named pipe. Have a mail-capable program
listening at the other end of the pipe.
thanks to all of you guys,
Ana Yuseepi <email@example.com> wrote:
> Hello all,
> does anyone know how to get syslogd to send emails?
> i have read from a book that it can be done but no details tho on how to do
> it.. i'd appreciate any info you can give.
> or better yet, is there any existing C program that will do this?
> Get your own FREE, personal Netscape WebMail account today at
Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:08 CDT