snmp mib for CPU

Unanswered Question
Dec 4th, 2009

C7140#sh slot1:
-#- ED ----type---- --crc--- -seek-- nlen -length- ---------date/time--------- name
1   .. image        9E20D3C3  F5E680   25 15984128 May 07 2008 20:34:48 +00:00 c7100-jo3s-mz.123-12e.bin

399744 bytes available (15984256 bytes used)
C7140#
C7140#sh process cpu | i SNMP | PDU | IP Input | five
CPU utilization for five seconds: 97%/16%; one minute: 97%; five minutes: 97%
  43    42270464 130305538        324 12.39% 11.99% 11.92%   0 IP Input
  57           0         2          0  0.00%  0.00%  0.00%   0 SNMP Timers
120     7770932  50441966        154 20.79% 20.37% 20.56%   0 IP SNMP
121     2863296  34168850         83  6.55%  6.51%  6.47%   0 PDU DISPATCHER
122    15130384  34169748        442 37.91% 37.20% 37.22%   0 SNMP ENGINE
123           0         1          0  0.00%  0.00%  0.00%   0 SNMP ConfCopyPro
124          56        68        823  0.00%  0.00%  0.00%   0 SNMP Traps
C7140#

I am looking for the 1 minute snmp CPU MIB for the following parameters:  IP Input, SNMP Timers, IP SNMP, SNMP ENGINE and PDU DISPATCHER.

In other words, let say if I want to do this: snmpwalk -v 2c -c cciesec x.x.x.x mib-value-here-for-IP-SNMP, it will return a value of 20.37% CPU utilization.

Is there a way to do this with Cisco?  Thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Joe Clarke Fri, 12/04/2009 - 20:08

You want the cpmProcExtUtil1Min object from the CISCO-PROCESS-MIB.  This object will return the integral portion of the 1 minute CPU time on a per-process basis.  The cpmProcExtTable is indexed by the CPU then the process ID.  I believe there is only one CPU in the 7100, so it should be something like

cpmProcExtUtil1Min.1.120

To get the 1 minute CPU utilization for IP SNMP.

Actions

This Discussion