Mailinglist Archive: opensuse (3354 mails)

< Previous Next >
Re: [opensuse] Cant get syslog server my w/station to accept 514 connections for remote logging.
  • From: Chuck Amadi <chuck.amadi@xxxxxxxxxxx>
  • Date: Thu, 29 Mar 2007 17:04:23 +0100
  • Message-id: <460BE387.4060002@xxxxxxxxxxx>
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Thursday 2007-03-29 at 15:59 +0100, Chuck Amadi wrote:

I have been trying to get my OpenSuSE 10.2 Retail Client to accept remote logs
from mail server.

Piece of cake. :-p


Any ideas


Add this to the default config of /etc/syslog-ng/syslog-ng.conf


source ext {
        udp(ip("0.0.0.0") port(514));
};

below the source src {...} def. Then:


filter f_router { host("router"); };
destination router { file("/var/log/router"); };
log { source(ext); filter(f_router); destination(router); };


All my external log sources are thus separated.

- -- Cheers,
       Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFGC9jOtTMYHG2NR9URAkbyAJ9H6/3AwsjzovcsXyPlDWYpRUnwDwCfcM7f
gatmIAnzXBN//xve7LJRdEs=
=T2su
-----END PGP SIGNATURE-----

Hi Carlos (Greatt List)

Excellent  added your additions and run  netstat command which now works.

chuck:/var/log # netstat -a | egrep syslog
udp        0      0 *:syslog                *:*

Next tasks as I see that the syslog client's mail is in my /var/log/mail
So any steps me in the right direction to for my external log sources in a separated file as you mentioned.
Thus my proof concept is working and I am going "Now" create the setup on one of are dormant web servers
which I will install MailGraph for graph reports on are mail server as I am not allowed to add any more load on are postfix mail server.

Cheers


--
Chuck Amadi
ROK Corporation Limited
Ty ROK,
Dyffryn Business Park,
Llantwit Major Road,
Llandow,
Vale Of Glamorgan.
CF71 7PY

Tel: 01446 795 839
Fax: 01446 794 994
International Tel:   +44 1446 795 839

email: chuck.amadi@xxxxxxxxxxx

This email is confidential to the addressee only. If you do not believe
that you are the intended recipient, do not pass it on or copy it in any
way. Please delete it immediately.


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups