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

How To Get the Environment Temperature on a Nexus Using SNMP

Information to capture the output "show environment temperature" using SNMP in Nexus devices. 

Output of the show environment temperature Command Through the CLI

Note: You must be in enable mode in order to issue the show environment temperature command.

sh environment temperature
Temperature:
--------------------------------------------------------------------
Module Sensor MajorThresh MinorThres  CurTemp Status
(Celsius) (Celsius) (Celsius)
--------------------------------------------------------------------
    1      FRONT        60              42              37           Ok
    1      BACK           80              70              46           Ok
    1      CPU             90              80              49           Ok
    1      TD2            105             90               61           Ok
    1      DONNER   105             90               51           Ok

SNMP Output : 


entPhysicalDescr (1.3.6.1.2.1.47.1.1.1.1.2)

SNMPv2-SMI::mib-2.47.1.1.1.1.2.21590 = STRING: "module-1 FRONT"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.21591 = STRING: "module-1 BACK"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.21592 = STRING: "module-1 CPU"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.21593 = STRING: "module-1 TD2"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.21594 = STRING: "module-1 DONNER"

entSensorThresholdValue (1.3.6.1.4.1.9.9.91.1.2.1.1.4)

SNMPv2-SMI::enterprises.9.9.91.1.2.1.1.4.21590.1 = INTEGER: 42
SNMPv2-SMI::enterprises.9.9.91.1.2.1.1.4.21590.2 = INTEGER: 60
SNMPv2-SMI::enterprises.9.9.91.1.2.1.1.4.21591.1 = INTEGER: 70
SNMPv2-SMI::enterprises.9.9.91.1.2.1.1.4.21591.2 = INTEGER: 80
SNMPv2-SMI::enterprises.9.9.91.1.2.1.1.4.21592.1 = INTEGER: 80
SNMPv2-SMI::enterprises.9.9.91.1.2.1.1.4.21592.2 = INTEGER: 90
SNMPv2-SMI::enterprises.9.9.91.1.2.1.1.4.21593.1 = INTEGER: 90
SNMPv2-SMI::enterprises.9.9.91.1.2.1.1.4.21593.2 = INTEGER: 105
SNMPv2-SMI::enterprises.9.9.91.1.2.1.1.4.21594.1 = INTEGER: 90
SNMPv2-SMI::enterprises.9.9.91.1.2.1.1.4.21594.2 = INTEGER: 105

entSensorValue (1.3.6.1.4.1.9.9.91.1.1.1.1.4)

SNMPv2-SMI::enterprises.9.9.91.1.1.1.1.4.21590 = INTEGER: 37
SNMPv2-SMI::enterprises.9.9.91.1.1.1.1.4.21591 = INTEGER: 46
SNMPv2-SMI::enterprises.9.9.91.1.1.1.1.4.21592 = INTEGER: 52
SNMPv2-SMI::enterprises.9.9.91.1.1.1.1.4.21593 = INTEGER: 62
SNMPv2-SMI::enterprises.9.9.91.1.1.1.1.4.21594 = INTEGER: 51

entSensorStatus (1.3.6.1.4.1.9.9.91.1.1.1.1.5)

SNMPv2-SMI::enterprises.9.9.91.1.1.1.1.5.21590 = INTEGER: 1 (ok)
SNMPv2-SMI::enterprises.9.9.91.1.1.1.1.5.21591 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.91.1.1.1.1.5.21592 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.91.1.1.1.1.5.21593 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.91.1.1.1.1.5.21594 = INTEGER: 1

Note: This document uses these MIBs:
CISCO-ENTITY-SENSOR-MIB
ENTITY-MIB

Claudio Gonzalez S

2026
Views
20
Helpful
0
Comments