cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6292
Views
0
Helpful
4
Replies

SNMP monitor for temperature status

Chung Man Ng
Level 1
Level 1

May I know how to monitor temperature status of below device by SNMP

How to find the exact oid of those devices??

I can only find the mib file of Nexus 5000 at ftp://ftp.cisco.com/pub/mibs/v2/CISCO-ENTITY-SENSOR-MIB.my

But no oid was find?

Please help

Cisco Nexus 5010P
Cisco UCS 6120XP
Cisco ASR 1002F
4 Replies 4

srkala
Cisco Employee
Cisco Employee

Hi,

you can try

Object: ciscoEnvMonTemperatureStatusValue

OID: 1.3.6.1.4.1.9.9.13.1.3.1.3

Description: The current measurement of the testpoint being instrumented.

Nexus doesn't support CISCO-ENVMON-MIB, we need to use the CISCO-ENTITY-SENSOR MIB.

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 temperaturecommand.

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

 

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 temperaturecommand.

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

Ben Walters
Level 4
Level 4

You will need to use CISCO-ENTITY-SENSOR-MIB

The starting point OID would be 1.3.6.1.4.1.9.9.91.1.1.1.1 

Something that is really helpful is the Cisco SNMP object navigator. It provides exact OIDs and descriptions and possible values. 

Cisco SNMP Object Navigator