Re: '-h' option for syslogd ver 1.3


Subject: Re: '-h' option for syslogd ver 1.3
From: Charles Tassell (ctassell@isn.net)
Date: Mon Sep 18 2000 - 07:54:38 CEST


In addition to the -h parameter, you also have to run the syslogd on the
second server with the -r parameter so it will listen for messages from
remote hosts.

At 04:03 PM 9/17/00, Martin Schulze wrote:
>Lance Spitzner wrote:
> > Oh great logging ones! :)
> >
> > I am attempting to have a syslog server forward
> > all incoming syslogs to another syslog server,
> > however the '-h' option doesn't seem to be working,
> > the received syslogs are not being forwarded to the
> > second syslog server. Any recommendations?
> >
> > I have a central syslog server receiving logs from
> > 5 different systems. I would like this central log
> > server to then forward all received logs to another
> > central log server. However the 1st syslog server is
> > not forwarding any of the received logs to the 2nd
> > syslog server. Syslogd runs as follows on the 1st syslog:
> >
> > root 27777 1 0 Aug12 ? 00:00:42 syslogd -r -h -m 0
> >
> > On the first syslog server I have the following entry in
> > /etc/syslog.conf
> >
> > *.info @2ndsyslogserver
> >
> > However, the 1st syslog server is not forwarding any of
> > the received logs to the 2nd. The 1st syslog server only
> > forwards its own logs created locally. How do I get the 1st
> > syslog server to forward the logs it receives from others?
> >
> > Words of wisdom oh great ones?
>
>Works for me, sorry.
>
>Scenario:
>
> kuolema: Log goes to finlandia
> logger foo typeth
> finlandia: collecting logs from kuolema
> now reconfigured to resend everything to carelia
> carelia: collecting logs from remote
>
>On kuolema:
>
>kuolema!joey(ttypa):/var> logger foo
>
>On finlandia:
>
>Sep 17 20:59:19 finlandia syslogd 1.3-3#33: restart (remote reception).
>Sep 17 20:59:31 kuolema joey: foo
>
>On carelia:
>
>Sep 17 20:59:18 finlandia.infodrom.north.de syslogd 1.3-3#33: restart
>(remote reception).
>Sep 17 20:59:31 finlandia.infodrom.north.de joey: foo
>
>Check if syslog finds the host (syslogd -d may help), check if you're
>allowed to log to the 2nd host.
>
>Regards,
>
> Joey
>
>--
>The good thing about standards is that there are so many to choose from.
> -- Andrew S. Tanenbaum
>Oldenburger LinuxTag 2000 http://oldenburger.linuxtage.de/



This archive was generated by hypermail 2b25 : Mon Sep 18 2000 - 07:53:27 CEST