Hi Yuri,

The PDU is a v2c PDU which does not allow SNMPv1 TRAP!

Best regards,
Frank

> On 5. Apr 2017, at 17:37, Yuri Krysko <yuri.kry...@mcdean.com> wrote:
> 
> Hello All,
> 
> I am getting the following IOException when trying to decode received SNMP 
> trap
> 
> 
> java.io.IOException: Unsupported PDU type: -92
> 
> at org.snmp4j.PDU.decodeBER(PDU.java:566)
> 
> at org.snmp4j.mp.MPv2c.prepareDataElements(MPv2c.java:201)
> 
> at 
> org.snmp4j.MessageDispatcherImpl.dispatchMessage(MessageDispatcherImpl.java:278)
> 
> at 
> org.snmp4j.MessageDispatcherImpl.processMessage(MessageDispatcherImpl.java:387)
> 
> at 
> org.snmp4j.MessageDispatcherImpl.processMessage(MessageDispatcherImpl.java:347)
> 
> at 
> org.snmp4j.util.MultiThreadedMessageDispatcher$MessageTask.run(MultiThreadedMessageDispatcher.java:182)
> 
> at org.snmp4j.util.ThreadPool$TaskManager.run(ThreadPool.java:260)
> 
> 
> To my knowledge, PDU type -92 is supported and denotes V1TRAP. Could anyone 
> advise?
> 
> Thanks !
> 
> ________________________________
> 
> LEGAL DISCLAIMER: M.C. Dean, Inc. and its subsidiaries considers this e-mail 
> and any files transmitted with it to be protected, proprietary or privileged 
> information intended solely for the use of the named recipient(s). Any 
> disclosure of this material or the information contained herein, in whole or 
> in part, to anyone outside of the intended recipient or affiliates is 
> strictly prohibited. M. C. Dean, Inc. accepts no liability for the content of 
> this e-mail or for the consequences of any actions taken on the basis of the 
> information contained in it, unless that information is subsequently 
> confirmed in writing. Employees of M.C. Dean, Inc. are instructed not to 
> infringe on any rights of the recipient; any such communication violates 
> company policy. If you are not the intended recipient, any disclosure, 
> copying, distribution, or action taken or omitted in reliance on this 
> information is strictly prohibited by M.C. Dean, Inc.; please notify the 
> sender immediately by return e-mail, delete this communication and destroy 
> all copies.
> _______________________________________________
> SNMP4J mailing list
> SNMP4J@agentpp.org
> https://oosnmp.net/mailman/listinfo/snmp4j

_______________________________________________
SNMP4J mailing list
SNMP4J@agentpp.org
https://oosnmp.net/mailman/listinfo/snmp4j

Reply via email to