This project has moved and is read-only. For the latest updates, please go here.

oid to string?

Topics: usage (how to ...)
Sep 3, 2008 at 3:03 PM
Hello,

is there a way to translate oid variable ( .1.3.1.2.1.1.1.0  ) to string ( internet.mgmt.mib-2.system.sysDesrc ) i can on get SNMPv2::sysDescr from Variable type.

thank you very much.
Sven
Sep 4, 2008 at 9:00 AM
Edited Sep 4, 2008 at 9:04 AM
Sven,

Personally I find this form of OID less useful than the numerical form and the <module>::<name> form. And I wrote a blog post on it here to express my concerns,

http://lextm.blogspot.com/2008/06/snmp-design-time-for-parser-details_9559.html

May you tell me why you find internet.mgmt.mib-2.system.sysDesrc more meaningful than SNMPv2::sysDescr?

The rule is simple that if your answer is persuasive I'd like to add such a feature in #SNMP. :-)

Lex
Marked as answer by lextm on 10/6/2013 at 9:45 PM
Sep 4, 2008 at 11:57 AM
Lex,

OK, i understand. I havo no persuasive for you, that it is really needed to add this feature to the #SNMP lib. It was only the thing that i know that form from the past.

thank you very much.
Sven