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

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

SNMPget CPU utilization

To get the CPU util of a Cisco device

via SNMP, i need to identify the MIB

variable that return the "CPU util"

but how i can find it in the numerous MIB

objects ?

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: SNMPget CPU utilization

If you have a CCO signon try the "Search" tab on the SNMP Object Navigator http://tools.cisco.com/Support/SNMP/do/BrowseOID.do

Also, http://www.mibdepot.com has a powerful search once you understand what all the options do

4 REPLIES
Cisco Employee

Re: SNMPget CPU utilization

CatOS:

CISCO-STACK-MIB sysTraffic (generic info for supervisor)

IOS:

CISCO-PROCESS-MIB

-- The OIDs that you may be particularly interested would be:

CISCO-PROCESS-MIB.oid:"cpmCPUTotalTable"

"1.3.6.1.4.1.9.9.109.1.1.1"

CISCO-PROCESS-MIB.oid:"cpmCPUTotalEntry"

"1.3.6.1.4.1.9.9.109.1.1.1.1"

CISCO-PROCESS-MIB.oid:"cpmCPUTotalIndex"

"1.3.6.1.4.1.9.9.109.1.1.1.1.1"

CISCO-PROCESS-MIB.oid:"cpmCPUTotalPhysicalIndex"

"1.3.6.1.4.1.9.9.109.1.1.1.1.2"

CISCO-PROCESS-MIB.oid:"cpmCPUTotal5sec"

"1.3.6.1.4.1.9.9.109.1.1.1.1.3"

CISCO-PROCESS-MIB.oid:"cpmCPUTotal1min"

"1.3.6.1.4.1.9.9.109.1.1.1.1.4"

CISCO-PROCESS-MIB.oid:"cpmCPUTotal5min"

"1.3.6.1.4.1.9.9.109.1.1.1.1.5"

CISCO-PROCESS-MIB.oid:"cpmCPUTotalGroup"

"1.3.6.1.4.1.9.9.109.3.2."

Here's a great link with some info as well:

http://www.cisco.com/warp/customer/477/SNMP/collect_cpu_util_snmp.html

New Member

Re: SNMPget CPU utilization

Thank You for the precise answer, that lead me

to do ask a more general question:

how can i find the correct MIB given a system

variable ? In this case, given the "CPU util"

input, you deduced the MIB "CISCO-PROCESS-MIB".

How ?

Thank You and Best Regards

lrinetti@libero.it

Cisco Employee

Re: SNMPget CPU utilization

I have downloaded all of the Cisco V2 mibs onto my solaris machine and then use grep commands to go through the text files looking for certain keywords

ex)

cd /mibs

grep -i cpu *

It then returns objects with mibs matching the kw cpu and I can skim through the results looking for things that seem useful.

Once I have some selected I then open the actual mib and read the description to see if it applies and I go to CCO to see if it is supported on the device and code.

For the CatOS, it wasn't as much the search above as it was seeing this object being used several times for CPU on CatOS

New Member

Re: SNMPget CPU utilization

If you have a CCO signon try the "Search" tab on the SNMP Object Navigator http://tools.cisco.com/Support/SNMP/do/BrowseOID.do

Also, http://www.mibdepot.com has a powerful search once you understand what all the options do

1083
Views
15
Helpful
4
Replies