Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Help me to identify the right SNMP OID

Hello all!

I need some help to understand why this oid (cpmCPUTotal5minRev is not available in my router

step 1

I have Catalyst 6500 with msfc so I will find the list of mib available for my IOS version 12.1 8a EX

I find a file

Step 2 lokking for the object to probe

Here the one I want but is it deprecated so I should take the other one

cpmCPUTotal5min Gauge32, -- deprecated

cpmCPUTotal5minRev Gauge32

Step 3 look for the oid

cpmCPUTotal5minRev =

Step 4 try to get the value with snmp tool

Not available!!!

I know I have problem understanding the structure. If there is one or more CPU how do you identify the instance. I usually add .0 or .1 at the end of the OID but it`s not always that simple...How do you intrepret the mib file to make sure the value received is relly what you expect

Is there any inconsisctency in Cisco document?



  • Other Network Infrastructure Subjects

Re: Help me to identify the right SNMP OID

SNMP MIB objects are of two types: scalar and vector(tabular).In the former case, mostly suffixing of .0 gives you the instance. Latter case requires the table row index to be known for retrieving a particular instance.

Because cpmCPUTotal5minRev is part of a table, one has to provide the index to be able to perform GetRequest or in other words getone from the toolkit perspective.

In such cases, one needs to do a walk to retrieve unknown instances. Every genuine SNMP manager toolkit will have a binary that achieves this walk functionality, and you should use the corresponding binary from the toolkit that you are using.

1) Do a walk on cpmCPUTotalTable

2) cpmCPUTotalPhysicalIndex on each row provides you entPhysicalIndex, a mapping to the corresponding entity represented in entPhysicalTable

Refer to the description clause of cpmCPUTotalPhysicalIndex in the MIB for the complete details

3) Now retrieve the corresponding entPhysicalDescr to find out more details about the physical entity


An example, using SNMPR toolkit, follows:

% getmany -v2c public cpmCPUTotalTable

cpmCPUTotalPhysicalIndex.1 = 30

cpmCPUTotal5sec.1 = 0

cpmCPUTotal1min.1 = 0

cpmCPUTotal5min.1 = 0

% getone -v2c public entPhysicalDescr.30

entPhysicalDescr.30 = GRP, HwVer#: 1.4, SwVer#: 12.0


Following tech-note sheds light on how to collect CPU utilization

Hope this helps!