-
Notifications
You must be signed in to change notification settings - Fork 81
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
way to get opaque data ? #35
Labels
Comments
I am facing the same problem, when I try getting Opaque type OID, I only get the tag. The rest of the values (iid,val and type) are set to "None". Is there a way to read these OIDs through EasySNMP? |
i never found a way through easysnmp to get/set opaques. i used pysnmp to get them, but then had to covert them .. here's a sample:
|
Thank you for sharing Chris! :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is there a way to get/set opaque values?
For instance here's a few snippets from calling the snmp command line tools:
Pull the value:
Set the value as a float:
When i try to do the same thing via python and easysnmp, i get a "wrongEncoding" error if i try float.
And if i do a walk snmp_type is empty, along with all the values:
Even though i know they are set from the command line version of walk:
I had to assume this is from the Opaque part of the data because i can get/set INTEGERS normally:
Any help is appreciated because this seems the logical way of moving forward rather than reaching out to snmpset with subprocess. Thanks.
The text was updated successfully, but these errors were encountered: