Hi folks,
I’m trying to receive some info from a couple of environmental sensors connected to my EATON UPS, it works perfectly with snmpwalk (and the IP connection between OH and the UPS is ok), but when I try to use the SNMP Binding I’m not able to receive any info. From my understanding it seems is not finding the correct OID in the MIB, but I don’t understand why. I’ve also tried with .0 at the end, as I see in the forum that worked for APC. Nothing. Any clue?
OIDs:
temperature: 1.3.6.1.4.1.534.1.6.5
humidity: 1.3.6.1.4.1.534.1.6.6
here what I see with snmpwalk:
ariela-mbp% snmpwalk -v 1 -c nesys 192.168.100.7 .1.3.6.1.4.1.534.1.6.5
SNMPv2-SMI::enterprises.534.1.6.5.0 = INTEGER: 22
ariela-mbp% snmpwalk -v 1 -c nesys 192.168.100.7 .1.3.6.1.4.1.534.1.6.6
SNMPv2-SMI::enterprises.534.1.6.6.0 = INTEGER: 30
ariela-mbp% snmpwalk -v 1 -c nesys 192.168.100.7 .1.3.6.1.4.1.534.1.6.5.0
SNMPv2-SMI::enterprises.534.1.6.5.0 = INTEGER: 22
ariela-mbp%
here the trace:
2021-01-11 11:34:18.812 [TRACE] [inding.snmp.internal.SnmpServiceImpl] - send GET[requestID=1277029267, errorStatus=Success(0), errorIndex=0, VBS[1.3.6.1.4.1.534.1.6.5 = Null; 1.3.6.1.4.1.534.1.6.6 = Null]] to CommunityTarget[address=192.168.100.7/161,version=0,timeout=1500,retries=2,securityLevel=1,securityModel=1,securityName=nesys,preferredTransports=null]
2021-01-11 11:34:18.819 [TRACE] [ding.snmp.internal.SnmpTargetHandler] - snmp:target:EATON-1 received RESPONSE[requestID=1277029267, errorStatus=No such name(2), errorIndex=1, VBS[1.3.6.1.4.1.534.1.6.5 = Null; 1.3.6.1.4.1.534.1.6.6 = Null]]
my item.file:
Number Eaton_UPS1_temperature "Temperature [%d] " (gFF_TechRoom) { channel="snmp:target:EATON1:Temperature" }
Number Eaton_UPS1_humidity "Humidity [%d]" (gFF_TechRoom) { channel="snmp:target:EATON1:Humidity" }
my things file:
Thing snmp:target:EATON1 "Eaton 5P-650IR" @ "Techroom" [ hostname="192.168.100.7", community="nesys", protocol="v1" ] {
Channels:
Type number : Temperature [ oid=".1.3.6.1.4.1.534.1.6.5", mode="READ" ]
Type number : Humidity [ oid=".1.3.6.1.4.1.534.1.6.6", mode="READ" ]
}
the item via REST API is reporting “state”:“5”
Any suggestion would be appreciated.
thanks
Andrea