Monitoring with JMX

You can monitor your Hazelcast members via the JMX protocol.

  • Add the following system properties to enable JMX agent:

    • -Dcom.sun.management.jmxremote
    • -Dcom.sun.management.jmxremote.port=\_portNo\_ (to specify JMX port) (optional)
    • -Dcom.sun.management.jmxremote.authenticate=false (to disable JMX auth) (optional)
  • Enable the Hazelcast property hazelcast.jmx (please refer to the System Properties section):

    • using Hazelcast configuration (API, XML, Spring).
    • or by setting the system property -Dhazelcast.jmx=true
  • Use jconsole, jvisualvm (with mbean plugin) or another JMX compliant monitoring tool.