Thanks for clarification!
When is the support for dynamic context names expected?
On Wed, Aug 26, 2009 at 10:47 PM, Wes Hardaker <
[email protected]> wrote:
> >>>>> On Wed, 26 Aug 2009 12:53:01 +0530, Deepali Singalkar <
> [email protected]> said:
>
> DS> Here I need to support same MIB tree for multiple virtual devices from
> same
> DS> subagent.
> DS> I tried setting the contextname in /usr/local/share/snmp/snmpd.conf
> file
> DS> with the defContextName directive.
> DS> It fails with the error message unknown token defContextName.
>
> The defContextName tells the *management* side of the snmp library which
> default context name to use when sending *requests* to an agent. And it
> should go into the "snmp.conf" file instead (note the missing "d").
>
> An agent supports multiple contexts based on what context a given MIB
> tree is registered as. If all the code only uses the default context
> (""), then that will be the only context the agent will return data
> for. If a mib piece of code (including an agentx subagent) registers
> under a different context, then the agent will respond to multiple
> contexts.
>
> DS> Do I need to have as many handlers as my posiible context Names?
>
> At this point, yes. Though we've discussed a more dynamic way to
> register contexts with a single registration, we don't support it now.
>
> DS> Second Can I have my context name changing dynamically when agent is
> DS> running?
>
> Not currently.
> --
> Wes Hardaker
> Please mail all replies to [email protected]
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders