Cassandra's monitoring revolves around continuously monitoring a wide range of Cassandra performance metrics. These metrics measure different elements of the database and can help reveal issues that could impact overall performance and slowdowns. By monitoring Cassandra's performance, you can identify slowdowns, hiccups, or pressing resource limitations—and take swift action to correct them. There are the following types of monitoring available:

JMX-Based Monitoring: Java Management Extensions (JMX) is a specification for monitoring and managing Java applications. It enables a generic management system to monitor your application; raise notifications when the application needs attention, and change the state of your application to remedy problems. You have the following metric groups in JMX Based Monitors:

Note: You can see the monitor information for specific monitors by clicking on the Information icon provided alongside to the monitor type.

Platform Supported

Prerequisites

  1. The machine agent (CMON) should be running on the target server i.e. the machine from where you want to get OS related data.

    To check the CMON status, execute the following command:  /etc/init.d/cmon status
    If CMON is running successfully, you will get an output like this: cmon is running with PID(<pid_number>)

  2. Host and port of the machine are needed where the application is installed.
  3. The JMX_RMI should be configured in the JMX Connection URL option.

Monitor Group Configuration

Configuration For Cassandra Deployment

To successfully configure Cassandra Monitor, you are required to fill in the following fields:

Advance Setting

You can also apply the following advanced settings which are optional:

SSL Configuration

Common Configuration

All metrics in both monitors have the following common fields which are optional:

Monitor Group-Specific Configuration

The following monitor groups have additional configuration fields:

Cassandra Thread Pool Stats V1: Have an additional field of filter settings. Filter settings have two options:

Deploy Monitors

Deploy the configured monitors using our machine agent. The following fields need to be filled in to deploy:

Based on the requirement, you can select any one of the following:

Notes:

Validation

Once the Cassandra monitors are configured, you can validate by either checking the monitor homepage where a section for Cassandra monitors along with details like total, running, and failed monitors is given, or check for the configured monitors from the metric tree, against the tier/server/instance for which this metric is configured.