Syslog Configuration on Suse Linux
1) Take copy of the existing configuration file.
# cp /etc/syslog-ng/syslog-ng.conf /etc/syslog-ng/syslog-ng.org
2) Add the destination for forwarding syslog messages in the below file.
# vi /etc/syslog-ng/syslog-ng.conf
destination loghost { udp("10.130.28.3" port(514)); };
log { source(src); destination(loghost); };
3) # SuSEconfig
4) Restart the service
# /etc/init.d/syslog restart
# ps -ef | grep -i syslog
1) Take copy of the existing configuration file.
# cp /etc/syslog-ng/syslog-ng.conf /etc/syslog-ng/syslog-ng.org
2) Add the destination for forwarding syslog messages in the below file.
# vi /etc/syslog-ng/syslog-ng.conf
destination loghost { udp("10.130.28.3" port(514)); };
log { source(src); destination(loghost); };
3) # SuSEconfig
4) Restart the service
# /etc/init.d/syslog restart
# ps -ef | grep -i syslog
No comments:
Post a Comment