Jolokia2 Agent Telegraf Input Plugin

Powerful performance with an easy integration, powered by Telegraf, the open source data connector built by InfluxData.

5B+

Telegraf downloads

#1

Time series database
Source: DB Engines

1B+

Downloads of InfluxDB

2,800+

Contributors

Table of Contents

Powerful Performance, Limitless Scale

Collect, organize, and act on massive volumes of high-velocity data. Any data is more valuable when you think of it as time series data. with InfluxDB, the #1 time series platform built to scale with Telegraf.

See Ways to Get Started

Jolokia is an agent that connects clients with Java Management Extensions (JMX) using HTTP. You can use JMX to control and monitor objects called MBeans, which can be devices, applications, and more. Jolokia communicates with a client over HTTP, sending the request and response payloads in JSON. It’s an alternative to JSR-160 connectors and includes additional features such as bulk requests and fine-grained security policies.

Why use the Jolokia2 Telegraf Plugin?

The Jolokia2 Agent Telegraf Input Plugin lets you read JMX metrics from one or more Jolokia agent REST endpoints. The specific metrics you read will depend on what kind of MBean object you are managing. For example, if you are using Jolokia to monitor a message broker, you might collect metrics like queue size, customer count, and memory limit. This Telegraf plugin collects this data so you can easily have it all in one place ready to analyze. This makes managing MBean objects with Jolokia simple and efficient.

How to monitor using the Jolokia2 Telegraf Plugin

To use the Jolokia2 Agent Telegraf Input Plugin, you first need to configure the URL to the Jolokia agent. Then, for each metric, you need to configure name, mbean, and paths. You can use wildcards with the mbean key to collect data for multiple MBeans with one statement. The paths key is a list of MBean attributes to read. Additional optional keys include tag_keys, tag_prefix, field_name, and field_prefix. There’s also an option to configure the Transport Layer Security (TLS) if you’re using encrypted communication. This plugin captures metrics from Jolokia agents so you can manage and monitor MBeans in Telegraf.

Key Jolokia2 Agent metrics to use for monitoring

You can collect a wide variety of metrics with the Jolokia2 Agent. These will vary depending on your system and what you’re monitoring. Some important metrics may include, but are not limited to:

  • Operating System
    • ProcessCpuLoad
    • SystemLoadAverage
    • SystemCpuLoad
  • jvm_runtime
    • Uptime
  • jvm_memory
    • HeapMemoryUsage
    • NonHeapMemoryUsage
    • ObjectPendingFinilizationCount
  • jvm_garbage_collector
    • CollectionTime
    • CollectionCount
  • jvm_memory_pool
    • Usage
    • PeakUsage
    • CollectionUsage
For more information, please check out the documentation.

Project URL   Documentation

Powerful Performance, Limitless Scale

Collect, organize, and act on massive volumes of high-velocity data. Any data is more valuable when you think of it as time series data. with InfluxDB, the #1 time series platform built to scale with Telegraf.

See Ways to Get Started

Related Integrations