[syslog-ng] unable to setup syslog-ng for log monitoring
supratiksekhar at gmail.com
Tue Nov 30 10:02:40 CET 2010
Can you please suggest me some solution on how to overcome this situation.
My main purpose is to invoke the script which will send an alert mail only
there is a match of "attackalert" found in the log file.
On Tue, Nov 30, 2010 at 2:13 PM, SZALAY Attila <sasa at balabit.hu> wrote:
> Hi All!
> On Tue, 2010-11-30 at 13:40 +0530, Supratik Goswami wrote:
> > I created "/root/workspace/test" a bash script only with a simple echo
> > statement to check if it is working correctly or not. The problem is
> > whenever I start syslog-ng the script starts executing even if the
> > word "attackalert" is not recorded. The following is my syslog-ng.conf
> > configuration. Is there anything I am missing here ? Please advice.
> Yes, this is the expected (and documented) behavior. Syslog-ng start the
> scipt at the start time and the script should wait for the messages.
> And the script should not exit either because syslog-ng would not like
> SZALAY Attila
> Support (L3) Team Leader
> e-mail: attila.szalay at balabit.com
> BalaBit IT Security
> H-1115 Bártfai str. 54. Budapest
> This Communication is Confidential. We only send and receive email on
> the basis of the terms set out at http://www.balabit.com/disclaimer/.
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the syslog-ng