On Thu, 2005-06-23 at 08:45, Emmanuel Doguet wrote: > If I do an snmpwalk on 10.1 or 10.10 ... the snmpd daemon > call too the DemoTable handler. It's normal ?
Yes. Remember that "snmpwalk" is really just a sequence of GETNEXT requests. It doesn't know how many results to expect, so keep going until it receives an irrelevant response. So walking IntegerDemoValue (presumably a scalar object), will involve: GETNEXT *.10.1 ---> <--- RESPONSE *.10.1.0 GETNEXT *.10.1.0 ---> <--- RESPONSE *.10.20.1.x.y.z The snmpwalk command receives this second result, recognises that it's not relevant to the subtree it was asked to retrieve, and exits (*without* displaying this final value). If you run "snmpwalk -d" on any part of the agent, you'll see that it *always* ends up by making one final request that isn't actually displayed. Dave ------------------------------------------------------- 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-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders