Syslog

Aus Wiki
Zur Navigation springenZur Suche springen


syslog Server (syslogd)

im File /etc/sysconfig/syslog

SYSLOGD_PARAMS="-r -s EmptySoft.net"

syslog Client

syslog-ng

im File /etc/syslog-ng/syslog-ng.conf.in

### Enable this for logging to SyslogServer
log {
source(src);
filter(f_messages);
destination(loghost);
};
### Loghost
destination loghost {
udp("Intranet.EmptySoft.net" port (514));
};

danach nicht vergessen SuSEconfig zu starten

syslog Client (syslog)

im File /etc/syslog.conf

*.*                   @10.11.1.1

Computer | Linux