Re: Why does net-snmp generate an extra request internally?
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
2009/4/16 Fulko Hew <[email protected]>: > 1/ This is a side effect of my Perl based sub-agent not being able to > register itself against the top tree 1.x (the master agent complains > about multiple registrations) I will examine if/what changes might be > required in Net::SNMP to allow/superceed existing registrations. Try registering the .1 subtree using a different (higher) priority. That should be sufficient to avoid the duplicate registration. Alternatively, tweak the agent code to not register the three top-level subtrees automatically. I don't *think* that should break anything. > 2/ Failing that, and having to continue to perform individual registrations > on multiple sub-trees... What can a sub-agent return to indicate... > 'response will not be in my sub-tree, go an ask the next guy' Hmmm... not sure about that. It *might* be possible for the 'check_getnext_results()' routine to do some additional processing when running as part of an AgentX subagent - I can't recall whether the incoming AgentX GetNext request includes end-of-range information or not. Dave ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users