Re: syslog and email

2008-08-29 Thread Allan Wind
On 2008-08-29T00:53:10, Mag Gam wrote: > Thanks all for the responses. It seems I am going to the syslog-ng > way, however I am having trouble setting up the email alerts. > I have written a script to email me but I am not sure how to set this > up in syslog-ng Here is what I use: filter alert {

Re: syslog and email

2008-08-28 Thread Mag Gam
Thanks all for the responses. It seems I am going to the syslog-ng way, however I am having trouble setting up the email alerts. I have written a script to email me but I am not sure how to set this up in syslog-ng For example, in /var/log/messages if I get a message "foo" I would like it to email

Re: syslog and email

2008-08-26 Thread Paul Johnson
On Mon, 2008-08-25 at 07:58 -0400, Mag Gam wrote: > Currently at my university we have 50 servers in our physics lab, and > I am forwarding all syslog messages to 1 server. Is it possible to > email me an alert once a particular alert occurs? Instead of > constantly parsing the log file, I would li

Re: syslog and email

2008-08-25 Thread Allan Wind
On 2008-08-25T07:58:57, Mag Gam wrote: > Is it possible to email me an alert once a particular alert occurs? > Instead of constantly parsing the log file, I would like something a > big more realtime. I use syslog-ng for this, and wrote a little program to bound latency and message size on aler

Re: syslog and email

2008-08-25 Thread Tzafrir Cohen
On Mon, Aug 25, 2008 at 07:58:57AM -0400, Mag Gam wrote: > Currently at my university we have 50 servers in our physics lab, and > I am forwarding all syslog messages to 1 server. Is it possible to > email me an alert once a particular alert occurs? Instead of > constantly parsing the log file, I w

Re: syslog and email

2008-08-25 Thread Gilles Mocellin
Le Monday 25 August 2008 14:48:29 Gilles Mocellin, vous avez écrit : > Le Monday 25 August 2008 13:58:57 Mag Gam, vous avez écrit : > > Currently at my university we have 50 servers in our physics lab, and > > I am forwarding all syslog messages to 1 server. Is it possible to > > email me an alert

Re: syslog and email

2008-08-25 Thread Gilles Mocellin
Le Monday 25 August 2008 13:58:57 Mag Gam, vous avez écrit : > Currently at my university we have 50 servers in our physics lab, and > I am forwarding all syslog messages to 1 server. Is it possible to > email me an alert once a particular alert occurs? Instead of > constantly parsing the log file,