On Wed, Jun 18, 2014 at 2:09 PM, masoom alam <[email protected]> wrote:

> omprog module is not working for us.
>
> we are adding the following code in our rsyslog.conf
>
> module(load="omprog")
> if $rawmsg contains "something" then action(type="omprog"
> binary="/opt/test.sh")
>
>
> test.sh contains simple echo message.
>
>
Note that you do not see stdout, if that is your sole test.

Rainer

>
> Regards
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
> DON'T LIKE THAT.
>
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to