Hello,
I have configured Rsyslog central server and created the same RELP client
configuration for all Rsyslog clients and Rsyslog server itself.
My test configuration below
1. Server only
# cat /etc/rsyslog.d/00-server.conf
$ModLoad imrelp
$InputRELPServerRun 2514
$template DynHostMessages,
"/var/log/HOSTS/%HOSTNAME%/messages-%$YEAR%%$MONTH%%$DAY%"
if $inputname == 'imrelp' then {
*.* -?DynHostMessages
stop
}
2. Clients and server
# cat /etc/rsyslog.d/50-client.conf
$ModLoad omrelp
*.* :omrelp:127.0.0.1:2514
While using the above configuration Rsyslog server process hungs on every
restart and needs to be killed by SIGKILL. There's no problem with
delivery of messages.
This configuration may looks strange. Why server should send messages to
themselves over relp? Just to simplify the configuration and standardize
log files location for all hosts without creating custom rules for the
server.
I have tested official packages
rsyslog 7.6.7-1.el7
rsyslog-relp 7.6.7-1.el7
and
rsyslog 8.10.0.ad1-2.el7
rsyslog-relp 8.10.0.ad1-2.el7
Is it a bug?
Regards,
Aleksey
_______________________________________________
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.