lextudio / sharpsnmplib

Sharp SNMP Library- Open Source SNMP for .NET
https://sharpsnmp.com
MIT License
356 stars 152 forks source link

Convert OIDs to Descriptive String #586

Closed lextudio-support closed 2 hours ago

lextudio-support commented 2 hours ago

Hi All,

I'm using #SNMP suite in constructing a table. The table would have OIDs on the 1st column and the results on the 2nd column. The problem i'm having now is to convert the OIDs on 1st column into a more understandable description (probably from .1.3.6.1.2.1.1.5 to iso.org.dod.internet.mgmt.mib-2.system.sysName where at the end i could extract out sysName to represent the OID).

I've tried something like Var.Id.ToString but this would return the value in 1.3.6.1.2.1.1.5 format. Any work around for this?

Thanks

ksyong17

Original Reported Date: 2009-05-21T23:12:48.54-07:00 Original CodePlex Discussion Thread ID: 57149

lextudio-support commented 2 hours ago

Copied from CodePlex without authors:

Hi,

We have an old thread here.

http://sharpsnmplib.codeplex.com/Thread/View.aspx?ThreadId=34831

Always you can implement something you want yourself, as this project is open source.

Regards,

Lex

Original Posted Date: 2009-05-22T19:21:52.54-07:00

lextudio-support commented 2 hours ago

Marked as Answer Date: 2013-10-06T21:03:14.953-07:00