Hello, The type of information you get from SNMP will depend on your IOS. I monitor several Cisco routers and I don't think that any two are actually on the same IOS level, so I run into this problem fairly often. Here are some excerpts from two of my config files that explain what the OIDs represent:
I hope this helps you. ##################### # # Using OLD-CISCO-MEMORY-MIB to gather Memory usage statistics # # .1.3.6.1.4.1.9.2.1.8.0 <-- Free Memory (in bytes) # # This router is running an IOS version below 11.1, which means # that the newer and better CISCO-MEMORY-POOL-MIB is not supported # There is no way currently to tell the total memory with this OID. # ##################### ##################### # # Using CISCO MEMORY POOL MIB to gather Free Memory Statistics # # .1.3.6.1.4.1.9.9.48.1.1.1.6.1 # .1.3.6.1.4.1.9.9.48.1.1.1.6.2 # # The Cisco routers (as of IOS version 11.1) track memory by the # various pools that are created. Each pool will have a different # amount of memory assigned to it. Not all routers will use all 5 # of the different memory pools available. Here is a list of all the # memory pools and their corresponding integer value. The last # number in the OID represents the memory pool. # # 1: processor memory # 2: i/o memory # 3: pci memory # 4: fast memory # 5: multibus memory # # These OID tracks FREE memory in bytes. By adding the value at 48.1.1.1.5.1 # (the USED memory in pool #1 in bytes) and 48.1.1.1.6.1, the total number of bytes # assigned to the pool can be discovered. This is how the Maxbytes # values were choosen. It is unknown at this time if the memory assigned # to a pool is dynamic between one reboot and the next. # ##################### >>> <[EMAIL PROTECTED]> 02/23/04 09:31 AM >>> Hi folks, I´m an newbie in MRTG but i´ve planned to do my final exam with it. For this purpose i need some Informations: 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. Thanks a lot Mit freundlichen Grüßen Sparkasse Lemgo Ausbildung Frank Friedhof Tel.: (0 52 22) 9 32-1 37 Fax: (0 52 22) 9 32-8 14 E-Mail: [EMAIL PROTECTED] Internet: www.sparkasse-lemgo.de Anschrift: Sparkasse Lemgo Rudolph-Brandes-Allee 2 32105 Bad Salzuflen Handelsregister Amtsgericht Lemgo HRA 2514 Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet. -- Unsubscribe mailto:[EMAIL PROTECTED] 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 -- Unsubscribe mailto:[EMAIL PROTECTED] 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
