This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Java in General and the fly likes How do i generate SNMP traps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "How do i generate SNMP traps" Watch "How do i generate SNMP traps" New topic
Author

How do i generate SNMP traps

Danny Coopers
Greenhorn

Joined: Sep 03, 2005
Posts: 3
Hi, I wish to generate a SNMP trap event and send it to a Network Management Station from a NT server when a specific event is detected by the server. This has to be done from within a java program as it is the jave program that detects the event. Can anybody advise me if this is firstly possible and also how i should go about it.

Thanks for any replys

Danny
Paul Santa Maria
Ranch Hand

Joined: Feb 24, 2004
Posts: 236
Google for something like "Java SNMP libraries".

Here's one possibility:

http://java-source.net/open-source/network-clients/java-snmp-package

If you already have a commercial SNMP package (for example, HP-OpenView), perhaps your vendor already has a Java-language SDK for you.

Good luck! .. PSM

PS:
You might want to post followup questions to the "Sockets and Internet Protocols" (i.e. "Java networking") group instead of "Java Intermediate".
[ September 04, 2005: Message edited by: Paul Santa Maria ]

Paul M. Santa Maria, SCJP
Danny Coopers
Greenhorn

Joined: Sep 03, 2005
Posts: 3
thanks will take a look
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How do i generate SNMP traps