For JVM monitoring with JMX, it is better to use your own tool or use something like JConsole

I am currently tasked with developing a tool to use JMX to monitor the JVM for things like, but not limited to, memory usage, heap size, number of threads. The desired tool is one that can display multiple graphs for each jvm next to each other (example below).

So the question is, what is the best way to build your own? Use another tool that you have? (if so) (or) Is there a licensed tool that I can build?

Example: (Each JVM has many graphs that can be viewed at once so you can see if a particular application / server / jvm is running quite easily.

  • JVM1: PermGen graph, heap size graph, thread graph
  • JVM2: PermGen graph, heap size graph, thread graph
  • JVM3: PermGen graph, heap size graph, thread graph

*** Edit: "You forgot the third option ... Buy." Specifically, can it meet these requirements? or be flexible enough to handle them?

+1


source to share


4 answers


Similar to what jConsole and VisualVM do - both are distributed with JDK-6.



+2


source


Java Mission Control provides Java monitoring and control.



http://www.oracle.com/technetwork/java/javaseproducts/mission-control/java-mission-control-wp-2008279.pdf

+1


source


The Web Service Connectors for Java Management Agents (JMX), which appear to be planned for Java 7, offer an easy way to implement such a tool in any language. This is the standard JMX agent for the / http web service and can also be used to request diagnostic information from the JVM.

Actually I'm trying to use Delphi and it works pretty well already (using the reference implementation ws-jmx-connector ). This application is very similar to JConsole, but without graphs.

I will try to implement a graphical monitor representation in a free demo application for my library that is not yet available for public download.

0


source


Have you looked at jmxtrans at all? ( https://github.com/jmxtrans/jmxtrans ). Very extensible and may have what you are looking for.

0


source







All Articles