On 12/10/2013 08:09 AM, Rainer Gerhards wrote:
On Tue, Dec 10, 2013 at 12:16 PM, Rainer Gerhards
<[email protected]>wrote:

On Tue, Dec 10, 2013 at 4:33 AM, Erik Steffl <[email protected]> wrote:

http://www.rsyslog.com/doc/imtcp.html mentions support of KeepAlive.

   Is this available with imrelp/omrelp? I don't see it listed in docs:

http://www.rsyslog.com/doc/imrelp.html
http://www.rsyslog.com/doc/omrelp.html

   Just trying to see if KeepAlive would be a reasonable workaround for
the problem we encounter when using Amazon Elastic Load Balancer which
seems to cause huge delays if there is 5 minute gap in traffic.

   These do not work, tried them one by one (config error):

input(type="imrelp" port="5140" KeepAlive="on")
module(load="imrelp" ruleset="collector" KeepAlive="on")
module(load="omrelp" KeepAlive="on")
action(type="omrelp" KeepAlive="on" ...)

   Given that i/omrelp modules use TCP is there some way to make them use
TCP KeepAlive?


As you say, it's not currently implemented. But it's an interesting idea.
I think it can quickly be done, will look at it.


I have now added it. You'll need librelp 1.2.2 (not yet released, but
soon). This is the core patch:

http://git.adiscon.com/?p=rsyslog.git;a=commitdiff;h=02da275527f94c9dbc7bbfa2bc028d265867b762

The feature will be released as part of 8.1.4. Doc is here (search for
"KeepAlive"):

http://www.rsyslog.com/doc/imrelp.html

  great, thanks!

think I'll wait for librelp 1.2.2 to be released before testing it, given that you say it will be out soon,

        erik

_______________________________________________
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