Hi,
i'm trying to set up my central rsyslog-server to log messages directly to a nfs share. however, i need some method to deal with the possible situation of that nfs share being unavailable. ideally, the messages would then be buffered in the same way as i have set up on the clients as described in
http://www.rsyslog.com/doc-rsyslog_reli ... rding.html.
however, i cant make it work. any ideas?
//Adam
config snippet:
*********************************************
$template DYNmessages,"/data/temp/log/tcp/HOSTS/%HOSTNAME%/%$year%/%$month%/%$day%/messages"
WorkDirectory /var/spool/rsyslog # where to place spool files
$ActionQueueType LinkedList # use asynchronous processing
$ActionQueueFileName srvrfwd1 # set file name, also enables disk mode
$ActionResumeRetryCount -1 # infinite retries on insert failure
$ActionQueueSaveOnShutdown on # save in-memory data if rsyslog shuts down
if $inputname != 'imudp' \
and $syslogseverity-text != 'debug' \
and ( $syslogfacility-text != 'mail' and $syslogfacility-text != 'authpriv' and $syslogfacility-text != 'cron' ) \
then ?DYNmessages
# ### end forwarding rule ###
*********************************************