[SNMP4J] USM table

Frank Fock fock at agentpp.com
Mon Jan 9 08:37:40 CET 2006


Hi,

You will have to add the different users with the same security name
with their engine ID. Otherwise SNMPv3 (i.e. the USM) does not
know which one to use. This is a requirement that comes from
the SNMPv3 standard - is not a shortcoming of SNMP4J.

Best regards,
Frank

Ramsey Hage wrote:

>Hello,
> 
>I have a management station that needs to add/modify/delete user
>information from the USM table.
>I do not use the engineID of the agents that I am monitoring.
> 
>I have used following to add users to the USM table:
>snmp.getUSM().addUser( securityName,
>                                      new UsmUser( securityName,
>                                               authenticationProtocol,
>                                               authenticationPassphrase,
>                                               privacyProtocol,
>                                               privacyPassphrase));
>
>I would like to add another user to the table, with same securityName
>but with a different authenticationPassphrase.
>Is this possible (without using engineID)?  I tried calling the method
>twice, but seems like it overwrites first entry...
> 
>If it is possible, how would I modify or delete the correct instance
>(once the two entries are inserted properly)?
> 
> 
>_______________________________________________
>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