[mrtg] Re: Cisco Memory Usage
Greg.Volk at edwardjones.com
Greg.Volk at edwardjones.com
Mon Feb 23 15:55:00 MET 2004
>
> a) Which OID describes the total amount of physical memory. I
> know that
> some Cisco Routers we use had 32 MB. But where can i read it
> out via SNMP ?
> b) How can i can monitor the memory usage of the in a)
> defined value? So
> that i can see from 32 MB 12 are used and 20 are free.
>
There are several memory pools to choose from. The following
is a good place in the tree to start for IOS...
~/bin>./snmpwalk -M ../mibs router public .1.3.6.1.4.1.9.9.48.1.1.1
enterprises.9.9.48.1.1.1.2.1 = "Processor"
enterprises.9.9.48.1.1.1.2.2 = "I/O" Hex: 49 2F 4F
enterprises.9.9.48.1.1.1.3.1 = 0
enterprises.9.9.48.1.1.1.3.2 = 0
enterprises.9.9.48.1.1.1.4.1 = 1
enterprises.9.9.48.1.1.1.4.2 = 1
enterprises.9.9.48.1.1.1.5.1 = Gauge: 27513248
enterprises.9.9.48.1.1.1.5.2 = Gauge: 8724240
enterprises.9.9.48.1.1.1.6.1 = Gauge: 443471060
enterprises.9.9.48.1.1.1.6.2 = Gauge: 26927344
enterprises.9.9.48.1.1.1.7.1 = Gauge: 257276272
enterprises.9.9.48.1.1.1.7.2 = Gauge: 26927292
~/bin>
To dissect the above output...
enterprises.9.9.48.1.1.1.5.1 = Gauge: 27513248
enterprises.9.9.48.1.1.1.5.2 = Gauge: 8724240
...is the CPU memory pool free and used.
This...
enterprises.9.9.48.1.1.1.6.1 = Gauge: 443471060
enterprises.9.9.48.1.1.1.6.2 = Gauge: 26927344
...is the IO Memory pool free and used.
I don't remember what...
enterprises.9.9.48.1.1.1.7.1 = Gauge: 257276272
enterprises.9.9.48.1.1.1.7.2 = Gauge: 26927292
...correspond to.
I know this doesn't answer your original question about
finding total memory installed, but it is a start. If you
need more info, you should try walking the following mibs
from cisco.com
CISCO-ENHANCED-MEMPOOL-MIB-V1SMI.MIB
CISCO-MEMORY-POOL-MIB-V1SMI.MIB
OLD-CISCO-MEMORY-MIB.MIB
I wrote a cfgmaker template around the IO Memory Pool OIDs
listed above.
You can d/l it from...
http://mrtg.gvolk.com/template/host-ios.template
-- Attached file removed by Ecartis and put at URL below --
-- Type: application/ms-tnef
-- Size: 1k (1913 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/71-WINMAIL.DAT
--
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