"Custom OID" "Invalid data in SNMP Reply, value received"

Tags: #<Tag:0x00007f84b2eac4a8>

Hi,
Trying to add a custom OID to Librenms:
.1.3.6.1.4.1.2620.1.38.2
(identityAwarenessAuthUsers)
in checkpoint.
doing a snmp read from solarwinds, linux or an snmpbrowser works fins and returns a value, but when i try to add the custom oid in librenms i recive the errormessage above.

Any ideas?

Hi Sebastian,

I had the same problem and the issue was a trailing .0 in the OID:
snmpwalk 1.3.6.1.4.1.2620.1.6.7.6.1.8
SNMPv2-SMI::enterprises.2620.1.6.7.6.1.8.1**.0** = INTEGER: 50
SNMPv2-SMI::enterprises.2620.1.6.7.6.1.8.2**.0** = INTEGER: 86
SNMPv2-SMI::enterprises.2620.1.6.7.6.1.8.3**.0** = INTEGER: 11

The only way I found to fix this was to create one custom OID entry for each instance. I know it is cumbersome if there are many, but it works.

Hope it helps.

@Sebastian_Diaverum
I would suggest to only use CustomOIDs for manual tests. And properly include those OIDs in YAML files for your device. That will be easier at the end, and will also benefit to everybody.