diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-09-06 15:02:48 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-09-06 15:02:48 +0000 |
commit | 62db9e53bd64b3c4ebd381e0d30c84e891aa9e00 (patch) | |
tree | 76eb75ef7bb66ba001140947d877cebd3a971681 /doc | |
parent | 82aeadce540240396d13d3355d4ef04e3524acbf (diff) | |
download | rsyslog-62db9e53bd64b3c4ebd381e0d30c84e891aa9e00.tar.gz rsyslog-62db9e53bd64b3c4ebd381e0d30c84e891aa9e00.tar.xz rsyslog-62db9e53bd64b3c4ebd381e0d30c84e891aa9e00.zip |
added template and info for forwarding messages to sysklogd
Diffstat (limited to 'doc')
-rw-r--r-- | doc/rsyslog_conf.html | 7 |
1 files changed, 7 insertions, 0 deletions
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.</p> <p>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.</p> +<p><b>Note to sysklogd users:</b> sysklogd does <b>not</b> 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:</p> +<p class="MsoPlainText">$template sysklogd,"<%PRI%>%TIMESTAMP% +%syslogtag%%msg%\""<br> +*.* @192.168.0.1;sysklogd</p> <h3>List of Users</h3> <p>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. |