-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error parsing OID Value: invalid OID length #387
Comments
Removing this check to return |
Same here. I think return nil as error should be fine. |
Same problem with oid .1.3.6.1.2.1.17.1.4.1.2 When use WalkAll - all fine. snmpbulkwalk - correctly processes the request
After doing some research, I came to the conclusion that the problem may be in the wrong type of data that the device produces. How does it look in snmpbulkwalk on incorrect device
How does it look in snmpbulkwalk on correct device
Can this problem be solved on the snmpgo side? |
@cemremengu This change helps, but I'm not sure if it's the correct solution. Because we won't get errors when they actually happen. |
@Chunters yes, this is just a workaround unfortunately since I am not sure how to correct this error otherwise, yet. Currently,I reverted to net-snmp somehow handles this as you said so maybe that can be checked. |
Not sure if we should gracefully handle situations like net-snmp appears to do. |
Also hit this. Also mentioned here: influxdata/telegraf#10240 |
I am using
BulkWalkAll
successfully for all devices to readIF-MIB
. However for 1 particular device (which is same in every aspect with other devices), I am getting he errorerror parsing OID Value: invalid OID length
. I can see that the values are returned over the wire but not sure where it goes wrong. Maybe one package is big and is not fragmented correctly?Below is the tcp dump. Any ideas why this might be happening?
The text was updated successfully, but these errors were encountered: