cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2951
Views
20
Helpful
3
Replies

SNMP OID for CRS 4.0.1

mtenorio
Level 1
Level 1

Im trying to find the OID to monitor temperature (current) in the CRS, running version 4.0.1.

I tried looking in the documentation but could not find anything. Hope you guys could help me

3 Replies 3

Alexei Kiritchenko
Cisco Employee
Cisco Employee

Hi Mario,

It is the same approach as described here

https://supportforums.cisco.com/message/3443579#3443579

let me know if something does not work.

Regards,

/A

Hi

Is similar however it does not give me the OID for temperature.

Hope you can help

Is there any documentation where it will give me the exact OID for temperature in XR 4.0.1

Hi Mario,

The OID is the same, you just need to find the right index as described. Here is the example for the temperature on LC 0/1.

Below are the OID's you should use:

entSensorValue - 1.3.6.1.4.1.9.9.91.1.1.1.1.4 - This will give you each of the sensor values for (Temp, Voltage, Fan Speed, etc...)

entSensorType - 1.3.6.1.4.1.9.9.91.1.1.1.1.1 - This variable indicates the type of data reported by the entSensorValue.

entPhysicalName - 1.3.6.1.2.1.47.1.1.1.1.7 - This is the textual name of the physical entity your querying so you can match it up with index value from above.

# snmpwalk -v2c -c public 10.48.32.212 1.3.6.1.2.1.47.1.1.1.1.7 | grep -i "0/1/" | grep host

SNMPv2-SMI::mib-2.47.1.1.1.1.7.10738808 = STRING: "0/1/* - host - Inlet1"

SNMPv2-SMI::mib-2.47.1.1.1.1.7.27516357 = STRING: "0/1/* - host - Exhaust0"

SNMPv2-SMI::mib-2.47.1.1.1.1.7.44293970 = STRING: "0/1/* - host - Exhaust1"

SNMPv2-SMI::mib-2.47.1.1.1.1.7.61068375 = STRING: "0/1/* - host - Hotspot0"

SNMPv2-SMI::mib-2.47.1.1.1.1.7.61070059 = STRING: "0/1/* - host - Inlet0"

So from the output above we know the index for inlet1 is 10738808 and for example for the hotspot is 61068375. Now we can use these indexes to retrieve values:

# snmpwalk -v2c -c public 10.48.32.212 1.3.6.1.4.1.9.9.91.1.1.1.1.4.10738808              

SNMPv2-SMI::enterprises.9.9.91.1.1.1.1.4.10738808 = INTEGER: 23

# snmpwalk -v2c -c public 10.48.32.212 1.3.6.1.4.1.9.9.91.1.1.1.1.4.61068375

SNMPv2-SMI::enterprises.9.9.91.1.1.1.1.4.61068375 = INTEGER: 44

Compare it from the output using CLI:

RP/0/RP0/CPU0:pixies(admin)#show environment temperatures location 0/1/cpu0

Mon Oct 17 22:01:44.208 CEST

R/S/I   Modules         Inlet           Exhaust         Hotspot

                       Temperature     Temperature     Temperature

                       (deg C)         (deg C)         (deg C)

0/1/*

       host             23, 23         39, 41         44          

       cpu                                             27          

       fabricq0                                       39          

       fabricq1                                       37          

       ingressq                                      26          

       egressq                         37             40          

       ingresspse                                     30          

       egresspse                                       33         

       plimasic         25             34, 27                    

RP/0/RP0/CPU0:pixies(admin)#

/A

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: