2014-11-05 8:08 GMT+01:00 David Lang <[email protected]>:

> If you want actions to take place all the time, you can eliminate the
> filter and just do the action, so eliminate *.* and &
>
> I suspect that the & is tripping you up, when an output is suspended,
> following actions with & aren't being executed because the first is
> suspended.
>
>
David, one of the very rare occasions where I need to correct you. The & is
fine. The logic is that when one is suspended (and not set to eternal
retry), the following ones are executed. So in theory this should work.

I am still in the middle of setting up more testing VMs and making sure all
of the testbench can be executed on as many of them as possible. Finally, I
am making progress, but this will still take some time to complete. I don't
want to jump on something else in the meantime, so I may be unresponsive
for another couple of days until this is settled. I think the long-term
benefits justify this (I already caught two bugs just due to a different
environment and enabling a test that usually could not be executed due to
insufficient tooling on the machine).

Rainer


> David Lang
>
>
> On Tue, 4 Nov 2014, Boylan, James wrote:
>
>  I'm attempting to use this function, however when the first action is
>> suspended, the follow up actions never seem to execute. It just sits in a
>> 'Suspended' state forever. Any help on this would be appreciated since from
>> what I can tell it is configured the way it should be.
>>
>>
>> *.*
>>  action(name="flume_collector.server2"
>>                                                           type="omfwd"
>>                                                           Target="server2"
>>                                                           Port="41414"
>>                                                           Protocol="tcp"
>>
>> queue.type="Fixedarray"
>>
>> queue.size="5000"
>>
>> queue.dequeuebatchsize="1"
>>
>> queue.workerthreads="16"
>>
>> template="flume-collector-Template")
>> &
>>  action(name="flume_collector.server3"
>>                                                           type="omfwd"
>>                                                           Target="server3"
>>                                                           Port="41414"
>>                                                           Protocol="tcp"
>>
>> queue.type="Fixedarray"
>>
>> queue.size="5000"
>>
>> queue.dequeuebatchsize="1"
>>
>> queue.workerthreads="16"
>>                                                           action.
>> execOnlyWhenPreviousIsSuspended="on"
>>
>> template="flume-collector-Template")
>> &
>>  action(name="flume_collector.server1"
>>                                                           type="omfwd"
>>                                                           Target="server1"
>>                                                           Port="41414"
>>                                                           Protocol="tcp"
>>
>> queue.type="Fixedarray"
>>
>> queue.size="5000"
>>
>> queue.dequeuebatchsize="1"
>>
>> queue.workerthreads="16"
>>                                                           action.
>> execOnlyWhenPreviousIsSuspended="on"
>>
>> template="flume-collector-Template")
>>
>> ?
>>
>> -- James
>> _______________________________________________
>> 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.
>
_______________________________________________
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