Hi,

I have been playing more with OMPROG and have it working nearly the
way i want now in that it it now passes the correct message to my
external script by the pipe however, OMPROG seems to only flush the
data out to the pipe when rsyslog is shutdown, until that point it
just keeps the pipe/script open. Is there a way to force OMPROG to
flush each line to the pipe and then close the pipe or is there a
better way to do this?

So far i have:
$template smsBody,"%programname% 44788900000 %hostname% %rawmsg%"
$ModLoad omprog
$actionomprogbinary /usr/bin/alert1
if $programname == 'FILLER' then :omprog:;smsBody
& ~

Thanks

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

Reply via email to