aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do i generate SNMP traps