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" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> 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
>> >
>> >
>> >> # [EMAIL PROTECTED] / 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 [EMAIL PROTECTED]
>> with "unsubscribe freebsd-questions" in the body of the message
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to