Solved

Generating SNMP traps in Java

Posted on 2004-10-10
6
1,168 Views
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.
0
Comment
Question by:shenlong_wc
[X]
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
6 Comments
 
LVL 12

Expert Comment

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

Bye, Giant.
0
 
LVL 12

Expert Comment

by:Giant2
ID: 12274103
Another approach could be to generate the SNMP message for the trap.
But I suggest you to use API allready done:
http://www.opennms.org/files/releases/joeSNMP/

Hope this could help you.
Bye, Giant.
0
 

Author Comment

by:shenlong_wc
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
0
Independent Software Vendors: 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

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

Expert Comment

by:Giant2
ID: 12355421
:)
0
 

Author Comment

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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
hibernate example for saving data 19 74
Fast way to search item into Java Array (Rhino compatible) 2 37
Tagging and Merging on Branch 1 39
junit example issue 2 24
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

740 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