On 28 January 2013 10:00, Chilukuri Murali <murali_...@yahoo.com> wrote: > We are observing that all Get/Get-next requests with Oid lexographically > less than what subagent has registered for, are getting received by > subagent.
You shouldn't be receiving GET requests for a different OID tree, but that could certainly happen with GETNEXT (or GETBULK) requests. > Our expectation is "Subagent will receive requests with Oid's under > the subtree it has registered for." No - the subagent will receive the OID from the incoming request. For GetNext requests, if there is another module (either within the master agent itself, or another subagent), that is registered for that particular OID tree, or one in between, then that module will process the request. But if your subagent is the first relevant registration, then it will be called - with the requested OID. The agent processing framework doesn't try to tweak the requested OID on the fly. Your code needs to be able to recognise "too early" OIDs, and return the first valid instance. I would have thought that the standard template code should handle this automatically. Dave ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ 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