2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

fix for bug 4478: setup syslog v8 on MN to receive syslog entries from remote hosts

This commit is contained in:
ligc 2015-04-21 04:52:21 -04:00
parent 689d443953
commit 22cb84d357

View File

@ -168,6 +168,12 @@ config_rsyslog_V8()
echo "# xCAT settings" >> $conf_file
echo "*.debug /var/log/messages" >> $conf_file
# Need to uncomment the lines $ModLoad imudp.so and $UDPServerRun 514,
# to make the MN be able to receive syslog from remote hosts
if [ -f "$remoteconf" ]; then
sed -i 's/#\$ModLoad imudp.so/\$ModLoad imudp.so/' $remoteconf
sed -i 's/#\$UDPServerRun 514/\$UDPServerRun 514/' $remoteconf
fi
else
# not logging local, forward logging
# backup the existing remote.conf file from the install