×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

How to snmpwalk the CPUs for Cisco3750 and CiscoASR901

Unanswered Question
Oct 12th, 2014
User Badges:

Hi, Experts:

How to snmpwalk the CPUs for Cisco3750 and CiscoASR901? I found that Cisco CPUs can't be got by snmpwalk ENTITY-MIB. But  there is some values in CISCO-PROCESS-MIB. Why there is no CPU info in ENTITY-MIB? 

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (4 ratings)
Loading.
linda.yuan Tue, 10/14/2014 - 01:07
User Badges:

Hi, Afroz:

Nice to get your reply :-)

From the links you mentioned, we can get CPUs by OID:1.3.6.1.4.1.9.9.109.1.1.1.1, the problem is that why there is no physical info in Entity-Mib for cisco3750 and cisco ASR901?

For example bellow: From the result we can see there is one CPU in 10.8.51.94, but there is no physical info. What kind of CPU is it?  Could you give me some materials to explain the why?

[[email protected] ~]#  snmpwalk -v 2c -c public 10.8.51.94 1.3.6.1.4.1.9.9.109.1.1.1.1.2
SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.2.1 = INTEGER: 0
[[email protected] ~]#  snmpwalk -v 2c -c public 10.8.51.94 1.3.6.1.2.1.47.1.1.1.1.7.0
SNMPv2-SMI::mib-2.47.1.1.1.1.7.0 = No Such Instance currently exists at this OID

AFROJ AHMAD Tue, 10/14/2014 - 05:14
User Badges:
  • Cisco Employee,

Hi,

 

First :

In order to identify the physical entity to which these values correspond, poll cpmCPUTotalPhysicalIndex (.1.3.6.1.4.1.9.9.109.1.1.1.1.2).

Second::

In order to identify the particular card to which each physical entry is related, poll correspondent entPhysicalName (.1.3.6.1.2.1.47.1.1.1.1.7) entry

 

Hope it will help

 

Thanks-

Afroz

AFROJ AHMAD Tue, 10/14/2014 - 18:41
User Badges:
  • Cisco Employee,

Hi ,

 

[[email protected] ~]#  snmpwalk -v 2c -c public 10.8.51.94 1.3.6.1.4.1.9.9.109.1.1.1.1.2
SNMPv2-SMI::enterprises.9.9.109.1.1.1.1.2.1 = INTEGER: 0  

 

Object     cpmCPUTotalPhysicalIndex OID     1.3.6.1.4.1.9.9.109.1.1.1.1.2

Description     "The entPhysicalIndex of the physical entity for which the CPU statistics in this entry are maintained. The physical entity can be a CPU chip, a group of CPUs, a CPU card etc. The exact type of this entity is described by its entPhysicalVendorType value. If the CPU statistics in this entry correspond to more than one physical entity (or to no physical entity), or if the entPhysicalTable is not supported on the SNMP agent, the value of this object must be zero."

 

To know the module name of the CPU statistics  ,you need to correlate the below OID's::

Object     entPhysicalDescr OID     1.3.6.1.2.1.47.1.1.1.1.2

Object     entPhysicalIndex OID     1.3.6.1.2.1.47.1.1.1.1.1

and

-"show snmp mib ifmib ifindex" command

 

Thanks-

Afroz

***Ratings Encourages Contributors ****

linda.yuan Wed, 10/15/2014 - 19:28
User Badges:

Hi, Afroz:

Thank you for the detailed info.

I snmpwalked this NE as bellow, there is some info about the entPhysicalTable, so, I think entPhysicalTable is supported by the snmp agent. Am I right?

From the entPhysicalTable, there is no CPU info, 1.3.6.1.4.1.9.9.109.1.1.1.1.2 is 0, does it mean this CPU has no physical entity? If so, in what condition, there is no physical entity for CPU? 

By the way, if the snmp agent doesn't support entPhysicalTable, how to make it support?


[[email protected] ~]# snmpwalk -v 2c -c public 10.8.51.94 1.3.6.1.2.1.47.1.1.1.1.7
SNMPv2-SMI::mib-2.47.1.1.1.1.7.1 = STRING: "A901-12C-FT-D Chassis"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.2 = STRING: "Chassis Slot"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.3 = STRING: "A901-12C-FT-D Motherboard "
SNMPv2-SMI::mib-2.47.1.1.1.1.7.4 = STRING: "GigabitEthernet0/8"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.5 = STRING: "GigabitEthernet0/9"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.6 = STRING: "GigabitEthernet0/10"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.7 = STRING: "GigabitEthernet0/11"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.8 = STRING: "GigabitEthernet0/0"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.9 = STRING: "GigabitEthernet0/1"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.10 = STRING: "GigabitEthernet0/2"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.11 = STRING: "GigabitEthernet0/3"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.12 = STRING: "GigabitEthernet0/4"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.13 = STRING: "GigabitEthernet0/5"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.14 = STRING: "GigabitEthernet0/6"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.15 = STRING: "GigabitEthernet0/7"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.16 = STRING: "FastEthernet0/0"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.17 = STRING: "Board Temperature Sensor"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.18 = STRING: "module 0 +1.50 V"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.19 = STRING: "module 0 +1.25 V"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.20 = STRING: "module 0 +2.5 V"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.21 = STRING: "module 0 +1.05 V"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.22 = STRING: "module 0 +1.20 V"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.23 = STRING: "module 0 +1.80 V"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.24 = STRING: "module 0 +0.75 V"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.25 = STRING: "module 0 +1.00 V"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.26 = STRING: "DC Power supply"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.27 = STRING: "DC Redundant Power supply"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.28 = STRING: "Fan1"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.29 = STRING: "Fan2"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.30 = STRING: "GigabitEthernet 0/8 SFP Container"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.31 = STRING: "GigabitEthernet 0/9 SFP Container"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.32 = STRING: "GigabitEthernet 0/10 SFP Container"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.33 = STRING: "GigabitEthernet 0/11 SFP Container"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.34 = STRING: "GigabitEthernet 0/4 SFP Container"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.35 = STRING: "GigabitEthernet 0/5 SFP Container"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.36 = STRING: "GigabitEthernet 0/6 SFP Container"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.37 = STRING: "GigabitEthernet 0/7 SFP Container"

 

OSS-ASR#show snmp mib ifmib ifindex
GigabitEthernet0/3: Ifindex = 8
GigabitEthernet0/1: Ifindex = 6
GigabitEthernet0/10: Ifindex = 3
Vlan287: Ifindex = 17
GigabitEthernet0/7: Ifindex = 12
GigabitEthernet0/5: Ifindex = 10
GigabitEthernet0/9: Ifindex = 2
ToP0/12: Ifindex = 13
Null0: Ifindex = 16
GigabitEthernet0/2: Ifindex = 7
GigabitEthernet0/0: Ifindex = 5
GigabitEthernet0/11: Ifindex = 4
Vlan1: Ifindex = 14
GigabitEthernet0/6: Ifindex = 11
GigabitEthernet0/4: Ifindex = 9
GigabitEthernet0/8: Ifindex = 1
FastEthernet0/0: Ifindex = 15

 

AFROJ AHMAD Wed, 10/15/2014 - 19:35
User Badges:
  • Cisco Employee,

Hi,

I snmpwalked this NE as bellow, there is some info about the entPhysicalTable, so, I think entPhysicalTable is supported by the snmp agent. Am I right? Yes

From the entPhysicalTable, there is no CPU info, 1.3.6.1.4.1.9.9.109.1.1.1.1.2 is 0, does it mean this CPU has no physical entity? If so, in what condition, there is no physical entity for CPU? correct

By the way, if the snmp agent doesn't support entPhysicalTable, how to make it support? these are the standard MIBs ,suported on all platforms

 

Thanks-

Afroz

linda.yuan Wed, 10/15/2014 - 21:23
User Badges:

Hi, Afroz:

Thanks your quick response :-)

In what condition, there is no physical entity for CPU? Do you have any material about it?

Actions

This Discussion