Title: getting leaf node string form OID


Hi

     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".

     snmptranslate command line utility doing this operations for given OID. I tried by using netsnmp_oid2str(),
netsnmp_oid2char(). It is not giving the expected string.

      What API i have to use to get the leaf node string in the mib definition?

by
Sam

Reply via email to