[SNMP4J] SnmpCommunityMIB & coexistenceinfo map

Frank Fock fock at agentpp.com
Mon Jul 6 10:50:50 CEST 2009


Hi Senthil,

I have created an issue for that bug (SFJ-7). Currently,
I see no workaround other than using different
communities for different targets.

The bug should be fixed in SNMP4J-Agent 1.3.1.

Best regards,
Frank

Senthil Muniswamy wrote:
> Frank,
>  
> I am using Snmp4J-Agent for proxy.
>  
> I add the community using 
> SnmpCommunityMIBObj.getSnmpCommunityEntry().addRow(row).
>  
> Remove the community using:
> SnmpCommunityMIBObj.getSnmpCommunityEntry().removeRow(index);
> SnmpCommunityMIBObj.getSnmpCommunityEntry().getModel().freeRow(row);
>  
> If there are duplicate communities for example 'public' for different 
> target addresses, freeRow() deletes the community from the 
> coexitenseinfo map and then proxy fails for other targets.
>  
> How to handle this?
>  
> -Senthil
>  

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




More information about the SNMP4J mailing list