Hi Suresh, Thanks for the response - its not really what I want. In a production environment - its not reasonable to expect the uninitiated sys admin to perform snmp walks based upon an an arbitrary context string, so this approach is non-starter for me. I really need it to look like a single agent without contexts.
I guess my question should have been posed as; "how do I relocate the whole of the subtree to another (private) OID for each sub-agent." Can this be done at runtime using snmpd.conf settings or is it a compile time argument. If its compile time - then I'm scuppered - if its runtime I'll live to fight another day. The faq: http://net-snmp.sourceforge.net/docs/FAQ.html Under heading: How can I combine two copies of the 'mib2' tree from separate subagents? ----------------------------------------------------------------------- The first approach just reiterates what you have said. I want to implement the second approach. As ever, is says what you have to do without any real indication of how to do it. The second method "Another way to handle this" is what I am seeking clarification of. Can you offer any advice on this?? I fear it may be a compile time configure option - and I absolutely cannot compile a separate agent for each instance as our product will have 14 sub-agents. Kind regards Lee -----Original Message----- From: Pamidipati Suresh-G20238 [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 21, 2006 2:39 AM To: Lee Porter; net-snmp-users@lists.sourceforge.net Subject: RE: Agentx and multiple copies of same mibs - distributed control plane Hi, If you are using SNMPv3, you can make use of the context strings. Each subagent can use a unique context string in the Agentx register pdu for the table. While retrieving the table data, you need to mention the context string in the request so that the master agent forwards it to the concerned subagent. Regards, Suresh. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, March 21, 2006 6:10 AM To: net-snmp-users@lists.sourceforge.net Subject: Agentx and multiple copies of same mibs - distributed control plane Hi, I'd like to implement the following mibs in agentx subagents. Agent MIB code: mibII ucd_snmp snmpv3mibs notification target agent_mibs agentx utilities Each sub agent resides on a separate ppc core within a stacked ethernet switch and talks in-band to a master agent running on a more capable ppc on a management controller. The master agent controller has an interface to the outside world and it is this which will accept incoming snmp requests. The agent X protocol runs on an private class C network internal to the switch chassis and switching asics. I need some pointers on how to modify these standard mibs so that each instance of these mibs on a sub-agent (if-mib in particular) has a unique OID. I want to get to a point where I can walk though multiple copies of the same mib - each copy pertaining to a unique switch asic - but only connecting to a single master agent. I have the agentx registration working - but since all mibs have the same OID - when I walk through the results I only see one instance. The description under "Tables" describes what I want to do. What I'd like advice on is how to achieve this. http://www.freesnmp.com/net-snmp/faqs/#multidev Many thanks Lee Porter ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ 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 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ 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