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:
parent
689d443953
commit
22cb84d357
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user