[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 09:44:22 CEST 2016
User: Genluck
Forumlink: http://kb.monitorware.com/viewtopic.php?p=26708#p26708
Message:
----------
Hi, dlang.
Thanks for your help. What is better way to send IP address as argument?
Will this be ok?
[code:1b15qyz4]$template HostIP,"%FROMHOST-IP%"
$ActionOMProgBinary /home/run-script.sh
:msg, contains, "%SYS-5-CONFIG_I: Configured from console by test
on console" :omprog:;HostIP[/code:1b15qyz4]
Best Regards.
More information about the rsyslog-notify
mailing list