Hello everyone,
In a Connector I am developing I need to use a parameter to change the beginning of the OIDs to poll as they change depending on the model supported.
Reading data from the data source is working perfectly fine, however writing data is not. I am using the following structure for both cases:
<SNMP>
<Enabled>true</Enabled>
<OID type="complete" id="3">*.2.1.1.0</OID>
<Type>octetstring</Type>
</SNMP>
As said, parameter ID 3 contains the beginning of the OID value. If I try to manually input the OID I am able to do the necessary write operation. When using it in this manner I am getting this log in the Stream Viewer: Unable to convert the OID.
I've also tried using type="wildcard" without the "*" but it isn't working either.
EDIT: if I use options="snmpSet" instead of snmpSetAndGet="true" I can execute the set. Any reason for this?
Thank you!
Although I read about the downside of this option when using tables, my case is only with Standalone parameters and when using "options="snmpSetAndGetWithWait"" everything works.
Still not sure if this is the right behavior.