[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now


Generating SNMP traps in Java

Posted on 2004-10-10
Medium Priority
Last Modified: 2007-12-19
hi all,

how can I a generate a SNMP trap from java ?
i want my external tools to monitor my java app.
Question by:shenlong_wc
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 12

Expert Comment

ID: 12274099
You can use some API like JoeSNMP to generate the traps.

Bye, Giant.
LVL 12

Expert Comment

ID: 12274103
Another approach could be to generate the SNMP message for the trap.
But I suggest you to use API allready done:

Hope this could help you.
Bye, Giant.

Author Comment

ID: 12274337
do you know of any examples / tutorials for using JoeSNMP, snmpTrapAppender or SNMP4J to send traps ?

i'm totally clueless in regards to their usage, info on google is sparse too.
Maybe i'm just not searching right
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 12

Accepted Solution

Giant2 earned 400 total points
ID: 12274342
In the code you download there are some example.
LVL 12

Expert Comment

ID: 12355421

Author Comment

ID: 12355476
sorry dude, i forgot to click "A" the other time, so it didn't close it properly
apologies !

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question