Template:FAQ:Agent 15
With the 4.x line agent, you can't. Sorry about that.
With the 5.0 agent, this is possible by using the SNMPv3 context string
to distinguish between parallel MIB trees. This can be set up for an
individual MIB implementation module when it registers itself with the
main agent framework (either directly, or via AgentX). It can also
be set up for a proxied subagent as part of the proxy configuration
entry (see 'snmpd.conf(5)'
).
This facility is not currently available for SNMPv1 or SNMPv2c requests (although it ought to be possible to use the community string in a similar way).
Another way to handle this would be to tweak one of the subagents to use a different set of (non-standard) OID assignments - perhaps by relocating the whole of the subtree to another (private) OID. This is not ideal, but should work with all configurations.