[nsp] Script for gathering logs from routers?

daryl at introspect.net daryl at introspect.net
Thu Oct 30 15:39:08 EST 2003


> -----Original Message-----
> From: cisco-nsp-bounces at puck.nether.net 
> [mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Temkin, David
> Sent: Thursday, October 30, 2003 3:32 PM
> To: cisco-nsp at puck.nether.net
> Subject: [nsp] Script for gathering logs from routers?
> 
> 
> 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 :-)

Yikes....why would you do that?

logging <server>

Seems to work just fine.

Or are their piece of information in sh log that don't make it to
syslog?

Daryl



More information about the cisco-nsp mailing list