[CentOS] syslog-ng

Fri Aug 29 11:19:49 UTC 2008
Mag Gam <magawake at gmail.com>


I know centos does not use syslog-ng, but I have installed it at my
university. My intention is if a particular string appears in my
/var/log/messages I would like to get an email alert.

For example, if i see a message "foo" in /var/log/kern I would like to
email myself.

Any idea how to do this? Has anyone done this before?