More fun with CPUs

Answered Question
Jun 26th, 2008

I have a 7600 with a sup 720 in slot 5.

If I run cpmCPUTotal5minRev:

CISCO-PROCESS-MIB::cpmCPUTotal5minRev.1 = Gauge32: 0 percent

CISCO-PROCESS-MIB::cpmCPUTotal5minRev.2 = Gauge32: 4 percent

CISCO-PROCESS-MIB::cpmCPUTotal5minRev.4 = Gauge32: 0 percent

CISCO-PROCESS-MIB::cpmCPUTotal5minRev.5 = Gauge32: 1 percent

The entPhysicalName shows:

ENTITY-MIB::entPhysicalName.2 = STRING: Physical Slot 1

ENTITY-MIB::entPhysicalName.3 = STRING: Physical Slot 2

ENTITY-MIB::entPhysicalName.4 = STRING: Physical Slot 3

ENTITY-MIB::entPhysicalName.5 = STRING: Physical Slot 4

ENTITY-MIB::entPhysicalName.6 = STRING: Physical Slot 5

ENTITY-MIB::entPhysicalName.7 = STRING: Physical Slot 6

As you can see, cpmCPUTotal5minRev did not pull slot 5.

How do I get that?

I have this problem too.
0 votes
Correct Answer by Joe Clarke about 8 years 6 months ago

Yes. Not every module will have a managed CPU. In this case, the RP module in slot 5 has a managed CPU.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Joe Clarke Thu, 06/26/2008 - 10:21

You're not comparing apples and oranges. You need to poll the cpmCPUTotalPhysicalIndex object to get the actual entity index to use when walking the entPhysicalTable. The cpmCPUTotalPhysicalIndex object will map the .1, .2, .4, and .5 to real entity indexes.

duncanm Thu, 06/26/2008 - 10:29

If I run the cpmCPUTotalPhysicalIndex I get:

CISCO-PROCESS-MIB::cpmCPUTotalPhysicalIndex.1 = INTEGER: 2017

CISCO-PROCESS-MIB::cpmCPUTotalPhysicalIndex.2 = INTEGER: 2001

CISCO-PROCESS-MIB::cpmCPUTotalPhysicalIndex.4 = INTEGER: 1009

CISCO-PROCESS-MIB::cpmCPUTotalPhysicalIndex.5 = INTEGER: 4011

Slot 5 isn't given as it stops at slot 4.

duncanm Thu, 06/26/2008 - 11:04

It is pretty big, let me see if I get this:

CISCO-PROCESS-MIB::cpmCPUTotalPhysicalIndex.1 = INTEGER: 2017

ENTITY-MIB::entPhysicalDescr.2017 = STRING: CPU of Routing Processor

ENTITY-MIB::entPhysicalName.2017 = STRING: CPU of Routing Processor 5

So, 2017 is the routing CPU on slot 5?

Correct Answer
Joe Clarke Thu, 06/26/2008 - 12:34

Yes. Not every module will have a managed CPU. In this case, the RP module in slot 5 has a managed CPU.

Actions

This Discussion