[SNMP4J] USM with multiple users with same name, different credentials

Frank Fock fock at agentpp.com
Fri Nov 23 22:51:12 CET 2007


Hi Venkat,

The approach you outlined below is the recommended way.
You can use it also slightly modified by leaving
engine discovery activated, but adding those users
that have different passwords on different machines
only localized to their engine ID (which has to be
known in advance, of course).

Best regards,
Frank

Venkatraju wrote:
> 
> The problem is that two devices may have the same user with different
> auth/privacy password. How should these users be added in that case?
> One approach I am thinking of using:
> - disable engine discovery in USM
> - Use Snmp.discoverAuthoritativeEngineID to find the engineId for each
>   device configured.
> - USM.addUser associated with the engineId discovered above
> 
> Is this approach ok? Is there a better way? Is there a better way to do this
> if I use one Snmp object per device?
> 
> Thanks in advance,
> Venkat
> _______________________________________________
> 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