Re: getting leaf node string form OID

This is a discussion on Re: getting leaf node string form OID within the SNMP Coders forums, part of the Networking and Network Related category; On Wed, 2005-07-27 at 09:54 +0530, kanda.samy@wipro.com wrote: > I have to get the ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-27-2005
Dave Shield
 
Posts: n/a
Default Re: getting leaf node string form OID

On Wed, 2005-07-27 at 09:54 +0530, kanda.samy@wipro.com wrote:

> I have to get the leaf node string of the OID in mib2c code . for
> example if the OID is 1.3.6.1.2.1.1.4 , i have to get the leaf node
> string in the mib definition as "sysContact".


Try 'snprint_objid'


>
> I tried by using netsnmp_oid2str(), netsnmp_oid2char().


No - that's something completely different (related to the
processing of string index values).


Dave


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:07 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0