Skip to content
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

Getting some unreadable data, even with 'use_sprint_value=True'. (Contains Binary) is Returned #96

Open
rtkrwilson opened this issue May 17, 2018 · 2 comments

Comments

@rtkrwilson
Copy link

When I issue a walk using a Session, I get the following output:
<SNMPVariable value='"'}" (contains binary)' (oid='.1.3.6.1.2.1.3.1.1.2.10.1.10.9.151', oid_index='139', snmp_type='OCTETSTR')>

Running an SNMPWALK against the same OID produces the following:
snmpwalk -v2c -c <community_string> <ip_address> .1.3.6.1.2.1.3.1.1.2.10
SNMPv2-SMI::mib-2.3.1.1.2.10.1.10.9.151.139 = STRING: "?'???}"

I can produce the desired result by adding the -Ox flag to my snmpwalk call:
snmpwalk -Ox -v2c -c <community_string> <ip_address> .1.3.6.1.2.1.3.1.1.2.10
SNMPv2-SMI::mib-2.3.1.1.2.10.1.10.9.151.139 = Hex-STRING: B8 27 EB EF C8 7D

Is there a way that I can add a similar flag to my Session instance?

@nskalis
Copy link

nskalis commented Jun 14, 2018

hi. did it happen to figure out this one ? (I am having the same issue)

@rtkrwilson
Copy link
Author

rtkrwilson commented Jun 14, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants