Skip to content

JMXFetch

JMXFetch is the component of the Agent which is responsible for collecting metrics from Java applications.

For more details on JMXFetch or developer documentation, please visit the project documentation on the JMXFetch GitHub repo.

Running checks requiring JMXFetch

If your goal is to run a JMX-based check:

  1. Download the -jar-with-dependencies.jar build of the latest version of JMXFetch from maven, or create a custom build.
  2. Copy the jar file and rename it to $GOPATH/src/github.com/DataDog/datadog-agent/dev/dist/jmx/jmxfetch.jar.
  3. Run dda inv agent.run.
  4. Validate that the JMXFetch section appears in agent status.

If you have a JMX-based integration configured to run, it automatically runs in your local JMXFetch instance.