Re: [CentOS] Send syslog to a remote server

2009-05-25 Thread Ralph Angenendt
hce wrote:
 Is the CentOS 5 running only for syslog? In my case, the remote server
 is running rsyslog, but that the CentOS syslog should be able to talk
 to RH9 rsyslog, right?

Yes, but standard syslog does not support the @@hostname directive for
tcp logging, only @hostname for udp logging.

Ralph


pgpDYbW9vbZY0.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Send syslog to a remote server

2009-05-24 Thread hce
On Fri, May 22, 2009 at 7:07 PM, Ralph Angenendt ra+cen...@br-online.de wrote:
 hce wrote:
 The rsyslog.conf in FC 9 is much easy to be configured, just enable
 the InputTCPServerRun and ModLoad. It is not the problem in FC 9
 rsyslog server, it is the problem in CentOS syslog, no messages
 sending to FC9 when I checked with tcpdump on port 514 on FC9.

 Has anyone made CentOS 5 syslog work to send messages to remote syslog
 server? Or, I am wondering if it has never worked on CentOS 5?

 syslog or rsyslog?

Is the CentOS 5 running only for syslog? In my case, the remote server
is running rsyslog, but that the CentOS syslog should be able to talk
to RH9 rsyslog, right?

 Have you tcpdumped udp or tcp?

Tried both. Nothing coming from the CentOS messages on port 514.

Thank you.

Kind Regards.

jupiter
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Send syslog to a remote server

2009-05-24 Thread David . Mackintosh
One thing which I have not seen discussed yet -- the syslog.conf
seems to work much better when you use tabs, not spaces, in it.

So in your case it would be

*.info;mail.none;authpriv.none;cron.none[tab][tab][t...@192.168.1.5

Don't know if rsyslog.conf has the same requirement.

-- 
 /\oo/\
/ /()\ \ David Mackintosh | 
 d...@xdroop.com  | http://www.xdroop.com


pgpDnXp7orddY.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Send syslog to a remote server

2009-05-22 Thread Ralph Angenendt
hce wrote:
 The rsyslog.conf in FC 9 is much easy to be configured, just enable
 the InputTCPServerRun and ModLoad. It is not the problem in FC 9
 rsyslog server, it is the problem in CentOS syslog, no messages
 sending to FC9 when I checked with tcpdump on port 514 on FC9.
 
 Has anyone made CentOS 5 syslog work to send messages to remote syslog
 server? Or, I am wondering if it has never worked on CentOS 5?

syslog or rsyslog?

Have you tcpdumped udp or tcp?

Ralph


pgpJtCJpC74kh.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Send syslog to a remote server

2009-05-21 Thread Helmut Drodofsky
Hi,
my logging server needs a touch filename if I define a new logfile.
Helmut



-Ursprüngliche Nachricht-
Von: centos-boun...@centos.org [mailto:centos-boun...@centos.org] Im Auftrag 
von hce
Gesendet: Donnerstag, 21. Mai 2009 05:25
An: CentOS mailing list
Betreff: [CentOS] Send syslog to a remote server

Hi,

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?

System:

DISTRO_NAME=centos
DISTRO_VERSION=5
DISTRO_CODENAME=final
DISTRO_PATCHLEVEL=5
DISTRO_ARCH=x86_64
DISTRO_KERNEL=2.6.18_53.el5

Thank you.

Kind Regards,

jupiter
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Send syslog to a remote server

2009-05-21 Thread Dag Wieers
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,  d...@centos.org,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Send syslog to a remote server

2009-05-21 Thread hce
On Fri, May 22, 2009 at 12:59 AM, Dag Wieers d...@centos.org wrote:
 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.

The rsyslog.conf in FC 9 is much easy to be configured, just enable
the InputTCPServerRun and ModLoad. It is not the problem in FC 9
rsyslog server, it is the problem in CentOS syslog, no messages
sending to FC9 when I checked with tcpdump on port 514 on FC9.

Has anyone made CentOS 5 syslog work to send messages to remote syslog
server? Or, I am wondering if it has never worked on CentOS 5?

Thanks Dag and all responses.

Kind regards,

jupiter
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Send syslog to a remote server

2009-05-20 Thread hce
Hi,

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?

System:

DISTRO_NAME=centos
DISTRO_VERSION=5
DISTRO_CODENAME=final
DISTRO_PATCHLEVEL=5
DISTRO_ARCH=x86_64
DISTRO_KERNEL=2.6.18_53.el5

Thank you.

Kind Regards,

jupiter
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Send syslog to a remote server

2009-05-20 Thread nate
hce wrote:
 Hi,

 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?

Also is the FC9 system configured to receive messages? You can
use the 'logger' command to send custom messages with user
defined priority/facility for testing purposes as well.

nate


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Send syslog to a remote server

2009-05-20 Thread shyam hirurkar
Hi,

1 .One is enough and the remoter server should be configured to accept the
syslog.

2. double quotes are not required.

Shyam

On Thu, May 21, 2009 at 11:01 AM, nate cen...@linuxpowered.net wrote:

 hce wrote:
  Hi,
 
  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?

 Also is the FC9 system configured to receive messages? You can
 use the 'logger' command to send custom messages with user
 defined priority/facility for testing purposes as well.

 nate


 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos