12-02-2014 02:08 AM
Hi there!
We`ve got cisco asr 9010 with OS XR Software, Version 4.3.4, and there is a question: how can i get temperature of nodes by SNMP? i figure out that i must change my snmp-server configuration with a SystemOwner and i did it:
RP/0/RSP0/CPU0:cisco#show run snmp-server community
Tue Dec 2 12:59:36.547 FET
snmp-server community ***** RO SystemOwner snmp
Than i get the card id
root@server:~$ snmpwalk -v2c -c ***** 192.168.1.10 1.3.6.1.2.1.47.1.1.1.1.7 | grep temper | grep RSP
iso.3.6.1.2.1.47.1.1.1.1.7.28783653 = STRING: "temperature 0/RSP0/CPU0"
Then i gen sensor name and id
root@server:~$ snmpwalk -v2c -c ***** 192.168.1.10 1.3.6.1.2.1.47.1.1.1.1.4.28783653
iso.3.6.1.2.1.47.1.1.1.1.4.28783653 = INTEGER: 38557239
root@server:~$ snmpwalk -v2c -c ***** 192.168.1.10 1.3.6.1.2.1.47.1.1.1.1.2.28783653
iso.3.6.1.2.1.47.1.1.1.1.2.28783653 = STRING: "Hot Temperature SensorHotspot0"
Then i`m trying to get the value and im getting this
root@server:~$ snmpwalk -v2c -c ***** 192.168.1.10 1.3.6.1.4.1.9.9.91.1.1.1.1.4.28783653
iso.3.6.1.4.1.9.9.91.1.1.1.1.4.28783653 = No Such Object available on this agent at this OID
Tell me please, what is correct OID to get temperature by snmp?
12-02-2014 03:50 AM
Hi,
You are following the right procedure , and the Temperature OID is also correct "1.3.6.1.4.1.9.9.91.1.1.1.1.4".
Do the SNMP WALK on the complete box for this OID and see you get some values for other modules, if not , try to restart the "SNMP" process and check the issue again.
# process restart SNMPD
**No issue with the OID**
Thanks-
Afroz
****Ratings Encourages Contributors ****
12-02-2014 02:20 PM
Hi, thanks for answering
if i try snmpwalk just with this oid, I'm still have nothing
root@server:~$ snmpwalk -v2c -c ***** 192.168.1.10 1.3.6.1.4.1.9.9.91.1.1.1.1.4
iso.3.6.1.4.1.9.9.91.1.1.1.1.4 = No Such Object available on this agent at this OID
process restart SNMPD give me nothing)
ill try to find this oid on my router and there is no result
RP/0/RSP0/CPU0:cisco#show snmp mib | i 1.3.6.1.4.1.9.9.91.1.1.1.1.4
Wed Dec 3 01:15:28.046 FET
any advices?
thanks for helping
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