[nsp] Script for gathering logs from routers?
Temkin, David
temkin at sig.com
Thu Oct 30 15:56:50 EST 2003
Understood. I was looking for said script instead of writing it myself, but
I seem to have stirred up more trouble than it's worth :-)
-----Original Message-----
From: C. Jon Larsen [mailto:jlarsen at richweb.com]
Sent: Thursday, October 30, 2003 3:55 PM
To: Temkin, David
Cc: 'Streiner, Justin'; cisco-nsp at puck.nether.net
Subject: RE: [nsp] Script for gathering logs from routers?
On Thu, 30 Oct 2003, Temkin, David wrote:
> To answer the last four emails, I have an issue where the router is
> outside of a firewall and it's not acceptable to open the syslog port
> inbound, so instead we're going to opt for gathering the logs.
Try setting the terminal length to 0, and then using the show log command
from a scripted (expect or perl) rsh/ssh session.
>
> Thanks,
> -Dave
>
> -----Original Message-----
> From: Streiner, Justin [mailto:streiner at stargate.net]
> Sent: Thursday, October 30, 2003 3:23 PM
> To: cisco-nsp at puck.nether.net
> Subject: Re: [nsp] Script for gathering logs from routers?
>
>
> On Thu, 30 Oct 2003, Temkin, David wrote:
>
> > Anyone have an expect (or similar) script that collects the "show
> > log"
> > from a router and appends it to a file? I could write it myself, but
> > I figured if someone already had one written I would save myself from
> > re-inventing the wheel :-)
>
> Why not have the routers send their logs to a syslog server, or are
> you looking for some piece of data that doesn't get syslog'd?
>
> jms
> _______________________________________________
> cisco-nsp mailing list cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
> _______________________________________________
> cisco-nsp mailing list cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>
--
+ Jon Larsen: Chief Technology Officer, Richweb, Inc.
+ Richweb.com: Providing Internet-Based Business Solutions since 1995
+ GnuPG Public Key: http://richweb.com/jlarsen.gpg
+ Business: (804) 359.2220 x 101; Mobile: (804) 307.6939
More information about the cisco-nsp
mailing list