JMX console monitoring

Ignite supports remote monitoring through JMX console. To start the JMX server, you need to set an environment variable called IGNITE_JMX_PORT with a valid unoccupied port number.

The following are the steps to enable JMX monitoring:

  1. Let's assume that port 7788 is available (if not, then find a valid port), set IGNITE_JMX_PORT=7788, start an Ignite server instance, and rerun our CacheMonitoring example.
  2. We need a JMX console viewer. Open JDK's bin directory and launch jmc:
  1. In JMC, create a connection for port 7788 (or your IGNITE_JMX_PORT value):
  1. Right-click on MBean Server for localhost:7788 and start the JMX ...

Get Apache Ignite Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.