Access JMX Agents from Non-Java Clients

For some integration projects, I would like to request JMX agents from non-Java clients.

So far I have found two options: ws-jmx-connector (Soap based) and the mx4j and JMX HTTP adapter , which returns the responses of the XML document. It seems that the connector of the JSR 262 ws-jmx connector is no longer in active development. I have not tried MX4J, so I don’t know if it is possible to use an HTTP adapter with a standard JMX implementation in J2SE.

Are there other software projects that can help connect non-Java clients with JMX agents using open standard protocols?

Update: Meanwhile, I found this project , "Restful JMX Adapter". This is also described in the RESTful Access article for JMX Instrumentation, through the MBean attribute URI.

+7
source share
2 answers

I recommend Jolokia , which is a full-featured JSON / HTTP adapter for JMX. It has several client libraries, i.e. jmx4perl , which allows JMX programmatic access from within perl. There are also client bindings for Java and Javascript. More is in the pipeline (Scala, Groovy, Python). Installation is dead easy; for a Java EE container, it is as simple as deploying the standard Java EE war. Other agents (OSGi, Mule, JVM6) are also available.

+7
source

Jolokia is an agent and implies that I am installing the server and agents. What I get is a lightweight clean Java-based command line, a non-agent solution for invoking the JMX / RMI interface.

Let it be a C-code or perl or python application if it runs quickly.

+3
source

All Articles