Title: snmpwalk ip:port option does not work
Hi All,
    Some more information regarding this problem. I am using "snmp_set_var_objid" to set the oid for getnext request(i.e. next oid). I am having one more doubt in request->requestvd which attribute takes the oid. In handler function all varbinds is send in requests structure which we traverse in a for loop for each varbind i am setting the return oid for each varbind
 
Regards,
Sasikumar.


From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
Sent: Tue 2/21/2006 8:16 PM
To: net-snmp-users@lists.sourceforge.net
Subject: snmpgetnext with multiple varbindes

Hi All,
        I am using net-snmp-5.2.1.2 version, I am not using the default implementation code generated by mib2c. I am registering the handler directly, whenever request comes the handler is invoked for getnext request i am forming the return oid. In case of snmpget with multi-varbind i am getting the response for all the varbindes, but the problem is with getnext only the response for forst varbind is displayed by the manager(i.e. net-snmp utility function snmpgetnext) but inside the handler i am returning the value for both the varbindes
Rgards,
Sasikumar.

Reply via email to