Questions tagged [jmxtrans]

Tool to connect JVM via JMX to logging / monitoring / graphing packages. It queries jmx and writes out the data in any desired format.

30 questions
50
votes
6 answers

How to access JMX interface in docker from outside?

I am trying to remotely monitor a JVM running in docker. The configuration looks like this: machine 1: runs a JVM (in my case, running kafka) in docker on an ubuntu machine; the IP of this machine is 10.0.1.201; the application running in docker…
Eric Broda
  • 6,701
  • 6
  • 48
  • 72
10
votes
1 answer

Spring framework monitoring ThreadPoolTaskExecutor queue size

I checked http://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/scheduling/concurrent/ThreadPoolTaskExecutor.html There is no getter for queue size, only queue capacity. If I use jmx to monnitor ThreadPoolTaskExecutor,…
edi
  • 223
  • 5
  • 12
5
votes
1 answer

Kafka Monitoring JMX Attributes Count or MeanRate?

I have configured jmxtrans to get the values from "kafka.server":type="BrokerTopicMetrics",name="AllTopicsMessagesInPerSec" It has 3 attributes- Count , OneMinuteRate, MeanRate I am confused to identify, which of these attributes gives the "Number…
Ahamed Mustafa M
  • 3,069
  • 1
  • 24
  • 34
4
votes
1 answer

How to send JMX metrics to statsD daemon?

How to send JMX metrics to statsD daemon? I can see there are solutions where there are plugins to poll JMX metrics but I am looking more to push metrics to some Daemon which can aggregate as well as store it in some storage such as InfluxDB?
user1870400
  • 6,028
  • 13
  • 54
  • 115
2
votes
0 answers

Springboot application - Issue in fetching tomcat threads and datasources

I am using jmxtrans as a agent in java arguments and passing the jmxtrans-agent.xml for the metrics. Currently, i am getting the metrics for JVM ( JVM memory pools) But i dont see any metrics for threads and datasources. Can you please suggest for…
user2432
  • 31
  • 1
  • 6
2
votes
1 answer

jmxtrans and kafka not working

I am trying to get the Kafka metrics (version 0.8.2) to my grafana server. Unfortunately I can only get java.lang metrics, but no kafka metrics. Connecting with jmxtrans and jconsoel is now problem and I can see the MBeans of Kafka. Configuration of…
bert2002
  • 67
  • 1
  • 1
  • 6
2
votes
2 answers

How to monitor Kafka broker using jmxtrans?

Kafka 0.8.1.1 (kafka_2.8.0-0.8.1.1.tgz) I am using jmxtrans to do JMX monitoring of a Kafka instance (which is running in docker). Unfortunately, kafka metrics are not being returned. I have tried a few things to debug this and know that kafka is…
Eric Broda
  • 6,701
  • 6
  • 48
  • 72
1
vote
2 answers

JMX Trans gives "Port already in use" but the port is free

I'm trying to use jmxtrans to send metrics of Kafka to Influxdb. I've downloded the jar file and configured necessary files for my case. When I try to start the jmxtrans as JAR_FILE=jmxtrans-259-all.jar jmxtrans.sh jvm.json it gives the Port already…
1
vote
0 answers

How to fix "couldn't connect to localhost:8080 during jmeter load testing using docker-compose"

I have below docker-compose file version: '3.7' services: tomcat: build: context: . dockerfile: Dockerfile container_name: tomcat ports: - "8080:8080" - "9910:9910" healthcheck: test: ["CMD",…
change198
  • 1,647
  • 3
  • 21
  • 60
1
vote
0 answers

Unable to see metrics related to spark for executors

After making changes in metric.properties and passing relevant arguments in the command line i.e., "-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false…
Alok Kumar
  • 53
  • 2
  • 10
1
vote
0 answers

embedded-jmxtrans - Need to export metrics on Influx-Grafana

I don't see influxDB outputwriter in embedded-jmxtrans but i see it in jmxtrans , we are using embedded-jmxtrans for our scala code based docker container JVM metrics , is there a way we can acheive this ?
Learner
  • 45
  • 1
  • 6
1
vote
1 answer

How can you push infinispan jmx metrics to graphite with jmxtrans?

I have this configuration file { "servers": [ { "url": "service:jmx:rmi:///jndi/rmi://192.168.167.166:6000/jmxrmi ", "alias": "infinispan", "username":"admin", "password": "admin", "queries": [ …
osmingo
  • 994
  • 1
  • 8
  • 16
1
vote
1 answer

Spring integration with jmxtrans-agent to monitor bean

I am using Spring integration but want to use jmxtrans-agent to monitor my splitter. Like following simple example, I try to count the number of request arrive at splitter. @ManagedResource public class Splitter { private final AtomicInteger…
edi
  • 223
  • 5
  • 12
1
vote
3 answers

JSON script to input data from jmxtrans to InfluxDB

I'm trying to use jmxtrans to collect JVM metrics and would need to input the data into InfluxDB. Though I was able to collect data, I'm not sure of the tags and syntax required to input the data into the DB. I've tried the JSON tutorials as well as…
VishalR
  • 11
  • 3
1
vote
1 answer

Jmxtrans monitors solr issue

I want to monitor solr, and have the jmxtrans config: { "servers":[ { "port":"8099", "host":"localhost", "queries":[ { …
fudy
  • 1,540
  • 5
  • 25
  • 41
1
2