On 25 July 2012 14:22, Jatin Bodarya <[email protected]> wrote:
> I can’t grab integer values with read_objid() function.

Correct - you can't.   That's not what this API call is for.

>From the mib_api(3) man page:

       read_objid  takes  a string containing a textual version of an
       object identifier (in either numeric or descriptor form), and
       transforms this into the corresponding list of sub-identifiers.

In other words, it's concerned with translating from a MIB object name,
into the corresponding OID.  It has nothing to do with retrieving the
value(s) of this OID - it's *purely* concerned with the MIB definition.

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
  • SNMP-errors Jatin Bodarya
    • Re: SNMP-errors Dave Shield

Reply via email to