Hi Dojo,
I have an SNMP protocol that reads UTF-8 encoding characters. Even though I have the "unicode" option in the Type tag, the parameters are still read as a hexadecimal string. I have recreated the item without success. Using the MIB browser with the UTF-8 option, the value is read correctly. Is there anything else I can try or a way to debug it?
Thanks in advance!
Hi Manuel,
To use the UTF-8 character set, the unicode option indeed needs to be activated in the Type tag.
In addition, it's also required to specify that the incoming SNMP data is encoded in UTF8, and not ASCII, on the parameter itself. This can be done using the Param/SNMP/Type tag, and set its value to OctetStringUTF8.
<SNMP>
<Enabled>true</Enabled>
<OID type="complete">1.3.6.1.2.1.2.2.1.2.2.0</OID>
<Type>OctetStringUTF8</Type>
</SNMP>