[SNMP4J] Unsupported security model

2010-06-22 Thread Gian Marco Gallo
Good afternoon I am trying to send a trap message to a server listening for snmp messages but when I try to send the trap an exception is throwed: 16:20:12,817 ERROR [STDERR] org.snmp4j.MessageException: Message processing model 3 returned error: Unsupported security model 16:20:12,817 ERROR

[SNMP4J] FW: Unsupported security model

2010-06-22 Thread Kazantsev, Andrey V.
Hello. I think you should create USM (User Security Model) and add it to your SNMP session. Consider following example: USM usm = new USM(SecurityProtocols.getInstance(), new OctetString(MPv3.createLocalEngineID()), 0); SecurityModels.getInstance().addSecurityModel(usm); Also you maybe want