Within a table in an element, I'm expecting for the OID "1.3.6.1.4.1.6827.50.9.1.1.5.1.1" to return "-100" according to the simulation ran on the device. However, after doing a wireshark on the same device, a value of "4294967196" is being returned instead. They're both using the same "Integer32" type, yet this issue persists.
The wireshark response:
Value retrieved by the simulation:
<Definition OID="1.3.6.1.4.1.6827.50.475.9.1.1.5.1.1" Type="Integer32" ReturnValue="-100" />
This is causing the table to return incomplete:
While the simulation made on the same device returns this:
The XML for both of the parameters:
<Param id="1306" trending="true">
<Name>systemQsfpMonitorRxPowerLevel</Name>
<Description>Rx Power Level (QSFP Monitor)</Description>
<Type>read</Type>
<Information>
<Subtext>The received (Rx) power level of QSFP.</Subtext>
</Information>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
<Sequence noset="true">div:100</Sequence>
</Interprete>
<SNMP>
<Enabled>true</Enabled>
<Type>integer</Type>
<OID type="complete">1.3.6.1.4.1.6827.50.475.9.1.1.5</OID>
</SNMP>
<!-- SuppressValidator 2.5.1 Default threshold not given -->
<Alarm>
<Monitored>true</Monitored>
</Alarm>
<!-- /SuppressValidator 2.5.1 -->
<Display>
<RTDisplay>true</RTDisplay>
<Range>
<Low>-100</Low>
<High>6</High>
</Range>
<Units>dBm</Units>
<Decimals>2</Decimals>
</Display>
<Measurement>
<Type>number</Type>
</Measurement>
</Param><Param id="1307" trending="true">
<Name>systemQsfpMonitorTxOpticalLevel</Name>
<Description>Tx Power Level (QSFP Monitor)</Description>
<Type>read</Type>
<Information>
<Subtext>The transmitted (Tx) power level of QSFP.</Subtext>
</Information>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
<Sequence noset="true">div:100</Sequence>
</Interprete>
<SNMP>
<Enabled>true</Enabled>
<Type>integer</Type>
<OID type="complete">1.3.6.1.4.1.6827.50.475.9.1.1.6</OID>
</SNMP>
<!-- SuppressValidator 2.5.1 Default threshold not given -->
<Alarm>
<Monitored>true</Monitored>
</Alarm>
<!-- /SuppressValidator 2.5.1 -->
<Display>
<RTDisplay>true</RTDisplay>
<Range>
<Low>-100</Low>
<High>6</High>
</Range>
<Units>dBm</Units>
<Decimals>2</Decimals>
</Display>
<Measurement>
<Type>number</Type>
</Measurement>
</Param>
Hi Miguel,
I just tried to change the parameters to use “uinteger32” and “integer32” but the values still wouldn’t fill in on the table. I added to the original post what both of the parameters look like.
This is the same issue that is described here. In short: that is a firmware issue, the Wireshark screenshot also that the value length is wrong.
Regards,
Hi Laurens. I’ll work on contacting the device manufacturer to mention this firmware issue. Thank you!
Hi Micah,
Could it be that the value retrieved (4294967196) represents an unsigned integer? When you convert this value to a signed integer, the value is equal to -100.