Thank you. 

I tried to look for documentation, could not find enough. Can you
please tell me:

1) What API call I need to change in the net-snmp subagent to register
with the master agent  using different contexts everytime?
2) How to configure net-snmp daemon to use these different contexts so
that I can use net-snmp commandline to test the different subagents
running on different contexts?
3) If I use an SNMP v1 manager, how will it handle the scenario? I
mean, say I have 3 instances of a1.mib running under different
context, how will an SNMP v1 request for a variable say lineStatus
will be handled? Will the master agent just send the SNMP v1 manager
the response of the first subagent that is registered with it? or will
it return noSuchName?

Any help will be highly appreciated. 

Thank you,

Best Regards,
-Mark



On Fri, 11 Feb 2005 10:05:39 +0530, Kurapati M-G19456
<[EMAIL PROTECTED]> wrote:
> 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

Reply via email to