it is already set to -1 as i understood this controls infinite retries
but what about intervals ?

On Tue, Nov 23, 2010 at 8:20 PM,  <[email protected]> wrote:
> look at ActionResumeInterval, it looks like what you are needing.
>
> David Lang
>
> On Tue, 23 Nov 2010, Sivan Greenberg wrote:
>
>> Hi all,
>>
>> I have two rsyslog nodes set up as follows:
>>
>> CLIENT:
>>
>>
>> $ModLoad omrelp
>> $ModLoad imuxsock
>>
>> $template myhostid,"%TIMESTAMP:::date-rfc3339% CLIENT157
>> %syslogtag:1:32%%msg:::sp-if-no-1st-sp%%msg%"
>> $WorkDirectory /root/rsyslog/spool
>> $MainMsgQueueSaveOnShutDown on
>> $MainMsgQueueType LinkedList
>> $MainMsgQueueFileName mainq
>> $MainMsgQueueSize 5
>> $MainMsgQueueCheckpointInterval 1
>> $MainMsgQueueHighWatermark 4
>> $MainMsgQueueLowWatermark  2
>> $MainMsgQueueMaxDiskSpace 1g
>>
>> $WorkDirectory /root/rsyslog/spool
>> $ActionQueueType Disk # making the queue pure disk type
>> $ActionQueueSyncQueueFiles on
>> $ActionQueueFileName forwq
>> $ActionResumeRetryCount -1 # infinite retires on insert failure
>> :msg, contains, "lead" :omrelp:10.200.10.181:10514;myhostid
>>
>>
>> SERVER:
>> $ModLoad omrelp
>> $ModLoad imuxsock
>> $ModLoad imrelp
>> $ModLoad ommysql
>>
>> $InputRELPServerRun 10514
>>
>> $template myhostid,"%TIMESTAMP:::date-rfc3339% ReplicaFrontEnd109
>> %syslogtag:1:32%%msg:::sp-if-no-1st-sp%%msg%"
>> $WorkDirectory /root/rsyslog/spool
>> $MainMsgQueueSaveOnShutDown on
>> $MainMsgQueueType LinkedList
>> $MainMsgQueueFileName mainq
>> $MainMsgQueueSize 5
>> $MainMsgQueueCheckpointInterval 1
>> $MainMsgQueueHighWatermark 4
>> $MainMsgQueueLowWatermark  2
>> $MainMsgQueueMaxDiskSpace 1g
>>
>> $WorkDirectory /root/rsyslog/spool
>> $ActionQueueType Disk # making the queue pure disk type
>> $ActionQueueSyncQueueFiles on
>> $ActionQueueFileName forwq
>> $ActionResumeRetryCount -1 # infinite retires on insert failure
>> :msg, contains, "lead" :ommysql:127.0.0.1,Syslog,rsyslog,rsyslog
>> :msg, contains, "lead" /var/log/leads.log
>>
>>
>> -------------
>>
>> Message are delivered fine in normal case where server is always up,
>> however, rsyslog according to the configuration should support
>> resending messages in the disk queue if they have been stuck there due
>> to the server being down. So when I intentionally stop the server, and
>> bring it up again ($ reboot) messages waiting in the client's disk
>> queue seem to never get delivered to the server. Also I confirmed that
>> messages are still in the disk queue at the client side and rsyslog
>> never seems to try and send them again after it lost connection to the
>> server;
>> 1) Is there a way to set the interval by which rsyslog retries?
>> 2) If not how to fix this? maybe upgrading the 5.6.0 can solve this?
>>
>> Many thanks,
>>
>> -Sivan
>> _______________________________________________
>> rsyslog mailing list
>> http://lists.adiscon.net/mailman/listinfo/rsyslog
>> http://www.rsyslog.com
>>
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
>
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to