tags:

views:

573

answers:

1

Hi,

I have a few JAVA application that I monitor using JMX.

I would like to write an SNMP client for these applications that wraps the JMX interface and by discovery exposes the same attributes that are exposed in JMX, through SNMP.

I have no problem writing the client if I just figure out how to write SNMP clients in JAVA. Is there a free SNMP library for JAVA that I can use? Is there a good free SNMP adapter for JMX? (Tried "WebNMS SNMP Adapter for JMX" trial unsuccessfully)

Thank you!

+1  A: 

SNMP4J is an opensoure API for SNMP in Java. You can try that. As far as SNMP adapter for JMX is concerned, why does WebNMS not work. Did you checkout JBossSNMPAdapter

Suraj Chandran
Thanks for the answer. I'm checking SNMP4J out (turns out "snmp java" google search brings this one up first) anhd JBossSNMPAdapter, although we are not using JBoss currently (Tomcat only) but planning to.About WebNMS - did everything according to instruction and after running the whole thing I just didn't get any SNMP output. This being closed source and with very little documentation I did not invest alot of time trying to figure it out.
Ben