Sending syslog to another machine
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Sun Nov 30 21:59:40 UTC 2008
lanas wrote:
>
> Basically rsyslog works like syslog, but adds a few more options. So
> simply specify the server (and optional port) to start with and make a
> few tests by using the logger utility.
>
> *.* @@remote-host:514
>
> Replace remote-host with your remote syslog. 514 is the default
> well-known syslog port so unless you have set up something else, you
> can leave it there.
>
> Don't forget to restart/reload rsyslog (or any other syslog daemon for
> that matter) after doing configuration changes. This sometimes can be
> done by simply sending the daemon a HUP signal:
>
> killall -HUP daemon
>
> or by restarting it altogether:
>
> /etc/init.d/daemon restart
>
> Hope this helps.
>
Don't forget to configure the host you are logging to so that it
will accept logging from an outside machine. By default, it probably
doesn't.
Mikkel
--
Registered Linux User #16148 (http://counter.li.org/)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20081130/ddb5be8d/attachment-0001.bin
More information about the users
mailing list