Hi.
I’m trying to setup this SNMP thing:
Thing snmp:target:poeswitch [ hostname="192.168.1.178", protocol="v2c", community="public" ] {
Channels:
Type switch : sw_poe_tel_cv [ oid="1.3.6.1.2.1.105.1.1.1.3.1.13", mode="READ_WRITE", datatype="UINT32", onvalue="1", offvalue="2" ]
Type switch : sw_poe_tel_escr [ oid="1.3.6.1.2.1.105.1.1.1.3.1.14", mode="READ_WRITE", datatype="UINT32", onvalue="1", offvalue="2" ]
Type switch : sw_poe_tel_sala [ oid="1.3.6.1.2.1.105.1.1.1.3.1.15", mode="READ_WRITE", datatype="UINT32", onvalue="1", offvalue="2" ]
Type switch : sw_poe_tel_sot [ oid="1.3.6.1.2.1.105.1.1.1.3.1.16", mode="READ_WRITE", datatype="UINT32", onvalue="1", offvalue="2" ]
Type switch : sw_poe_ap_cv [ oid="1.3.6.1.2.1.105.1.1.1.3.1.19", mode="READ_WRITE", datatype="UINT32", onvalue="1", offvalue="2" ]
Type switch : sw_poe_ap_rc1 [ oid="1.3.6.1.2.1.105.1.1.1.3.1.20", mode="READ_WRITE", datatype="UINT32", onvalue="1", offvalue="2" ]
Type switch : sw_poe_ap_rc2 [ oid="1.3.6.1.2.1.105.1.1.1.3.1.21", mode="READ_WRITE", datatype="UINT32", onvalue="1", offvalue="2" ]
Type switch : sw_poe_ap_1a [ oid="1.3.6.1.2.1.105.1.1.1.3.1.22", mode="READ_WRITE", datatype="UINT32", onvalue="1", offvalue="2" ]
Type switch : sw_poe_ap_sot [ oid="1.3.6.1.2.1.105.1.1.1.3.1.24", mode="READ_WRITE", datatype="UINT32", onvalue="1", offvalue="2" ]
Type switch : sw_poe_switch_tv [ oid="1.3.6.1.2.1.105.1.1.1.3.1.23", mode="READ_WRITE", datatype="UINT32", onvalue="1", offvalue="2" ]
}
But the logs show that the values are returned, but cannot be mapped!
01:05:03.774 [TRACE] [nding.snmp.internal.SnmpTargetHandler] - snmp:target:poeswitch received RESPONSE[requestID=1520789983, errorStatus=Success(0), errorIndex=0, VBS[1.3.6.1.2.1.105.1.1.1.3.1.19 = 1; 1.3.6.1.2.1.105.1.1.1.3.1.20 = 1; 1.3.6.1.2.1.105.1.1.1.3.1.23 = 2; 1.3.6.1.2.1.105.1.1.1.3.1.21 = 1; 1.3.6.1.2.1.105.1.1.1.3.1.24 = 1; 1.3.6.1.2.1.105.1.1.1.3.1.14 = 1; 1.3.6.1.2.1.105.1.1.1.3.1.15 = 1; 1.3.6.1.2.1.105.1.1.1.3.1.16 = 1; 1.3.6.1.2.1.105.1.1.1.3.1.13 = 1; 1.3.6.1.2.1.105.1.1.1.3.1.22 = 1]]
01:05:03.812 [DEBUG] [nding.snmp.internal.SnmpTargetHandler] - channel snmp:target:poeswitch:sw_poe_ap_cv received unmapped value 1
01:05:03.823 [DEBUG] [nding.snmp.internal.SnmpTargetHandler] - channel snmp:target:poeswitch:sw_poe_ap_rc1 received unmapped value 1
01:05:03.832 [DEBUG] [nding.snmp.internal.SnmpTargetHandler] - channel snmp:target:poeswitch:sw_poe_switch_tv received unmapped value 2
01:05:03.847 [DEBUG] [nding.snmp.internal.SnmpTargetHandler] - channel snmp:target:poeswitch:sw_poe_ap_rc2 received unmapped value 1
01:05:03.860 [DEBUG] [nding.snmp.internal.SnmpTargetHandler] - channel snmp:target:poeswitch:sw_poe_ap_sot received unmapped value 1
01:05:03.869 [DEBUG] [nding.snmp.internal.SnmpTargetHandler] - channel snmp:target:poeswitch:sw_poe_tel_escr received unmapped value 1
01:05:03.879 [DEBUG] [nding.snmp.internal.SnmpTargetHandler] - channel snmp:target:poeswitch:sw_poe_tel_sala received unmapped value 1
01:05:03.905 [DEBUG] [nding.snmp.internal.SnmpTargetHandler] - channel snmp:target:poeswitch:sw_poe_tel_sot received unmapped value 1
01:05:03.923 [DEBUG] [nding.snmp.internal.SnmpTargetHandler] - channel snmp:target:poeswitch:sw_poe_tel_cv received unmapped value 1
01:05:03.934 [DEBUG] [nding.snmp.internal.SnmpTargetHandler] - channel snmp:target:poeswitch:sw_poe_ap_1a received unmapped value 1
What am I missing? I think I’ve followed the documentation correctly.
Thanks.