JMX probes

Those probes connects to any JVM with JMX actived to collect info. It can then collect any values accessible in MBeans than can be reach using a simple path declaration. The path loosely follow the idea given in RESTful Access to JMX Instrumentation

JMXConcMarkSweepGC, JMXParallelGC and JMXSerialGC all collects JVM memory info, see individual documentation to see which one to choose.

An easy (but not very secure) way to activate JMX access on a JVM is to add the following arguments :

-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false

A lot of usefull informations about JMX can be found at Jean-Francois Denise's blog

The connection class for this probe is jrds.probe.JMXConnection.

 
sourcetype/jmx/start.txt · Last modified: 2011/12/02 10:27 by root     Back to top