[SNMP4J] Accept all SNMPv3 traps
Pavel Orehov
pavel.orehov at gmail.com
Sun Nov 11 19:58:32 CET 2007
Hi,
I am looking how can I specify to Snmp to accept all SNMPv3 traps even
if Usm user of received traps does not exists in Snmp Usm users
database.
I am doing:
byte[] localEngineID = MPv3.createLocalEngineID();
USM usm = new USM(SecurityProtocols.getInstance(),
new OctetString(localEngineID), 0);
SecurityModels.getInstance().addSecurityModel(usm);
snmp.setLocalEngine(localEngineID, 0, 0);
Thanks,
Pavel
More information about the SNMP4J
mailing list