SubAgents should register a unique string with agent, in addition to the MIB (for more information see AGENTX REGISTER PDU). SNMP Managers should give that string as context string in the SNMP requsets, thereby SNMP AGENT can locate the appropriate SubAgent.
Mahesh -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Clinton Sent: Friday, February 11, 2005 12:31 AM To: [email protected]; [email protected] Subject: Managing multiple instances of a MIB In a scenario where there is a master agent, and there are subagents for each applications (separate mibs), how can we manage multiple instances of the same mib through the same master agent. The scenario is - Master Agent - M1, Subagent S1 (implementing a1.mib for an instance a1 of application A) Subagent S2 (implementing a1.mib for an instance a2 of application A) Subagent S3 (implementing a1.mib for an instance a3 of application A) What do we need to make the master agent return 3 instances for every variable of a1.mib? Say S1 returns lineStatus.0 = up(1) Say S2 lineStatus.0 = down (2) Say S3 lineStatus.0 = test (3) Where lineStatus is a mib object of a1.mib, I am looking at how the 3 subagents can get registered with the master agent and when a manager queries the master agent, it gets all of the 3 statuses. Also, I need the solution to be dynamic where more instances of the application can be spawned on runtime. Has anyone been doing anything like this? If so, any pointers will be highly appreciated. Best Regards, Mark. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ 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 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
