Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2002 10:20:42 -0500 (EST)
From:      Brent Bailey <misterb@bmyster.com>
To:        <domlam@earthlink.net>
Cc:        <misterb@bmyster.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: getting my router to log to my Freebsd box help ?
Message-ID:  <27466.207.5.142.198.1035904842.squirrel@bmyster.com>
In-Reply-To: <001801c27ea9$4bcbdea0$652ec90a@sqalabdom>
References:  <27046.207.5.142.198.1035379127.squirrel@bmyster.com> <20021023134530.GH9627@freepuppy.bellavista.cz> <1044.207.5.219.94.1035383312.squirrel@bmyster.com> <48376.207.5.142.198.1035822043.squirrel@bmyster.com> <001801c27ea9$4bcbdea0$652ec90a@sqalabdom>

next in thread | previous in thread | raw e-mail | index | archive | help
Im able to get one router to log to my Freebsd box..however i have 6 or
routers that i want to log to Freebsd as well...any thoughts ??i have the
followingin my /etc/syslog.conf
local7.*                     /usr/log/cisco/roch-ubr-syslog.log

and identical lines pointing to differrent files for each router .

and i have this in my /etc/rc.conf
syslogd_flags="-4 -a xx.xx.xx.xx/24:55741 -a xx.xx.xx.xx/24:53936"

however i cant get 2 or more routers to log to syslog only one will log.
is ther a differrent way to getting syslogd to listen to multiple UDP
packets from differrent routers.. I know it can be done ..but im unsure on
how ??
any and all help IS VERY appreciated

thanx
Brent

> Hey Brent,
>
> Here's what I have for part of my syslog.conf
> local1.warning
> /var/log/sqa/TonyWarning local1.crit
>  /var/log/sqa/TonyCritical
>
> I am logging to local1 crit and warning messages to files TonyCritical
> and TonyWarning level messages respectively.
> The one thing is you must have those files and path already there to
> write to
>
> also go to /etc/defaults/rc.conf and edit syslogd there.
> I have in mine:
>
> ### Network daemon (miscellaneous) ###
> syslogd_enable="YES"            # Run syslog daemon (or NO).
> syslogd_program="/usr/sbin/syslogd" # path to syslogd, if you want a
> different one.
> # syslogd_flags="s"             # Flags to syslogd (if enabled).
>
> You should also be able to place this in your regular /etc/rc.conf.
>
> Let me know how you make out.
> I can research the Cisco side too if you want but I have confidence you
> got that right.
>
> -Dom
>
>
>
>
>
>
> ----- Original Message -----
> From: "Brent Bailey" <misterb@bmyster.com>
> To: <misterb@bmyster.com>
> Cc: <neuhauser@bellavista.cz>; <freebsd-questions@FreeBSD.ORG>
> Sent: Monday, October 28, 2002 8:20 AM
> Subject: Re: getting my router to log to my Freebsd box help ?
>
>
>> That didnt seem to work .. I was reading on cisco's site that i might
>> have to edit  /etc/syslog.conf  with something like:
>> "local7.*                     /usr/log/cisco/ubr-syslog.log"
>>
>> so ive tried both senarios...and still nothing .. is it one or the
>> other or both things that need to be added  or changed ??any help is
>> VERY
> appreciated
>>
>> Brent Bailey CCNA
>>
>>
>> > so would it be something like
>> >
>> > syslogd -a 172.16.x.x/24:UDP port number ??
>> >
>> > if this is so ...
>> > can i do this multiple times  ???
>> > I have multiple routers that i want to log to this FreebSD machine
>> > so would i do the command above on multiple lines ??
>> >
>> > or like :
>> > syslogd -a 172.16.x.x/24:xxx  172.16.x.x/24:xxx     ???
>> >
>> > thanx
>> > Brent
>> >
>> >
>> >> # misterb@bmyster.com / 2002-10-23 09:18:47 -0400:
>> >>> Im trying to get my Cisco router to log to my FBSD machine..Im
>> >>> using Freebsd 4.5
>> >>> I have no issues with the router ...however im having issues
>> >>> trying to get syslog OR syslogd to accept UDP log traffic from my
>> >>> router ...and have it write to a flat text file.
>> >>> im under the assumtion that you use:
>> >>> syslogd -a <ip address of router>
>> >>
>> >>    the man page says that the format is "ipaddr/masklen[:service]".
>> >>    that doesn't look like the "/masklen" part is optional.
>> >>
>> >> --
>> >> If you cc me or take the list(s) out completely I'll most likely
>> >> ignore your message.
>>
>>
>>
>>
>> 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




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?27466.207.5.142.198.1035904842.squirrel>