RE: snmpgetnext with multiple varbindes problem

<[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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: [email protected]
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.