[SNMP4J] Net-snmp master agent and snmp4j agentx sub agent issue

Frank Fock fock at agentpp.com
Thu Sep 14 00:13:37 CEST 2006


Hello Vincent,

I know that the NET-SNMP master agent does not always handle
search ranges correctly, but I am not sure if this is case
here. To analyze this further, I would need a dump of the
AgentX packet sent by the NET-SNMP master agent and the
registrations made by the SNMP4J-Agent sub-agent.

A possible workaround could be to change the registration
scheme, for example by manually register a whole subtree
with a higher priority (lower value) than the automatically
by SNMP4J-Agent registered sub-trees.

Best regards,
Frank

Vincent Lopez wrote:
> Hello,
> 
> We have developed, using snmp4j-agentx, a sub agent to access read only values from a specific mib. 
> When using this sub agent together with a snmp4J master agent (actually the TestMasterAgent class), everything works fine.
> 
> However, we encounter an issue using net-snmp as the master agent. Each time a get request is performed for a given OID, the returned result is for the following OID
> I mean: 
>  requested OID .1.3.6.1.4.1.10969.61230595.1.1.1.0
>  returned OID  .1.3.6.1.4.1.10969.61230595.1.1.2.0
> 
> 
> As the net-snmp master agent is required by our client, we are in a dead end. Do you have any idea for a workaround?
> 
> Thanks in advance,
> 
> Vincent Lopez
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list