Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2001 17:30:45 -0700
From:      Drew Tomlinson <drewt@writeme.com>
To:        'Mike Meyer' <mwm@mired.org>
Cc:        questions@freebsd.org
Subject:   RE: How To Receive Syslog Messages From Another Device?
Message-ID:  <5CD46247635BD511B6B100A0CC3F0239259FD5@ldcmsx01.lc.ca.gov>
In-Reply-To: <15161.2940.652129.5196@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> -----Original Message-----
> From: Mike Meyer [mailto:mwm@mired.org]
> Sent: Tuesday, June 26, 2001 3:24 PM
> To: Drew Tomlinson
> Cc: questions@freebsd.org
> Subject: Re: How To Receive Syslog Messages From Another Device?
>
>
> Drew Tomlinson <drewt@writeme.com> types:
> > I have a 3Com ADSL router for my home network.  I have found that it
> > (according to the docs) has the capability to send log
> messages to syslogd
> > on my FBSD box.  I think I've set up the router correctly
> as it shows that
> > it's sent 126 messages but I have received none on my FBSD
> box.  I assume
> > that there's some setup required with FBSD to allow it to
> receive the
> > messages.  I've read the man page for syslog.conf and
> restarted syslogd
> > with -a xxx.xxx.xxx.xxx:* where the xxx is the ip of my
> router.  Yet I am
> > still not receiving messages.  I have searched the 3Com
> site for a "how to"
> > but could find none.  Does anybody have any ideas on what I
> might need to do
> > to get this working or what additional information I need to find?
>
> Hmm - it works fine for me, without the ":*" as I'm going from FBSD to
> FBSD. You do need to make sure that syslogd is started without "-s",
> as that causes it to ignore the -a. If syslog is sending packets
> from the syslog udp port, you might try dropping the ":*".

Thanks for your response.  I'm still a newbie but learning. :)  I recall
when I setup ntpd that to get log messages, I had to put an entry in
syslog.conf that was something along the lines of:

ntp.info                                        /var/log/ntp.log

Where ntp is the "name" (for lack of a better word) of the program sending
the message and info is the level at which to log.  The file spec is the
file to log to.

So I assume I need the "name" of the messages coming from my router and add
a similar line to syslog.conf.  Would this be correct?  I've called 3Com to
get this "name" and all they could do was point me to some freeware syslog
daemons for Windows.

> If nothing else works, enable a firewall on the destination box set to
> log everything, and see what's getting sent to it.

So if I do this, will I see the "name" I need above?  What is some good "how
to's" for doing this?  I assume there's something in the handbook.  Anywhere
else you'd recommend I look?

Thanks again for your help!

Drew

>
> 	<mike
> --
> Mike Meyer <mwm@mired.org>
http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more
information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5CD46247635BD511B6B100A0CC3F0239259FD5>