10-17-2011 07:20 AM
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
10-17-2011 08:09 AM
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
10-17-2011 09:03 AM
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
10-17-2011 01:18 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide