From 62db9e53bd64b3c4ebd381e0d30c84e891aa9e00 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 6 Sep 2007 15:02:48 +0000 Subject: added template and info for forwarding messages to sysklogd --- doc/rsyslog_conf.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/rsyslog_conf.html b/doc/rsyslog_conf.html index 69760053..b596ee09 100644 --- a/doc/rsyslog_conf.html +++ b/doc/rsyslog_conf.html @@ -525,6 +525,13 @@ framing and maximum compression to the host 192.168.0.1 at port 1470.

In the example above, messages are forwarded via UDP to the machine 192.168.0.1, the destination port defaults to 514. Messages will not be compressed.

+

Note to sysklogd users: sysklogd does not support RFC 3164 +format, which is the default forwarding template in rsyslog. As such, you will +experience duplicate hostnames if rsyslog is the sender and sysklogd is the +receiver. The fix is simple: you need to use a different template. Use that one:

+

$template sysklogd,"<%PRI%>%TIMESTAMP% +%syslogtag%%msg%\""
+*.* @192.168.0.1;sysklogd

List of Users

Usually critical messages are also directed to ``root'' on that machine. You can specify a list of users that shall get the message by simply writing the login. -- cgit v1.2.3