Tool to connect JVM via JMX to logging / monitoring / graphing packages. It queries jmx and writes out the data in any desired format.
Questions tagged [jmxtrans]
30 questions
1
vote
1 answer
jmxtrans - Cannot execute
I am trying to get jmxtrans to work yet I get the below on ubuntu 12.04 and using openjdk 7.
/usr/share/jmxtrans# java -version
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.12.04.2)
OpenJDK 64-Bit Server…

Tampa
- 75,446
- 119
- 278
- 425
0
votes
1 answer
How to access JMX interface in docker container on VM from outside?
I am trying to remotely monitor a JVM running in docker. The configuration looks like this:
machine: runs a JVM (in my case, Hello-World springboot app) in docker on an ubuntu machine (VM);
the IP of this machine is 10.10.1.29;
docker container has…

Igor Pereverzev
- 85
- 1
- 1
- 7
0
votes
1 answer
Adding a custom tag based on topicName (wildcard) via using JmxTrans to send Kafka JMX to influxDb
Basically what i wanted to achieve was to get MessageInPerSec metric for all the topic in kafka and to add the custom tag as topicName in the influx db so as to query based on the topic not based on the 'ObjDomain' definition, below are my JmxTrans…

Sunder R
- 1,074
- 1
- 7
- 21
0
votes
1 answer
Jmxtrans Config for multiple queries to the same Writer
While setting up metric reporting for Apache Kafka to ElasticSearch with jmxtrans, we have written a configuration file that queries about 50 metrics.
The queries are as follows:
{
"obj" :…

user152468
- 3,202
- 6
- 27
- 57
0
votes
1 answer
Jmxtrans publishing kafka metrics to Cloudwatch
I am retrieving Kafka metric using Jmxtrans via the JMX port, and attempting to publish into CloudWatch. The below is my Jmxtrans configuration:
{
"servers":[
{
"alias":"kafka_broker",
"host":"localhost",
…

SSF
- 915
- 5
- 23
- 47
0
votes
0 answers
Kafka mirrormaker jmxtrans configuration file format
I use jmxtrans to monitor kafka mirrormaker but my json format seems to have problems, the data can not be displayed
how to write this json file, thank
{
"servers": [{
"port": "5448",
"host": "10.10.21.10",
"queries": [{
…

bianqi
- 1
- 1
0
votes
1 answer
How to inspect the java memory except heap and perm gen
I run jmxtrans with option: -Xms16m -Xmx16m -XX:MaxPermSize=32m, however from the os view, the process taken about 190m memory, I use jstat the usage of new, old and perm are under my max memory settings, so what objects taken the extra memory? more…

jamee
- 553
- 1
- 5
- 25
0
votes
1 answer
Monitoring of dynamic(scale up/down) kafka cluster
We are using kafka cluster and we want monitor this cluster.
Current our approach:
collect jmx metrics (telegraf jolokia plugin or jmxtrans)
store into influx
render via grafana
But we faced with problem of static configuration of kafka broker's…
0
votes
1 answer
jmxtrans: Could not write results to opentsdb
I am using jmxtrans to collect JMX stats from a remote JVM machine and writing the output to Opentsdb using OpenTsdbWriter, but after starting the jmxtrans service i am able to see that its not able to write the results to Opentsdb.
I tried to find…

neerajtiwari
- 24
- 3
0
votes
1 answer
why I get nothing about kafka metrics with jmxtrans since I can get JVM heap info?
I use kafka_2.11-0.9.0.1, I try two version of jason config files. I can get JVM info like heapmem and GC
enter image description here
But when I wanted to get kafka metrics, there is nothing out. This is the jmxtrans log.
enter image description…

leo
- 51
- 3
0
votes
1 answer
tomcat7 monitoring using jmxtrans
I am using jmxtrans for remote monitoring of tomcat jvm, my request json query is as below
{
"servers" : [ {
"alias" : "MY_TOMCAT",
"local" : false,
"host" : "myhost",
"port" : "myport",
"queries" : [ {
"obj" :…

Dhananjay
- 3,903
- 2
- 29
- 44
0
votes
1 answer
JMXtrans not creating rrd's of kafka metrics for ganglia
I am trying to monitor a kafka broker using jmxtrans and ganglia. However with the below json, no rrd's being created.
{
"servers": [
{
"port": "9999",
"host": "localhost",
"queries": [
{
…

user2714361
- 141
- 1
- 4
0
votes
1 answer
How to set log level for jmxtrans
I am running jmxtrans using command line with something like this:
java -Djmxtrans.log.level=10 -jar jmxtrans-249-SNAPSHOT-all.jar -e -f queues4.json -s 5
I have tried changing the following settings for log…

Ayusman
- 8,509
- 21
- 79
- 132
0
votes
1 answer
Embedded JMXTrans Spring Configuration
I wanted to try out basic getting started example with embedded-jmxtrans. So I add the below code

Andy Dufresne
- 6,022
- 7
- 63
- 113
0
votes
0 answers
jmxtrans is not working for kafka - java.net.ConnectException: Connection timed out
I am new to jmxtrans
I used this blog to setup jmxtrans monitoring for kafka: http://blogs.impetus.com/big_data/big_data_technologies/kafka-monitoring-using-jmx-jmxtrans.do
But I get the below error. At the very bottom is my json file
[
20 Nov…

Tampa
- 75,446
- 119
- 278
- 425