Hi there! I just installed OpenHab today (Newbie).
I’m trying to get a value from a temperature sensor in my datacenter that uses SNMP
Device IP: 192.168.0.251
OID: 1.3.6.1.4.1.13400.2.503.2.2.2.0
so I’m using this item:
Number RDU_Temp “RDU TEMP” { snmp="<[192.168.0.252:public:.1.3.6.1.4.1.13400.2.503.2.2.2.0:100]" }
and adding this on sitemap:
Text item=RDU_Temp label=“RDU-A Temp” icon=“temperature”
I don’t get any value, just the frame indicating RDU-A Temp.
On the LOG I get:
2018-05-01 21:10:30.558 [ERROR] [ab.binding.snmp.internal.SnmpBinding] - SNMP: snmp not initialised - aborting request
So far I’ve tried/tested:
- Theres is NOT a program running on this port, so port is not blocked
- Doing a SNMPGET (using snmpget.exe) and I get the correct value so port 161 is working and device is ok.
- Modifying the config file for snmp on openhab, setting port in 161 (I know that this port is open in windows and router).
- I tried running via EXEC binding the command for smtpGET on the PAPER UI (I don’t know how to do it with the items files) and I get the temperature value… I just don’t know how to divide it by 10 to get a correct result.
So… mainly my question is:
Why is the SNMP Service not running? What I’m doing wrong?
Thank you!!!