[rsyslog-notify] Forum Thread: Why wont this forwarding work? - (Mode 'post')
noreply at adiscon.com
noreply at adiscon.com
Fri Sep 4 17:00:31 CEST 2015
User: ToddHo
Forumlink: http://kb.monitorware.com/viewtopic.php?p=25894#p25894
Message:
----------
I am having trouble getting forwarding to work. It appears to work for a a
few seconds and stops.
Here is what my rsyslog.conf looks like:
================================================================================================
# if you experience problems, check
# <!-- m --><a class="postlink"
href="http://www.rsyslog.com/troubleshoot">http://www.rsyslog.com/troubleshoot</a><!--
m --> for assistance
#### MODULES ####
$ModLoad imuxsock.so # provides support for local system logging (e.g.
via logger command)
$ModLoad imklog.so # provides kernel logging support (previously done
by rklogd)
#$ModLoad immark.so # provides --MARK-- message capability
# Provides UDP syslog reception
$ModLoad imudp.so
$UDPServerRun 514
# Provides TCP syslog reception
#$ModLoad imtcp.so
#$InputTCPServerRun 514
#### GLOBAL DIRECTIVES ####
# Use default timestamp format
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
# File syncing capability is disabled by default. This feature is usually
not required,
# not useful and an extreme performance hit
#$ActionFileEnableSync on
# Set group ownership and permission of log files and dirs
$umask 0000
$FileGroup netadm
$FileCreateMode 0640
$DirGroup netadm
$DirCreateMode 0750
#### RULES ####
# Create dynamic logfiles for remote hosts
$template
DynaFile,"/var/log/syslog/%$YEAR%.%$MONTH%.%$DAY%/%FROMHOST-IP%.log"
*.* -?DynaFile
& ~
#
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none /var/log/messages
# The authpriv file has restricted access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.* -/var/log/maillog
# Log cron stuff
cron.* /var/log/cron
# Everybody gets emergency messages
*.emerg *
# Save news errors of level crit and higher in a special file.
uucp,news.crit /var/log/spooler
# Save boot messages also to boot.log
local7.* /var/log/boot.log
$WorkDirectory /var/log/syslog # default location for work (spool) files
$ActionQueueType LinkedList # use asynchronous processing
$ActionQueueFileName srvrfwd # set file name, also enables disk mode
$ActionResumeRetryCount -1 # infinite retries on insert failure
$ActionQueueSaveOnShutdown on # save in-memory data if rsyslog shuts down
*.* @@172.x.y.z:10514
===========================================================================================
More information about the rsyslog-notify
mailing list