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.

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

62 questions
2
votes
2 answers

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:type=BrokerTopicMetrics,name=MessagesInPerSec,…
Matheus Portela
  • 181
  • 1
  • 9
2
votes
1 answer

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 instance, without anyone using the Kafka cluster, some…
Matheus Portela
  • 181
  • 1
  • 9
2
votes
1 answer

UnknownHostException when enabling JMX in Java 8

Using Java 7, I can launch a JVM with JMX enabled without any problems using these…
Elifarley
  • 151
  • 1
  • 9
2
votes
1 answer

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 ports used by JMX. I've been doing a lot of…
Bruce P
  • 2,193
  • 3
  • 18
  • 21
2
votes
0 answers

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 40, I wanted to try the Java Flight recorder in…
Oswaldo
  • 121
  • 4
2
votes
1 answer

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.management.jmxremote…
grog_7
  • 51
  • 1
  • 6
2
votes
1 answer

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 and lockups. What metrics should I be watching out…
geoaxis
  • 491
  • 1
  • 6
  • 18
2
votes
2 answers

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 those (important ones) and setup an alarm when…
geoaxis
  • 491
  • 1
  • 6
  • 18
2
votes
0 answers

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.hostname property to fix it. It worked, but I…
Icarokun
  • 21
  • 1
2
votes
1 answer

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 the host, so if I run more than one jboss in the…
feniix
  • 350
  • 3
  • 9
2
votes
1 answer

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 that it is not running. We have checked the…
Rick
  • 121
  • 1
  • 5
2
votes
2 answers

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 system when installed on their premises. Which…
Gareth
  • 153
  • 5
2
votes
0 answers

How can I connect to weblogic JMX via an SSH tunnel?

I am trying to connect to weblogic via an SSH tunnel. Local machine --> putty --> Linux server --> Anothe Linux server 2 with weblogic I use the connect string t3:127.0.0.1:7001 When I connect to the web interface it works fine, but when I try to…
yazz.com
  • 7,193
  • 15
  • 38
  • 39
2
votes
2 answers

Managing multiple systems using JMX and WMI

Our project needs to manage multiple systems across multiple operating systems and languages (Windows, Linux, Java, C++, C#, etc). We're looking at WMI for parts of the system, but for some of the Java pieces expose JMX interfaces for management. …
Matt
  • 121
  • 1
  • 3
1
vote
0 answers

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 maintenance reasons as well and also to use more…
shylynx
  • 191
  • 1
  • 1
  • 7