Hi,
I need to edit some values in a snmp table. To proceed, my table has an automatic index (1, 2 , ...) and I created a write parameter to be able to edit the it with options="snmpset". I can see the driver tries to write the value I entered but in return it sends back the following:
-> 14:33:44 - Set for parameter moduleSettingsModuleGain to 2400.000000
-> 14:33:44 - Set for moduleSettingsModuleGain () failed : NOT WRITABLE
Here follows the parameters mentioned above:
<Param id="2003" trending="false">
<Name>moduleSettingsModuleGain</Name>
<Description>Module Gain (Module Settings)</Description>
<Information>
<Subtext>
<![CDATA[Gain setting (in hundredths of dB)]]>
</Subtext>
</Information>
<Type>read</Type>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
<Sequence noset="true">div:100</Sequence>
</Interprete>
<SNMP>
<Enabled>true</Enabled>
<OID type="complete">1.3.6.1.4.1.20938.1.6.6.1.2.1.5</OID>
<Type>integer32</Type>
</SNMP>
<Display>
<RTDisplay>true</RTDisplay>
<Units>dB</Units>
<Decimals>2</Decimals>
</Display>
<Measurement>
<Type>number</Type>
</Measurement>
</Param>
<Param id="2103" options="snmpset">
<Name>moduleSettingsModuleGain</Name>
<Description>Module Gain (Module Settings)</Description>
<Type>write</Type>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
<!-- <Sequence noset="true">div:100</Sequence> -->
</Interprete>
<SNMP>
<Enabled>true</Enabled>
<OID type="complete">1.3.6.1.4.1.20938.1.6.6.1.2.1.5</OID>
<Type>integer32</Type>
</SNMP>
<Display>
<RTDisplay>true</RTDisplay>
<Units>dB</Units>
<Decimals>2</Decimals>
</Display>
<Measurement>
<Type>number</Type>
</Measurement>
</Param>
Do you see anything wrong? Did I miss something?
Hi Dominique,
Typically, those errors are directly from the device, and DataMiner has no control.
Either the device does not support writing to that field at all over SNMP, or something else needs to be enabled to allow sets.
This would need to be checked on the MIB or the device documentation.
Do you have access to the MIB or documentation?

Hi Dominique,
Could you please share the complete connector XML so we can take a closer look?
If the content contains sensitive information, feel free to reach out to support.data-acquisition@skyline.be
Thank you Joao,
I sent the full code by email with subject "Not Writable error while to write a parameter value in a table"
Hi Joao,
As per the MIB, the parameter is "read-write":
OID .1.3.6.1.4.1.20938.1.6.6.1.2.1.5
MIB ETLSYSTEMS-ALTO-MIB
Syntax INTEGER32
Access read-write
Status current
There 2 instances in this case:
moduleGain.1 2500 Integer 192.168.6.137:161
moduleGain.2 2500 Integer 192.168.6.137:161
I can modify the value with MIB browser. For instance, if I modify the first one to 2400, MIB brower use the same OID with the instance number (1) appended at the end:
.1.3.6.1.4.1.20938.1.6.6.1.2.1.5.1
And the change succeded:
moduleGain.1 2400 Integer 192.168.6.137:161