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

Null results if returned Hex-STRING #9

Open
alexey-us opened this issue Jul 18, 2022 · 0 comments
Open

Null results if returned Hex-STRING #9

alexey-us opened this issue Jul 18, 2022 · 0 comments

Comments

@alexey-us
Copy link

Hello!

I'm try to get "1.3.6.1.4.1.14988.1.1.11.1.1.6" OID by walking. It's neighbors of network device. Hardware is RouterBoard (Mikrotik).

If I use linux snmpwalk with: "snmpwalk -v2c -c public 192.168.10.20 1.3.6.1.4.1.14988.1.1.11.1.1.6" - i'm got neighbors with STRING-type results, but one returned as Hex-STRING (TP-Link device).

But with SnmpSharpNet (by your's and original) results returned NULL.

Code is simple:

var client = new SimpleSnmp("192.168.10.20", "public");
client.Retry = 5;
client.Timeout = 1000;
var snmpResult = client.Walk(SnmpVersion.Ver2, "1.3.6.1.4.1.14988.1.1.11.1.1.6");
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

1 participant