Monitoring cluster in Cassandra
Last Updated :
12 Jul, 2025
The tools for monitoring Cassandra cluster include nodetool, Jconsole and Opscenter. All these tools for monitoring cluster works by communicating through JMX(Java Management Extension). In Cassandra Through JMX, explores many metrics and commands which any of them. These tools can use to monitor and manage a Cassandra cluster. In this article we will discuss nodetool. Nodetool: It is one of the important tool for monitoring and managing Cassandra cluster. There are many options are available through nodetool for monitoring a cluster. For complete list of nodetool options used the following CQL query.
nodetool help;
Let's have a look some of few very important nodetool commands for monitoring Cassandra cluster. For example:
1. nodetool status
2. nodetool info
3. nodetool ring
4. nodetool cfstats
5. nodetool cfhistograms
These are explained as following below. 1. nodetool status: It is defined as the status of a node. It describe the state, IP address of a node, load carrying, owns, host id and rack information. To check the nodetool status used the following CQL query.
nodetool status;
Let's have a look on screenshot given below.
Figure - nodetool status2. nodetool info: It gives the information of nodes in which it tells about ID, data center, cache information such that row cache, key cache, uptime in seconds, and heap memory usage etc. To check the nodetool information used the following CQL query.
nodetool info;
Let's have a look on screenshot given below.
Figure - nodetool information3. nodetool ring: It provide the information about node status and information about the ring. To check the nodetool ring used the following CQL query.
nodetool options ring ( -r | --resolve-ip ) --
Let's have a look on screenshot given below.
Figure - nodetool ring4. nodetool cfstats: The tool has been renamed to nodetool tablestats. nodetool tablestats provides statistics about one or more tables. To check the nodetool tablestats used the following CQL query.
$ nodetool [ options ] tablestats
[ -H | --human-readable ]
[ -i table [, table ] . . . ] [ - - ]
[ keyspace | table | keyspace.table ] [keyspace | table | keyspace.table ]
Let's have a look on screenshot given below.
Figure - nodetool tablestats5. nodetool cfhistograms: This tool has been renamed to nodetool tablehistograms. It provide the initial troubleshooting performance metric and current performance statistics for read and write latency on a table during the past fifteen minutes to monitor a cluster in Cassandra. To check the nodetool cfhistograms used the following CQL query.
nodetool options tablehistograms
[--] keyspace_name table_name
or
nodetool options cfhistograms
Let's have a look on screenshot given below.
Figure - nodetool cfhistograms or nodetool tablehistograms
Similar Reads
Configuring Clusters in Cassandra Prerequisite - Monitoring cluster in Cassandra In this article, we will discuss how we can configure clusters setting in cassandra.yaml file. Also, we will cover some basic parts of cassandra.yaml file in which we can change the by default setting as per our requirements. Cluster : In Cassandra, a c
4 min read
Counter Type in Cassandra In this article, we will discuss how to create counter type column in Cassandra and what are the restriction while using the counter column as a data type into the table and we will see how we can update the Counter Column by using an Update Query. let's discuss one by one. The counter is a special
3 min read
Counter Type in Cassandra In this article, we will discuss how to create counter type column in Cassandra and what are the restriction while using the counter column as a data type into the table and we will see how we can update the Counter Column by using an Update Query. let's discuss one by one. The counter is a special
3 min read
Data Manipulation in Cassandra In this article, we will describe the following DML commands in Cassandra which help us to insert, update, delete, query data, etc. In CQL there are following data manipulation command. Letâs discuss one by one. 1. Insert 2. Update 3. Delete 4. Batch Letâs take an example: Table Name: Employee_info
3 min read
Data Manipulation in Cassandra In this article, we will describe the following DML commands in Cassandra which help us to insert, update, delete, query data, etc. In CQL there are following data manipulation command. Letâs discuss one by one. 1. Insert 2. Update 3. Delete 4. Batch Letâs take an example: Table Name: Employee_info
3 min read
Working of GOSSIP protocol in Cassandra In this article, we will discuss the overview of Gossip protocol and mainly focus on working of gossip protocol and what is the role in the cluster to communicate with other nodes. Let's discuss it one by one. Gossip protocol :In Cassandra, the nodes communicate with each other that is through gossi
2 min read