Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
9 views

JMX monitoring in tomcat using jconsole

I had a problem with turning on jmx in tomcat. I run tomcat as a windows service. I tried to turn on jmx in the following way. Creating setenv.sh file and adding there following code set JAVA_OPTS="%...
1
vote
0answers
12 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 ...
0
votes
0answers
41 views

Java-Keystore for Tomcat: CATALINA_OPTS vs. server.xml

To enable SSL for a Tomcat, it's well known, that you configure the property "keystoreFile" of the relevant connector in server.xml. So I always maintained server.xml for SSL by this simple way. On ...
2
votes
1answer
26 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) ...
0
votes
0answers
42 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 ...
1
vote
1answer
737 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....
2
votes
0answers
102 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 ...
1
vote
0answers
529 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 ...
0
votes
1answer
200 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=...
0
votes
0answers
1k 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="...
2
votes
2answers
893 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:...
2
votes
1answer
225 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 ...
1
vote
2answers
1k 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 ...
0
votes
0answers
2k views

Zabbix JMX custom java app monitoring

We are trying to monitor a custom java app and retrieve JMX data from that host . I've tried to figure out the issue for the past 2 days but with no success . Unfortunately zabbix documentation does ...
0
votes
1answer
211 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="/...
0
votes
1answer
86 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 ...
0
votes
1answer
51 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 ...
1
vote
1answer
4k 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....
0
votes
1answer
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 ...
0
votes
4answers
7k 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....
0
votes
1answer
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 ...
5
votes
1answer
4k 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 # ============================...
1
vote
1answer
266 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 ...
0
votes
2answers
10k 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];[...
1
vote
2answers
2k 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....
3
votes
0answers
529 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 ...
1
vote
1answer
1k 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 ...
2
votes
0answers
736 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 ...
1
vote
1answer
607 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
1
vote
0answers
3k 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....
0
votes
1answer
113 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 ...
1
vote
0answers
66 views

Java MBeans with Amazon EC2

Is it possible to configure Amazon's EC2 page showing a list of my servers to connect to a JMX port on the machines and give access to the MBeans from the front-end? I'm wondering a standard way to ...
1
vote
0answers
925 views

Monitoring JBOSS 6.1 with SCOM 2012 using JMX

I have really no knowledge about SCOM and a very little knowledge about JMX protocol. What I am trying to achieve is I have a HelloWorld application which has an HelloWorldMBean works perfectly fine ...
0
votes
1answer
3k 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....
2
votes
1answer
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 ...
0
votes
1answer
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 ...
0
votes
1answer
299 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 ...
3
votes
4answers
7k 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....
2
votes
2answers
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 ...
2
votes
0answers
345 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....
2
votes
1answer
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 ...
4
votes
3answers
36k 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 ...
1
vote
0answers
395 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 ...
1
vote
1answer
7k 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 ...
1
vote
1answer
2k 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 ...
2
votes
2answers
797 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 ...
0
votes
1answer
912 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) ...
5
votes
1answer
840 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.
3
votes
1answer
3k 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 ...
0
votes
3answers
609 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 ...