OpenSUSE

From rsyslog wiki

Jump to: navigation, search

In version 11.1, rsyslog is in the main repository for OpenSUSE.

Packages more recent can be found in the Darix repository:

http://download.opensuse.org/repositories/home:/darix/

Packages can be installed via zypper:

zypper install rsyslog3

Additional modules are in individual packages:

  • rsyslog3-module-gssapi
  • rsyslog3-module-mysql
  • rsyslog3-module-pgsql
  • rsyslog3-module-relp
  • rsyslog3-module-snmp

In case of PostgreSQL and MySQL modules, the SQL scripts are placed in the folder /usr/share/doc/packages/rsyslog/:

# ls /usr/share/doc/packages/rsyslog/
AUTHORS  COPYING  ChangeLog  README  contrib  doc  pgsql-createDB.sql

Replacing stock syslogd

After installing rsyslog3, stop the syslog daemon:

/etc/init.d/syslog stop

Eedit the file /etc/sysconfig/syslog and change the following options to:

SYSLOG_DAEMON="rsyslog"

To disable compatibility mode, change this line too:

RSYSLOGD_COMPAT_VERSION="3"

Restart the syslog daemon:

/etc/init.d/syslog start

The configuration file is /etc/rsyslog.conf.

Personal tools
language