[CentOS] syslog remote computers

Sat Nov 22 19:14:32 UTC 2008
Ricardo Carrillo <davxoc at gmail.com>

mmm I'm not sure if I understood, but when you want to register any
log to remote host you must to do as follow:

mail.*                                                     @10.0.1.1

The example above is for register any mail logs into mail to remote
host with 10.0.1.1 ip address.


2008/11/22 Dag Wieers <dag at centos.org>:
> On Wed, 19 Nov 2008, Jim Perrin wrote:
>
>> On Wed, Nov 19, 2008 at 7:02 PM, Craig White <craigwhite at azapple.com>
>> wrote:
>>>
>>> Trying to figure out if there's a way to get syslog.conf to direct
>>> remote logging from a wireless access point to log to a separate file
>>> instead of the main syslog and can't figure out how that could be done
>>> from man syslog.conf (or man 2/3 of syslog)
>>>
>>> this clearly doesn't work
>>>
>>> 192.168.1.251.*                               /var/log/WAP-2.log
>>>
>>> which according to the man page, makes sense since this the IP address
>>> is not a facility.
>>>
>>> Is there a way to do this that I am missing?
>>
>> The stock syslog package can't do this. You need rsyslog to make this
>> happen. You can set up various templates and filters based on the log
>> file information also. See
>>
>> http://www.bofh-hunter.com/2007/12/31/centralized-logging-with-centos-and-rsyslog/
>> for a brief walkthrough on the basics.
>
> In RPMforge we have backported rsyslog packages from RHEL5 to RHEL4. In this
> case version 2.0.0-11, but when RHEL5.3 is released (or security updates are
> released) I am commited to release them for RHEL4.
>
> --
> --   dag wieers,  dag at centos.org,  http://dag.wieers.com/   --
> [Any errors in spelling, tact or fact are transmission errors]
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: L.I. Ricardo D. Carrillo Sánchez
:: Security Specialist
:: Universidad Nacional Autonoma de Mexico    ::
:: Ciudad Universitaria                                          ,
D.F. Mex
:: e-mail prim.: davxoc at gmai dot com
:: e-mail secu.: davxoc at hotmail dot com
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::