Date: Fri, 7 Jun 2002 14:42:34 +0300 From: Odhiambo Washington <wash@wananchi.com> To: freebsd-isp@FreeBSD.ORG Subject: Re: syslog-ng Message-ID: <20020607114234.GB22692@ns2.wananchi.com> In-Reply-To: <20020606215026.M70295-100000@lethargic.dyndns.org> References: <3CFFC148.7080904@netscape.net> <20020606215026.M70295-100000@lethargic.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Jason Hunt <jhunt@lynden.on.ca> [20020607 05:00]: wrote: > On Thu, 6 Jun 2002, Mikel King wrote: > > > Anyone have cisco routers logging to syslog-ng? trying to find a quick > > config to capture all info from the router... > > > > I'm not logging to syslog-ng, just plain syslogd. I'm tell the cisco > devices to use the localX facilities. Here's the general idea with two > different cisco devices logging to one *nix machine: > > > CISCO #1: > ! > version 12.2 > service timestamps log uptime > ! > hostname router1 > ! > logging trap debugging > logging facility local6 > logging 207.176.213.10 > ! > end > > > CISCO #2: > ! > version 12.0 > service timestamps log uptime > ! > hostname switch1 > ! > logging trap debugging > logging facility local5 > logging 207.176.213.10 > ! > end > > > /etc/syslog.conf ON UNIX MACHINE: > local6.* /var/log/cisco > local5.* /var/log/switch > > > The "service timestamps log" line in the cisco configs could also have a > bunch of other options, such as "datetime", "msec", "localtime" and > "show-timezone". I don't use these because syslog timestamps it when > writing to the file. > > Hope this helps. Hiya, Suppose you have 2 or 3 Cisco routers with just 1 syslog server...how do you separate the logs??? -Wash -- Odhiambo Washington <wash@wananchi.com> "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD." GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) Real Users hate Real Programmers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020607114234.GB22692>