[mrtg] Re: snmpget linux command and Cisco router
sugarat at thunderhold.sugarat.net
Mon Oct 18 20:01:20 MEST 1999
There is no way to get all the information from a sho ver via an snmpget
command or series of commands.
The reason we want it is for information like Board ID's and Software
revisions, and image file's, and other info. That way we can see exactly
what the routers configuration is, and what it is capable of.
If we just wanted sysname and sysuptime, then that we can do via an
snmpget, and mrtg will do that by default. For the record, the Sho Ver
info we want, is completely seperate from the projects we do with MRTG.
it is instead for a facilities/provisioning database.
#######BEGIN SHO VER###########
Cisco Internetwork Operating System Software
IOS (tm) 3000 Software (IGS-I-L), Version 11.1(14), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1997 by cisco Systems, Inc.
Compiled Thu 04-Sep-97 19:50 by tlane
Image text-base: 0x03020538, data-base: 0x00001000
ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE
ROM: 3000 Bootstrap Software (IGS-RXBOOT), Version 10.2(8a), RELEASE
core1 uptime is 4 weeks, 3 days, 21 hours, 18 minutes
System restarted by power-on at 16:32:57 EDT Thu Sep 16 1999
System image file is "flash:igs-i-l.111-14.bin", booted via flash
cisco 2500 (68030) processor (revision D) with 16384K/2048K bytes of
Processor board ID 02384601, with hardware revision 00000000
X.25 software, Version 2.0, NET2, BFE and GOSIP compliant.
2 Ethernet/IEEE 802.3 interfaces.
2 Serial network interfaces.
32K bytes of non-volatile configuration memory.
4096K bytes of processor board System flash (Read ONLY)
Configuration register is 0x2102
########END SHO VER###########
On Fri, 15 Oct 1999, Tim Schuh wrote:
> I believe you'll get all of that information with system.sysDescr.0
> and system.sysUpTime. I discovered this the very first time I used
> snmpwalk on a router. These are standard iso.internet MIB entries.
> Using an expect script or some other such thing would be an excercise
> in wasting time.
sugarat.net, Network Management Resources
* To unsubscribe from the mrtg mailing list, send a message with the
subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
More information about the mrtg