Enabling centralized syslog or syslogd for Centos5 and RHEL5


Syslog Server:

Edit /etc/sysconfig/syslog and change this:
SYSLOGD_OPTIONS="-m 0 -r -x"
Restart syslog:
# service syslog restart
Syslog uses UDP port 514.
Client :
Edit /etc/syslog.conf and add the following line :
*.* @loghost.example.com
Restart the syslog service :
# service syslog restart




Add a Comment

Your email address will not be published.