How To Find OID For CPU On 8400 Switch

MVP
MVP
Requirement:

We have users requesting for SNMP OID values for CPU on the Halon switches.

Multiple request have come across from customer to monitor their switch via SNMP NMS



Solution:

This is the SNMP MIB for the CPU utilisation.

 

Note that it has 8 entries because the 8400 consists of 8 cores and the Utilisation is given for each of the cores.

 

# snmpwalk -v 2c -c public 127.0.0.1 .1.3.6.1.2.1.25.3.3.1.2

HOST-RESOURCES-MIB::hrProcessorLoad.196608 = INTEGER: 15

HOST-RESOURCES-MIB::hrProcessorLoad.196609 = INTEGER: 12

HOST-RESOURCES-MIB::hrProcessorLoad.196610 = INTEGER: 18

HOST-RESOURCES-MIB::hrProcessorLoad.196611 = INTEGER: 16

HOST-RESOURCES-MIB::hrProcessorLoad.196612 = INTEGER: 14

HOST-RESOURCES-MIB::hrProcessorLoad.196613 = INTEGER: 18

HOST-RESOURCES-MIB::hrProcessorLoad.196614 = INTEGER: 12

HOST-RESOURCES-MIB::hrProcessorLoad.196615 = INTEGER: 13



Configuration:

This is the SNMP MIB for the CPU utilization.

Note that it has 8 entries because the 8400 consists of 8 cores and the Utilization is given for each of the cores.

 

# snmpwalk -v 2c -c public 127.0.0.1 .1.3.6.1.2.1.25.3.3.1.2

HOST-RESOURCES-MIB::hrProcessorLoad.196608 = INTEGER: 15

HOST-RESOURCES-MIB::hrProcessorLoad.196609 = INTEGER: 12

HOST-RESOURCES-MIB::hrProcessorLoad.196610 = INTEGER: 18

HOST-RESOURCES-MIB::hrProcessorLoad.196611 = INTEGER: 16

HOST-RESOURCES-MIB::hrProcessorLoad.196612 = INTEGER: 14

HOST-RESOURCES-MIB::hrProcessorLoad.196613 = INTEGER: 18

HOST-RESOURCES-MIB::hrProcessorLoad.196614 = INTEGER: 12

HOST-RESOURCES-MIB::hrProcessorLoad.196615 = INTEGER: 13

 

How do we know which of the CPU is which?

As you can see 196608-196615 are the 8 CPU cores listed in order and the hrPRocessorLoad gives the utilisation for each of these.

 

# snmpwalk -v 2c -c public 127.0.0.1 .1.3.6.1.2.1.25.3.2.1.3

HOST-RESOURCES-MIB::hrDeviceDescr.196608 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU D-1527 @ 2.20GHz

HOST-RESOURCES-MIB::hrDeviceDescr.196609 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU D-1527 @ 2.20GHz

HOST-RESOURCES-MIB::hrDeviceDescr.196610 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU D-1527 @ 2.20GHz

HOST-RESOURCES-MIB::hrDeviceDescr.196611 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU D-1527 @ 2.20GHz

HOST-RESOURCES-MIB::hrDeviceDescr.196612 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU D-1527 @ 2.20GHz

HOST-RESOURCES-MIB::hrDeviceDescr.196613 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU D-1527 @ 2.20GHz

HOST-RESOURCES-MIB::hrDeviceDescr.196614 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU D-1527 @ 2.20GHz

HOST-RESOURCES-MIB::hrDeviceDescr.196615 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU D-1527 @ 2.20GHz



Verification

# snmpwalk -v 2c -c public 127.0.0.1 .1.3.6.1.2.1.25.3.3.1.2

HOST-RESOURCES-MIB::hrProcessorLoad.196608 = INTEGER: 15

HOST-RESOURCES-MIB::hrProcessorLoad.196609 = INTEGER: 12

HOST-RESOURCES-MIB::hrProcessorLoad.196610 = INTEGER: 18

HOST-RESOURCES-MIB::hrProcessorLoad.196611 = INTEGER: 16

HOST-RESOURCES-MIB::hrProcessorLoad.196612 = INTEGER: 14

HOST-RESOURCES-MIB::hrProcessorLoad.196613 = INTEGER: 18

HOST-RESOURCES-MIB::hrProcessorLoad.196614 = INTEGER: 12

HOST-RESOURCES-MIB::hrProcessorLoad.196615 = INTEGER: 13

 

# snmpwalk -v 2c -c public 127.0.0.1 .1.3.6.1.2.1.25.3.2.1.3

HOST-RESOURCES-MIB::hrDeviceDescr.196608 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU D-1527 @ 2.20GHz

HOST-RESOURCES-MIB::hrDeviceDescr.196609 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU D-1527 @ 2.20GHz

HOST-RESOURCES-MIB::hrDeviceDescr.196610 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU D-1527 @ 2.20GHz

HOST-RESOURCES-MIB::hrDeviceDescr.196611 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU D-1527 @ 2.20GHz

HOST-RESOURCES-MIB::hrDeviceDescr.196612 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU D-1527 @ 2.20GHz

HOST-RESOURCES-MIB::hrDeviceDescr.196613 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU D-1527 @ 2.20GHz

HOST-RESOURCES-MIB::hrDeviceDescr.196614 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU D-1527 @ 2.20GHz

HOST-RESOURCES-MIB::hrDeviceDescr.196615 = STRING: GenuineIntel: Intel(R) Xeon(R) CPU D-1527 @ 2.20GHz

Version history
Revision #:
1 of 1
Last update:
‎07-27-2019 10:08 AM
Updated by:
 
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: