On 18 April 2012 16:44, Jasti Durgashree <[email protected]> wrote:
> i understood what is snmpset bt am asking how to parse oid in code

>From the code file you referenced:

    oid             name[MAX_OID_LEN];
    size_t          name_length;

        name_length = MAX_OID_LEN;
        snmp_parse_oid(names[count], name, &name_length);

(where 'names[count]' is the string containing the OID you need to parse)

Dave

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to