Hi NET-SNMP developers and users:


I have encountered a few questions when trying to use net-snmp master agent
and . Would you please help clarify and provide your input about the
following questions? Thanks a lot



My current situation is: in our system, we need net-snmp running on one
device as master agent, and we also need net-snmp runing on multiple other
devices as remote subagents. On each of the subagent, we need to register
the same set of OIDs with the master agent. And we also need to provide
management station with the choice to clearly specify the context string in
a snmp incoming PDU to indicate the info of a specific subagent that the
users want to retrieve.



Let's take ifName object as an example. Let us assume that we have 1 master
agent and 2 remote subagents in our system. In each of the subagent, the
OID of ifName object needs to be registered. And in each of the subagent,
ifName.1 object instance(OID+Index) both existed. Management station can
specify the context string in the snmp get/set command to decide which
subagent’s ifName.1 they want to get/set. So this brings us the following
three questions:



1.      About AgentX in net-snmp, Is registering the same OID from
different remote subagents with the same Master agent allowed? When I am
reading AgentX RFC(RFC 2741), I found that there is a subsection of that
document that addresses the issue of how to handle duplicate and
overlapping OID registration. It seems that in AgentX, when this scenario
occurs, there will be a priority value assigned to each subagent. The OID
on the subagent with smaller priority will hide the OID on the subagent
will higher priority. That seems to be not what I needed because I need the
same OID registered multiple times in Master agent. Would you please help
clarify how net-snmp implemented AgentX for this scenario?



2.      Let’s suppose that we can register the same OIDs with the same
master agent from different remote subagents, can the index of the same OID
across different remote subagents be the same, for example, we need
ifName.1 existed in all subagents?



3.      In current net-snmp AgentX implementation, is context string of a
incoming PDU processed in master agent or in subagent?



Any help is highly appreciated. Thanks a lot



Best Regards

Liang
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to