[mrtg] Re: Catalyst 6509 switch freemem oid ?

Daniel J McDonald dan.mcdonald at austinenergy.com
Mon Apr 21 14:08:17 MEST 2003


On Sat, 2003-04-19 at 21:29, Qiao Gang wrote:
> hi everyone,
> 
>    Can anyone tell me what the OID for Catalyst 6509 switch freemem is?

You'll need to walk the cisco-memory-pool-mib to determine which pool is
most interesting.  I find that ciscoMemoryPoolFree and
ciscoMemoryPoolLargestFree are the most interesting OID's, but the
instances vary a bit per platform and version (and there are usually a
couple of them on most platforms, the 5500's and 6500's being the worst
of the lot...)

here's a walk from a 5500 (all of my 6500's are running native-mode
IOS).
[mcdonalddj at mcdonalddj-lnx mcdonalddj]$ snmpwalk -c public 1.2.3.4 -m
CISCO-MEMORY-POOL-MIB ciscoMemoryPoolName
CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolName.1 = STRING: "DRAM"
CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolName.6 = STRING: "FLASH"
CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolName.7 = STRING: "NVRAM"
CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolName.8 = STRING: "MBUF"
CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolName.9 = STRING: "CLUSTER"
CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolName.10 = STRING: "MALLOC"
[mcdonalddj at mcdonalddj-lnx mcdonalddj]$ snmpwalk -c public 1.2.3.4 -m
CISCO-MEMORY-POOL-MIB ciscoMemoryPoolFree
CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolFree.1 = Gauge32: 4988064
CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolFree.6 = Gauge32: 4456448
CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolFree.7 = Gauge32: 114414
CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolFree.8 = Gauge32: 459904
CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolFree.9 = Gauge32: 3026816
CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolFree.10 = Gauge32: 1594544

(Walk it with -On if you want numeric OIDs instead of using loadmibs
statements....)

-- 
Daniel J McDonald, CCIE 2495, CNX
Austin Energy


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list