Solved

Generating SNMP traps in Java

Posted on 2004-10-10
6
1,167 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
  • 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
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.

 
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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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
simple java question 3 59
print map entry 34 72
Adding multiple JVM environments to RedHat 6 7 47
printf performancy 11 67
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

839 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