SNMP-to-JMX bridge

Does anyone know if there is a free SNMP-to-JMX bridge which makes it easy for tools like http://cacti.net/ to poll statistics about particular MBeans which expose int/long-type attributes.

I know JBoss offers such a solution but I would like to use something that doesn't require an application server.

Thanks.

[331 byte] By [Mizua] at [2007-11-26 12:56:23]
# 1

Hi,

I don't have a ready-to-use solution to offer, but you could have a look at

the JMX-MBEAN-SERVER-MIB (examples/Snmp/MBeanVirtualTable) that comes

with the Java DMK.

http://java.sun.com/products/jdmk/index.jsp

The evaluation of the Java DMK is free and you could experiment with that table.

As far as I remember the example MIB only exposes MBean attributes as Strings

(using toString()), but if you have a little knowledge of JMX, SNMP & SMIv2 you should

be able to extend the MIB in order to handle ints as ints and longs as longs.

You could also write your own MIB dedicated to your own MBeans, like we did for

the JVM-MANAGEMENT-MIB which exposes the Monitoring & Management of the JVM

through SNMP. This would however require more coding & more SNMP expertise.

If you're interested in learning more about JMX, SNMP, and the JVM-MANAGEMENT-MIB,

I have written a series of articles on that subject - a good starting point is here:

http://blogs.sun.com/jmxetc/entry/simple_is_not_easy

Hope this helps,

-- daniel

JMX, SNMP, Java, etc...

http://blogs.sun.com/jmxetc

Message was edited by:

dfuchs

dfuchsa at 2007-7-7 16:51:07 > top of Java-index,Core,Monitoring & Management...