Solved

Generating SNMP traps in Java

Posted on 2004-10-10
6
1,157 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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 …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now