user1529891
user1529891

Reputation:

How to get JMX data without Java?

Is there a protocol specification for JMX? I found the JMX specification but it doesn't mention anything about how to write your own clients to speak with JMX. The documentation is about using Java functions/classes to access JMX data.

I looked over jmxtrans but it's also using the Java functions/classes.

Upvotes: 0

Views: 368

Answers (2)

Nicholas
Nicholas

Reputation: 16066

There's a web service jmx connector at https://ws-jmx-connector.java.net, but you still need to install the server side, so @Marged's proposal is the better solution. The Jolokia server install is pretty lightweight, you know... It comes as a war or Java agent so there's minimal fuss getting it working.

Upvotes: 1

Marged
Marged

Reputation: 10973

If you want to get access to JMX data without being limited to Java, you can use Jolokia:

Jolokia is a JMX-HTTP bridge giving an alternative to JSR-160 connectors. It is an agent based approach with support for many platforms. In addition to basic JMX operations it enhances JMX remoting with unique features like bulk requests and fine grained security policies.

Doing this you can use REST-style queries.

Upvotes: 2

Related Questions