Skip to content

Null results if returned Hex-STRING #9

@alexey-us

Description

@alexey-us

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");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions