[rsyslog-notify] Forum Thread: Re: CentOS 7: rsyslog can't run propertly external script - (Mode 'reply')
    noreply at adiscon.com 
    noreply at adiscon.com
       
    Thu Jul  7 20:21:24 CEST 2016
    
    
  
User: dlang 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=26716#p26716
Message: 
----------
since you are using rsyslog 7+, you can use the action() format
<!-- m --><a class="postlink"
href="http://www.rsyslog.com/doc/v8-stable/configuration/modules/omprog.html">http://www.rsyslog.com/doc/v8-stable/co
... mprog.html</a><!-- m -->
module(load="omprog")
action(type="omprog"
       binary="/pathto/omprog.py --parm1=\"value 1\" --parm2=\"value2\"
       template="RSYSLOG_TraditionalFileFormat")
    
    
More information about the rsyslog-notify
mailing list