[rsyslog-notify] Forum Thread: Re: Correct syntax of addtlframedelimiter - (Mode 'reply')

noreply at adiscon.com noreply at adiscon.com
Fri Jan 29 20:26:07 CET 2016


User: rich350 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=26303#p26303

Message: 
----------
in /etc/rsyslog.conf I have:
[code:19xk532m]
module(load="imptcp" AddtlFrameDelimiter="0") # needs to be done just once
[/code:19xk532m]

[code:19xk532m]
Jan 29 18:44:22 backup1 rsyslogd-2207: error during parsing
file /etc/rsyslog.conf, on or before line 23: parameter
'AddtlFrameDelimiter' not known -- typo in config file?
[v8.16.0 try http://www.rsyslog.com/e/2207 ]
[/code:19xk532m]

It works for the imtcp module, but not imptcp.  I have tried this with
rsyslog-7.4.7-7.el7_0.x86_64 (current default version in rhel7.1) and also
with rsyslog-8.16.0-1.el7.x86_64 from the rsyslog repo.  Is this a bug? 
Also, I discovered this was needed while testing tcp and rsyslog using this
command from another rhel7 machine:

[code:19xk532m]
logger -T -P 514 -n my.rsyslog.server -p user.info "hello world
tcp"
[/code:19xk532m]

Word to the wise: logger -T sends messages that end with null bytes instead
of newlines, so without this option, rsyslog will receive the message but
will not send it through the ruleset.  Ideally there would be a warning in
rsyslog debug mode to this effect, but I eventually figured out this was
the reason why.


More information about the rsyslog-notify mailing list