Re: [SNMP4J] Unsupported security model

2010-06-23 Thread Kazantsev, Andrey V.
, but it could be arbitrary string. -Original Message- From: Gian Marco Gallo [mailto:gianmarco.ga...@elaide.com] Sent: Wednesday, June 23, 2010 16:12 To: Kazantsev, Andrey V. Subject: Re: [SNMP4J] Unsupported security model Hello Thanks for your quick reply. I've tried your code and after

Re: [SNMP4J] Unsupported security model

2010-06-23 Thread Gian Marco Gallo
, 2010 16:12 To: Kazantsev, Andrey V. Subject: Re: [SNMP4J] Unsupported security model Hello Thanks for your quick reply. I've tried your code and after five tries it now works. In fact I didn't understand that the username and the security name have to be equals (confirm?). But now

Re: [SNMP4J] Unsupported security model

2010-06-23 Thread Kazantsev, Andrey V.
Message- From: Gian Marco Gallo [mailto:gianmarco.ga...@elaide.com] Sent: Wednesday, June 23, 2010 16:47 To: Kazantsev, Andrey V. Cc: snmp4j@agentpp.org Subject: Re: [SNMP4J] Unsupported security model I've done this: UserTarget target = new UserTarget(); target.setSecurityName(new

Re: [SNMP4J] Unsupported security model

2010-06-23 Thread Gian Marco Gallo
, 2010 16:47 To: Kazantsev, Andrey V. Cc: snmp4j@agentpp.org Subject: Re: [SNMP4J] Unsupported security model I've done this: UserTarget target = new UserTarget(); target.setSecurityName(new OctetString(CryptoExtWeb)); Then I've done this: UsmUser user = new UsmUser(new OctetString

[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