Don't know if Cisco has a MIB variable in the proprietary MIBs to pull the
log. I know there's nothing in MIB2 that does this. Another approach would
be to use syslog. The command on the router is logging ip_addr where ip_addr
is the address of your syslog server. If your using AIX, you have the syslog
server fucntionality built into the OS. Have a look at /etc/syslog.conf. All
log messages for the routers logging to the syslog server are written to the
same file on the syslog server. You can write scriptes to parse out the
syslog file and do what you want with it.
__________________________
Thanks,
Sean Davidson
Sr. Network Systems Engineer
Publix Super Markets, Inc.
P.O. Box 32015
Lakeland, Fl. 33802-2015
Email - sean.davidson@publix.com
Voice - (863) 686-8754 x6889
Fax - (863)616-5895
-----Original Message-----
From: Howard P James [mailto:Howard.P.James@AEXP.COM]
Sent: Wednesday, January 19, 2000 10:25 AM
To: NV-L@UCSBVM.ucsb.edu
Subject: Cisco SNMP MIB to extract show log contents
Does anyone know of a Cisco MIB to extract the contents of the 'show log'
command?
|