I´m trying to get the temperature from an APC Management Card.
snmpwalk gives me the correct results of the ProbeCurrentTemp.2

snmpwalk -v2c -m ALL -c public 10.10.70.40 .1.3.6.1.4.1.318.1.1.10.2.3
PowerNet-MIB::iemStatusProbesNumProbes.0 = INTEGER: 1
PowerNet-MIB::iemStatusProbeNumber.2 = INTEGER: 2
PowerNet-MIB::iemStatusProbeName.2 = STRING: "Port 2 Temp 2"
PowerNet-MIB::iemStatusProbeStatus.2 = INTEGER: connected(2)
PowerNet-MIB::iemStatusProbeCurrentTemp.2 = INTEGER: 24
PowerNet-MIB::iemStatusProbeTempUnits.2 = INTEGER: celsius(1)
PowerNet-MIB::iemStatusProbeCurrentHumid.2 = INTEGER: 0
PowerNet-MIB::iemStatusProbeHighTempViolation.2 = INTEGER: disabled(3)
PowerNet-MIB::iemStatusProbeLowTempViolation.2 = INTEGER: disabled(3)

but if I do an:
snmpget -v2c -c public  10.10.70.40
PowerNet-MIB::iemStatusProbeCurrentTemp.2
PowerNet-MIB::iemStatusProbeCurrentTemp.2 = No Such Instance currently
exists at this OID

or
snmpget -v2c -c public  10.10.70.40 .1.3.6.1.4.1.318.1.1.10.2.3.2.1.4
SNMPv2-SMI::enterprises.318.1.1.10.2.3.2.1.4 = No Such Instance currently
exists at this OID

I receive that error ... any clues what am I doing wrong ?


snmptranslate results in the correct OID number, so the MIB should be
correctly installed.

snmptranslate -IR -On PowerNet-MIB::iemStatusProbeCurrentTemp.2
.1.3.6.1.4.1.318.1.1.10.2.3.2.1.4.2


Thanks
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to