[AGENT++] FW: SNMP V3 contexts with agentX++(mention our versions as well)

Frank Fock fock at agentpp.com
Wed Sep 28 20:09:48 CEST 2005


Santosh,

AgentX++ subagents do support non-default contexts as well.
Just add the objects you want to support in a context on behalf
of it, in the same way as you would do in a AGENT++ agent, except
of leaving out the VACM configuration.

Best regards,
Frank

santosh.agarwal at wipro.com wrote:

> 
> 
> 
> Hello  ,
> 
> We are trying to implement our SNMP agent using agentX++ master/subagent
> design.
> 
> 
> We want to support SNMPV3 as well.
> 
> 
> We tried out some prototype code by creating the USM and the VACM tables
> in the master as shown in some of the agent++ examples.
> 
> 
> We found that when we use agentX++ , the processing fails when the
> subagent tries to execute find_managing_object method.
> 
> 
> On further investigation we found that the  find_managing_object is
> trying to check if the context present in the agentX PDU is present
> inside the subagent or not, otherwise it fails.
> 
> 
> 
> 
> The master on the other hand always sends the context it received on
> SNMP side in the agentX PDU.
> 
> 
> Looking through the comments in the agentx_request.cpp file , we think
> that the subagent can support only a single context which has a
> blank("") name.
> 
> 
> Is this correct ?
> 
> How can we make SNMP V3 contexts work with a master/subagent over
> agentX++ ?
> 
> 
> 
> 
> Regards,
> 
> Santosh
> 
> 
> 
> 
> 
> Confidentiality Notice
> 
> 
> The information contained in this electronic message and any attachments to this message are intended
> for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
> you are not the intended recipient, please notify the sender at Wipro or Mailadmin at wipro.com immediately
> and destroy all copies of this message and any attachments.
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp





More information about the AGENTPP mailing list