Re: How net-snmp identifies the coresponding subagent?

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 22 January 2011 16:33, Benix Vincent <[email protected]> wrote:
> Thanks for the reply Dave. But I dont see any arguemnt like agent Id, etc
> while registering a MIB, then how the master agent know who is the subagent?

The master agent has a set of connections from the various subagents.
When it receives a message registering a particular MIB, this message
will be received via one of these connections.   So it associates that
MIB registration with that connection.
    When the master agent receives an incoming request, it looks for
the matching registration(s) for the OID(s) listed, and forwards the
request over the relevant connection(s).  Hence these are received by
the corresponding subagent(s).

There's no need for an explicit agentID - the connection serves that purpose.

OK?

Dave

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.