Cassandra's JMX interface
Cassandra has a powerful JMX interface to monitor almost all of its aspects. JMX is a standard part of Java standard edition (SE) 5.0 and onward. It provides a standard interface to manage and monitor resources such as applications, devices, JVM settings, and services. The way JMX technology manages and monitors a resource is called Managed Beans (MBeans). JMX defines standard connectors that enable us to access JMX agents remotely. With this introductory JMX knowledge, let's see what Cassandra offers us to control or monitor almost all of its aspects using JMX.
Note
This discussion is sufficient to get you to work with JMX in the context of Cassandra. Learn more about it at http://docs.oracle.com/javase/tutorial/jmx/TOC.html.
Cassandra exposes JMX MBeans in different packages. These are as follows:
org.apache.cassandra.internal
: This package includes MBeans that inform us about internal operations. Therefore, you can view the status of AntiEntropy, FlushWriter,...