Hi, I am new to rsyslog but have found it very capable. I am using it via logger to log output of some of my scripts to local5. However I do want rsyslog to alert me via an alert script should it encounter a warning or error message sent to the log.
I have tested my alert script and that works ok, i give it two arguments subject and message. However I can not seem to work out how to make this work from rsyslog. I tried the following: $template Alert,"'Rsyslog Alert' :msg" local5.info :msg, content "warning" ^/usr/bin/alert_script Alert Ideally i want the Subject to be what i set it to, the message to be everything that comes after the word warning. I would also only like one alert every 24 hours. Any ideas or help would be gratefully received. Thanks Mark _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

