Questions tagged [jmx]

Java Management Extensions (JMX) is a set of tools for managing and monitoring Java applications, system objects, devices, and service oriented networks.

Filter by
Sorted by
Tagged with
1 vote
0 answers
42 views
+50

How to configure more than one version TLS is used for JMX over SSL?

I want to configure JMX communication for TLSv1.2 and TLSv1.3. I added the java vm argument Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2 and checked whether it would work for version ...
user avatar
0 votes
0 answers
18 views

How can I connect to jmx service with ssl authentication using Java Visual VM?

I have Widlfly 10 server and I tried to enable jmx with ssl and authentication. This is the configuration for Java Opts from standalone.conf: JAVA_OPTS="-Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:...
user avatar
0 votes
0 answers
239 views

How to get Kafka consumer metrics with JMX exporter for Prometheus?

Kafka version: 3.1 I didn't find a way to get Kafka consumer metrics as described in Kafka documentation from my Kafka servers. Even if I leave the "rules" section empty in the config of the ...
user avatar
0 votes
1 answer
296 views

Is it possible to configure JMXRemote both on localhost and remote IP?

I have a java app running within Kubernetes. I sometimes need to debug it, so I used to connect to the jmx port via kubectl port-forward pods/my-java-app 9010:9010 -n my-java-app. Our monitoring team ...
user avatar
0 votes
1 answer
276 views

How to configure Zabbix to monitor Puppet Server via JMX?

Zabbix allows monitoring of metrics via JMX. The Puppet Server provides JMX metrics via jolokia on https://puppetserver:8140/metrics/v2, using its own CA for the certificate. I have my Puppetserver ...
user avatar
1 vote
0 answers
127 views

JMX: How to select one Key of a Java-Keystore

To enable SSL at different JVM instances and also for other security related purposes I use different Java keystores at different hosts. Until now I put each key into one keystore. For security and ...
user avatar
  • 161
2 votes
1 answer
112 views

Understanding puppet JMX metrics

Ive been looking into JMX metrics being exported from puppet and am not clear on how to interpret them. This particular one is supposed to be measuring the package compiler but it's not clear (to me) ...
user avatar
  • 2,297
0 votes
0 answers
52 views

Concerns and strategies for enabling/disabling jmx and xdebug parameters for jvms in pods

I'm working on the code for one service that is part of a larger project. Most of the apps are Java REST services, all running in containers in pods. To debug what's happening in the JVM, it's ...
user avatar
3 votes
1 answer
2k views

How to enable JMX on elastic beanstalk running amazon linux tomcat8

I have to enable the following configuration for tomcat running in elastic beanstalk environment -Dcom.sun.management.jmxremote.port=9000 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management....
user avatar
3 votes
0 answers
172 views

How to go about troubleshoot remote ActiveMQ message broker with low dequeue count

I have a network of brokers configured as such: Broker A <=> Broker B Broker B <=> Broker C Broker A <=> Broker C I've noticed that in the "Network" tab under "Network Bridges" it lists a ...
user avatar
1 vote
0 answers
1k views

Monitoring IBM Websphere 8.x via JSR160RMI JMX fails on Windows

I have an AIX Server running Websphere 8.5 Under Administration Services in the Web UI I have configured all the JMX Connectors to be enabled. No SSL or Authentication at the moment, since it's only ...
user avatar
0 votes
1 answer
308 views

Monitor JMX with Nagios for space on name

We are trying to monitor JMX with Nagios XI and using check_jmx Plugin. Its working fine for Heap memory, thread count etc..We re facing issue on while using the following: obj": "java.lang:type=...
user avatar
  • 535
0 votes
0 answers
2k views

Why can't I get JMX to run with Tomcat8 through CATALINA_OPTS?

According to https://tomcat.apache.org/tomcat-8.0-doc/monitoring.html#Introduction I should be able to active JMX by setting some env variables on CATALINA_OPTS. I've done this: export CATALINA_OPTS="...
user avatar
  • 946
2 votes
2 answers
2k views

What do MBean parameters mean in collectd?

I'm using JMX to monitor an Apache Kafka cluster with collectd's GenericJMX plugin. However, I'm not sure what some of the MBean parameters mean. Particularly, I have one metric called kafka.server:...
user avatar
2 votes
1 answer
344 views

Wrong measurements being reported by JMX and collectd for Apache Kafka

I'm using JMX to gather metrics from Apache Kafka and send to Librato, a visualization and monitoring service, via collectd. The problem is that some metrics seems to be reporting wrongly. For ...
user avatar
1 vote
2 answers
2k views

Access through jmx to java application into Docker container on remote host in local network

I can't connect through jmx (with VisualVM) to java application into Docker container on remote host in local network. Screenshot of the problem. Case 1: Java application into Docker container on ...
user avatar
0 votes
1 answer
244 views

Jmxtrans Jersey query throws exception

I want to graph usage stats from my application in Graphite. I'm trying to get Jmxtrans up and running. The object I want to query is: org.glassfish.jersey:type=my-server,subType=Uris,resource="/...
user avatar
  • 21
0 votes
1 answer
109 views

Cassandra JMX doc pointers

Any good starting URL/pointers for reading up on what could be monitored through JMX on cassandra 2.0? Think off pull data into an existing ELK stack from JMX on new Cassandra clusters, but never ...
user avatar
0 votes
1 answer
99 views

Determine if security software is blocking application process on RHEL Linux [closed]

We deployed a networking application implemented in Java 8 on RHEL 7.1. Periodically, the application gets stuck attempting to communicate on non-standard ports. Is there any way to determine if other ...
user avatar
  • 121
2 votes
1 answer
6k views

UnknownHostException when enabling JMX in Java 8

Using Java 7, I can launch a JVM with JMX enabled without any problems using these properties: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote....
user avatar
  • 151
0 votes
1 answer
1k views

Gather WebSphere Thread Pool Utilization Data In A Text File

I am running a WebSphere 8.x cluster and would like to be able to more closely monitor my JDBC connection pool utilization. All I basically want to do is run a script every couple of minutes that ...
user avatar
  • 549
0 votes
4 answers
24k views

Tomcat : Where to configure jmx JAVA_OPTS or CATALINA_OPTS

I have Tomcat installed on ubuntu. I want to enable JMX for monitoring so in catalina.sh I modified JAVA_OPTS as: JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote=true -Dcom.sun.management....
user avatar
0 votes
1 answer
2k views

docker tomcat with jmx

I'm trying to create a docker image with tomcat and JMX activated. So I clone this tomcat docker image https://github.com/tutumcloud/tutum-docker-tomcat. I exposed the port 1099 and edited the run ...
user avatar
  • 153
6 votes
1 answer
5k views

Jetty JMX setup for remote access

I am having some issues getting JMX working on Jetty(9.1.3.v20140225), so I have had a read over the Jetty doco on this. So I have added the following to the jetty.conf # ============================...
user avatar
  • 397
1 vote
1 answer
359 views

WebSphere - Jython command to view an Application's memory usage

Using IBM WebSphere Application Server version 8.0.0.1, is there a way to view the memory usage of a running application on the server? Something with Jython or Jacl? I can view the memory usage of a ...
user avatar
  • 234
1 vote
2 answers
12k views

Zabbix 2.0: Regular Expression to extract value from a String for a trigger?

I am using Zabbix 2.0.4 to monitor several Java applications. Most values are exported via JMX. One of those exported attributes is a string that is constructed like this: [IP_1],[port_1],[ms_time_1];[...
user avatar
  • 111
1 vote
2 answers
4k views

zabbix jboss monitored by zabbix

I try monitor JBoss by zabbix. I create Template and HOST. In Host I use JMX Interfaces. But when I enable this host I see this error: "java.io.IOException: Failed to retrieve RMIServer stub: javax....
user avatar
  • 337
3 votes
0 answers
643 views

Accessing ActiveMQ's JMX via SSL

I'm trying to get SSL-enabled JMX access to ActiveMQ (5.8.0 or 5.9.0 running under java 1.6.0) but I'm not having any luck. I've dealt with SSL-enabled JMX access in the past, so I'm quite familiar ...
user avatar
  • 2,163
2 votes
1 answer
2k views

Getting JMX working under Tomcat 7 with SSL and a self-signed cert

I'm trying to get JMX working under Tomcat 7.0.23 with SSL. The servers are located in AWS, which means all the hosts are NATed, and I need to use JmxRemoteLifecycleListener to explicitly set the two ...
user avatar
  • 2,163
2 votes
0 answers
800 views

How to connect Java Flight Recorder (from JDK 7 U 40) to a remote JBoss 7

I have a remote Ubuntu server with Jboss 7 and a local Ubuntu desktop machine and I can already monitor JBoss using jconsole and visualvm scripts that come with it. After the release of Java 7 Update ...
user avatar
  • 121
1 vote
1 answer
714 views

Can I use JMX to monitor ColdFusion 10 standard?

How do you use JMX to monitor CF10 Standard? I found this post here but it was written for jvm 1.6 (CF8 days?) http://boncode.blogspot.com/2010/04/cf-java-using-free-visualvm-tool-to.html
user avatar
  • 262
2 votes
1 answer
4k views

Remote JMX connections are sent to localhost

I' m trying to set up remote JMX monitoring on a Java process. These are the options I'm giving the JVM to start it: JAVA_OPTS="-server -Xms1G -Xmx1G -XX:MaxPermSize=512m " JMX_OPTS="-Dcom.sun....
user avatar
  • 51
0 votes
1 answer
136 views

ssh tuneling of blocked port (mmx)?

My iptables block everything except several ports like 80, 22, etc. It's running my java servlet. I need to connect to that servlet using jconsole. I don't want to allow external connections for jmx ...
user avatar
  • 103
0 votes
1 answer
5k views

Cannot connect via remote JMX

I tried to enable JMX remoting on a Java app running on a server by adding the JVM args -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9001 -Dcom.sun.management.jmxremote....
user avatar
2 votes
1 answer
2k views

Which JMX statistics to watch out for in Catalina/Tomcat?

I have configured OpenNMS to collect all kinds of numeric data coming out of tomcat7 jmx. There are a lot of things. I am interested in monitoring this tomcat instance so that I can avoid down time ...
user avatar
  • 451
0 votes
1 answer
1k views

Multiple munin-nodes per machine

I'm collecting statistics remotely through JMX. The munin JMX plugin allows you to select an URL to connect to when aggregating statistics. This allows me to collect statistics from hosts which do not ...
user avatar
0 votes
1 answer
337 views

JVM Max heap size

For an application I use JVM Max heap setting when starting it on both a test environment and a production system. When i connect via JMX to monitor the application I see that the max heap size of ...
user avatar
  • 451
3 votes
4 answers
9k views

JMX connection to Tomcat running on Amazon EC2

My Tomcat 7 process, which I run on a server on Amazon EC2, has settings such as these in CATALINA_OPTS which should allow me to connect for JMX monitoring remotely: -Dcom.sun.management.jmxremote....
user avatar
  • 2,911
2 votes
2 answers
1k views

JMX monitoring without sacrificing and arm or a leg

I am interested in setting up JMX monitoring with minimal configuration as possible. In VisualVM or in JConsole a lot of metrics are shown just by connecting to the JMX server. I would like to store ...
user avatar
  • 451
2 votes
0 answers
374 views

Can't connect Tomcat via JMX

I couldn't connect to one Tomcat server via JMX in a Linux virtual machine. There was no firewall running. All seemed ok. By searching on the web I found out that I have to use the -Djava.rmi.server....
user avatar
2 votes
1 answer
4k views

How do I set the jmx to listen in a specific IP

I am trying to configure jboss to allow monitoring with a jmx tool (I am looking at a few so no need to give). Looking at the properties in java jmx docs it does not seem to have a property to set ...
user avatar
  • 350
6 votes
5 answers
60k views

How do I fix a 'Failed to retrieve RMIServer stub' JMX error?

I just completed a migration from Windows server 2008 R2 to Ubuntu 10.04. I manage a java application (Java 6, Tomcat) that is having some performance issues. I'd like to use JMX to try and ...
user avatar
  • 1,352
1 vote
0 answers
438 views

Monitoring OpenMQ in SCOM via JMX

Is there a way to connect SCOM to OpenMQ via JMX to monitor it? I've found an app named BridgeWays Java Attributes that can apparently do this but it is right now in beta. I was wondering if SCOM has ...
user avatar
  • 279
1 vote
1 answer
8k views

Error: Invalid com.sun.management.jmxremote.port number: 8999

I have a CentOS+CPanel+Tomcat+Spring+MySQL+Flex architecture. I need to monitor my application's memory because Tomcat is crashing from time to time. I read that JMX + Jconsole its a great choice. So ...
user avatar
  • 239
2 votes
1 answer
3k views

Unable to connect to remoteJMX but able to Telnet on same port after setting Dcom.sun.management.jmxremote environment variables?

I am rather perplexed at this point as we have a need to connect through remotejxm to monitor the JDK on a server through a monitoring application but I am repeatedly being told when trying to connect ...
user avatar
  • 121
2 votes
2 answers
968 views

Developing New Server System - JMX vs SNMP

We are in the process of designing a new system. As part of this process, we are looking into provide an external interface to allow third-parties (our customers) to use their own tools to monitor the ...
user avatar
  • 153
0 votes
1 answer
1k views

Why are all the tabs except MBeans disabled in JConsole? (when using "Remote Process" connection)

I'm trying to connect to JConsole on a server running: java version "1.6.0_0" OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu12) OpenJDK 64-Bit Server VM (build 14.0-b08, mixed mode) ...
user avatar
  • 111
5 votes
1 answer
1k views

Does jmxremote affect tomcat performance?

I'd like to enable jmxremote to monitor Apache Tomcat resources utilization with Munin, but I want to know if this will affect the servers performance, is so, how much will it be impacted.
user avatar
  • 944
3 votes
1 answer
4k views

Tomcat JMX Monitoring - Busy Threads?

I'm trying to monitor Tomcat 6.0 using JMX. Specifically, I want to monitor the number of active threads servicing requests so I can get an alert if it approaches the maximum. While I have JMX ...
user avatar
0 votes
3 answers
613 views

Is there any monitoring software able to do almost continued pull and save the average to the DataBase?

Good Day. Like all of you know, (and me) there are a lot of Monitoring software (Open Source or not), I'm talking about Nagios, Hyperic, OpenNMs, Tivoly, Microsoft... Like all of you know, best way ...
user avatar