there should be a .qi file in that directory, without it you will have problems.

David Lang

On Fri, 24 May 2013, Roberto Giordani wrote:

Date: Fri, 24 May 2013 10:51:57 +0200
From: Roberto Giordani <[email protected]>
Reply-To: rsyslog-users <[email protected]>
To: rsyslog-users <[email protected]>
Subject: [rsyslog] Avoid lose messages when Centralized Rsyslog server is       
down

Hello,
I need to know how to flush messages cached on disk on rsyslog client when Centralized Rsyslog server was down for short period.
I use a tcp connection not RELP.

This is my configuration on client

$ModLoad imfile

$InputFileName /appl/logs/test1.log
$InputFileTag test1
$InputFileStateFile file1
$InputFileSeverity debug
$InputFileFacility local6
$InputRunFileMonitor
$InputFilePersistStateInterval 1000

$WorkDirectory /var/lib/rsyslog
$ActionQueueFileName fwdRule1
$ActionQueueMaxDiskSpace 1g
$ActionQueueSaveOnShutdown on
$ActionQueueType Disk
$ActionResumeRetryCount -1
$ActionQueueTimeoutEnqueue 1
$ActionSendResendLastMsgOnReconnect on

local6.debug   @@10.10.1.10:10514

I see the /var/lib/rsyslog/fwdRule1.00000053 that contains the msg recieved from local6.debug, but if I stop the Centralized Rsyslog server 10.10.1.10 for 5 minutes, on restart the queue on client was not flushed to it.

Could someone please indicate me the flow to reach the goal?

Thanks.

_______________________________________________
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