I have never thought about such a case. So in which case you want the failover to happen? When the disk queue is full?
In any case, I don't see a way how this could be achieved with current code. Maybe it can be added, but I need to understand the use case behind it. Rainer > -----Original Message----- > From: [email protected] [mailto:rsyslog- > [email protected]] On Behalf Of Jacob Steinberger > Sent: Saturday, April 16, 2011 4:53 AM > To: rsyslog-users > Subject: Re: [rsyslog] Configuration - disk cache on remote action > failure > > > > On 4/4/2011 2:12 PM, Rainer Gerhards wrote: > >> Is there a way for an Action Queue to buffer to disk, if none of the > >> remote destinations are available? I don't mean a standard& > >> /var/log/moo, I mean something that rsyslog will reprocess if any of > >> the remote connections are reestablished. > > > > http://www.rsyslog.com/doc/rsyslog_reliable_forwarding.html > > > >> > >> # remote host is: name/ip:port, e.g. 192.168.0.1:514, port optional > >> *.* @@loadbalancedhostname > >> $ActionExecOnlyWhenPreviousIsSuspended on > >> & @@hostname1 > >> & @@hostname2 > >> $ActionExecOnlyWhenPreviousIsSuspended off > > With the linked config, we were able to get disk caching, which was > excellent, but we couldn't find a config to work with it, that would > also failover/failback. > > Suggestions? Will the above ActionExecOnlyWhenPreviousIsSuspended work > with disk assist? > > Jacob > _______________________________________________ > 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

