I am using shell execute 
(http://www.rsyslog.com/doc-rsyslog_conf_actions.html) to send emails 
from rsyslog. Other than the template string is there any way to send 
other stuff to the script?

Here's how I'm using it:

:msg,contains,"has no server available" 
^/usr/local/bin/rsyslog_mailer;PerHostHaproxyError

If possible I would like to send the entire :msg (line in the log) where 
the text is found to the script as well.

Thanks.

-Joe

-- 
Name: Joseph A. Williams
Email: [email protected]
Blog: http://www.joeandmotorboat.com/

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to