On Fri, 2005-06-03 at 14:20, Ivanov Oleg wrote:
> I have a few tables at node .1.3.6.1.4.1.xxx.1

Presumably each of these tables are registered separately?


>                      I want to inject cache handler at subtree
> .1.3.6.1.4.1.xxx.1, to get data for all this subtree before handlers
> of tables will be called. Is it will be work if I just inject
> chache_handler at oid .1.3.6.1.4.1.xxx.1 ?

No - Robert's quite correct.
You'll need to insert this handler for each registration.
If you use the same cache structure each time, that should
have the desired effect.


> How request processed, it call every handler which it found
> during parsing oid, or just the last in tree ?

It will call the handler chain registered for that particular
OID (or the closest matching one).  It will *not* call handler
chains registered for higher OIDs.

Dave



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to