Re: snmpgetnext with multiple varbindes

2006-03-02 Thread Dave Shield
On Tue, 2006-02-21 at 20:16 +0530, [EMAIL PROTECTED] wrote:
  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

Can you please post the exact command and response?
It might be useful to see the output with the '-d' option as well.

Dave



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


snmpgetnext with multiple varbindes

2006-02-21 Thread sasikumar.bodathula
Title: snmpwalk ip:port option does not work






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, butthe problem is withgetnext 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.




RE: snmpgetnext with multiple varbindes problem

2006-02-21 Thread sasikumar.bodathula
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 
PMTo: net-snmp-users@lists.sourceforge.netSubject: 
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, butthe problem is withgetnext 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.