On Tue, 05 Apr 2005 10:09:36 +0530 Sridhar wrote:
SS> I am using Net-SNMP version 5.0.9.
SS> 
SS> The attached file ifNumber_orig.c is the code that that generated by
SS> tool-kit and handler function is modified to retrieve the value of
SS> ifNumber from the back-end. With this file, if retrieving the value from
SS> the back-end fails then agent is not returning the next lexographically
SS> available object in the tree. At the manager end a SNMP walk stops with
SS> the error
SS> 
SS> IF-MIB::ifNumber.0 = No Such Object available on this agent at this OID
SS> 
SS> I modified the above file further. After handler registration, I
SS> registered scalar variable using API 'netsnmp_register_scalar_group'. I
SS> tried this API by looking at the 'mibII/icmp.c' file. With this code
SS> (ifNumber_modif.c) I am able to  walk the whole tree, irrespective of
SS> get_ifNumber () API return status.
SS> 
SS> Please share your thoughts on this.

Looks like you found a bug. Can you reproduce this with a 5.2.1?

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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

Reply via email to