What’s the difference between Java – jolokia & jmxtrans? When to choose one?
I am looking for a JMX query tool I met jolokia & jmxtrans, both of which support JSON - based queries Jmxtrans has a writer who I think lacks monitoring tools in jolokia I went to Google, but I didn't get much information to compare the two
Solution
I'm the author of jmxtrans Before I developed jmxtrans, I thought about jolokia I chose to develop with jmxtrans because I have a different usage
Jolokia runs at Tomcat as a war It is similar to jmxtrans, which allows you to query JMX servers, but this is where similarity ends You need to implement the rest of jmxtrans on jolokia to get features
On the other hand, jmxtrans is independent and has no requirements for Tomcat My target audience is the role of Netops / Devops It has a relatively simple JSON - based structure, so there is no need for engineering to configure and use it
The idea is to use jmxtrans to continuously monitor services that display statistics through JMX You can use jmxtrans to convert data from JMX to any output format you want In general, Devops people want to integrate the JVM with monitoring solutions like graphite / ganglia, so I provide output writers for these tools
Jmxtrans is also very smart about the query method of JMX server, and there are some optimizations There is also a lot of work you can do, such as parallelizing license servers, so that you can scale jmxtrans to query hundreds of servers continuously using a single jmxtrans instance
I'd like to clarify something If you have any specific questions, I'd be happy to answer them