Hi All, I have a subagent running on net-snmp-5.1.1. Everything seems to be running ok...except when I do a getnext.
My subagent registers using netsnmp_register_scalar_group function. Also, I have to delegate the request because I use async calls to get the actual data which may take some time. The snmpget works fine, I print the oid in my handler function and again when I "process" it (once I have the answer). Example of getnext: snmpgetnext -c public -v1 ip .1.3.6.1.4.1.2286.86.4.4.1.3.0 the debug: SNMPAgent: Handling .1.3.6.1.4.1.2286.86.4.4.1.4.0 from 192.168.0.234 ......removed...waiting for response ....got response SNMPAgent: In process SNMPAgent: processing .1.3.6.1.4.1.2286.86.4.4.1.5 So as you can see I ask for 3.0 and when I first see the query in my subagent I see it as 4.0. I then create a delegated cache and store it off. I initiate the data gathering and wait. Once I have the data the "process" is called (In process). I get the original query from the cache and the request oid is not 5 (with no 0). Any clues on why using the cache has this effect? Thanks Glenn Glenn MacGregor HighStreet Networks ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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