Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Page 1 sur 2
Install Rsyslog
In centos 5 the rsyslog package we need is called "rsyslog5"
centos 5:
$ sudo yum install rsyslog5 rsyslog5-gnutls
Centos 6 ships with rsyslog already installed and set to the default logging engine. However, lets make sure it is installed and the latest available version.
$ sudo yum install rsyslog
Enable rsyslog and start it
$ sudo chkconfig rsyslog on && sudo /etc/init.d/rsyslog start
Install the modified rsyslog configuration for the central rsyslog server
Install the attached configuration file and copy it to "/etc/rsyslog.conf". Then restart rsyslog to apply the changes. This will setup listeners on udp and tcp ports 5544 which will be
saved to /var/log/rsyslog-central/$HOSTNAME/syslog.log. It will also log any local messages to the usual places (/var/log/messages, /var/log/secure, /var/log/cron, etc).
central-rsyslog.conf
https://support.shotgunsoftware.com/entries/23195772-Installing-Rsyslog-Central-Ser... 14/12/2014
Page 2 sur 2
Client Configuration
Use the following steps listed under the server setup instruction to get a base configuration running on the client
1. Disable syslog and remove old versions of rsyslog (Centos 5)
2. Install Rsyslog
Once you have installed rsyslog and started it generate a client certificate and modify the configuration to forward messages to the central syslog server.
https://support.shotgunsoftware.com/entries/23195772-Installing-Rsyslog-Central-Ser... 14/12/2014