File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Not receiving SNMP Traps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Not receiving SNMP Traps" Watch "Not receiving SNMP Traps" New topic

Not receiving SNMP Traps

Nisha lakshminaraya
Ranch Hand

Joined: Feb 23, 2010
Posts: 33


I am using SNMPv1CommunicationInterface. Wit this interface i am ale to talk to SNMP device and get an details for the specified OID.

I have created a new class which implements SNMPv2TrapListener and implemented the method processv2Trap(), but even then i am not receiving any traps. Can you please help me what else i have to do so that i will receive an trap from the agaent.
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

What are those classes and interfaces? Are those provided in JBoss AS? You'll have to explain a bit more about your application and even the JBoss AS version you are using.

[My Blog] [JavaRanch Journal]
Nisha lakshminaraya
Ranch Hand

Joined: Feb 23, 2010
Posts: 33
This is not a Jboss class, but an open source interface used to get details and receive SNMP traps from SNMP devies like SNMP4J
I agree. Here's the link:
subject: Not receiving SNMP Traps
It's not a secret anymore!