RHEL6:
vim /etc/rsyslog.conf
Server: 开启UDP接收,把#去掉
#$ModLoad imudp.so
#$UDPServerRun 514
Client: 指定接收的服务器
*.info @192.168.0.26
//配置完成后重启 /etc/init.d/rsyslog restart
RHEL5:
vim /etc/syslog.conf
Server:
SYSLOGD_OPTIONS=”-r -x -m 0″
Client: 指定接收的服务器
*.info @192.168.0.26
//配置完成后重启 /etc/init.d/syslog restart
阅读(947) | 评论(0) | 转发(0) |