[CentOS] Send syslog to a remote server

Thu May 21 14:59:37 UTC 2009
Dag Wieers <dag at centos.org>

On Wed, 20 May 2009, nate wrote:

> hce wrote:
>
>> I am running CentOS 5 and I tried to config flowing statement in
>> syslog.conf to send syslog messages to a remote server running on FC
>> 9, but it did not work. There was nothing send to the FC9.
>>
>> "*.info;mail.none;authpriv.none;cron.none                @@192.168.1.5"
>>
>> Could anyone advice whether the syslog in CentOS 5 does not support
>> remote server, or I could be missing something?
>
> Try just one @ instead of two?

The double @ is for using tcp/514 instead of udp/514, which is more 
reliable. But you need to configure it correctly on the server to make 
sure it accepts the traffic. The rsyslog.conf manpage has some info, the 
documentation in /usr/share/doc/rsyslog contains the details.

Kind regards,
-- 
--   dag wieers,  dag at centos.org,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]