Cassandra plugin

The Apache Cassandra database is the right choice when you need scalability and high availability without compromising performance. Linear scalability and proven fault-tolerance on commodity hardware or cloud infrastructure make it the perfect platform for mission-critical data. Cassandra’s support for replicating across multiple datacenters is best-in-class, providing lower latency for your users and the peace of mind of knowing that you can survive regional outages.

More information on:

How it works

This plugin gathers some global statistics from your Cassandra server.

It gets these statistics using Cassandra’s JMX interface.


Enable JMX Connection

To enable JMX in Cassandra, add the following line in <instalation_folder>/conf/

JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=localhost"

Restart Cassandra to apply these changes.

Active checks

This plugin can be configured to perform a CQL query on your Cassandra. This active monitoring allows us to calculate the uptime of the service and the response time of the provided query.

A keyspace and valid CQL query (eg. SELECT * FROM users WHERE first_name = 'jane' and last_name='smith';) should be provided.


  • Service state


Metric name Metric unit
Cassandra %s hit count hits
Cassandra %s active count tasks
Cassandra %s completed tasks tasks
Cassandra %s core threads threads
Cassandra %s dropped messages count msg
Cassandra %s pending tasks tasks
Cassandra %s total batches replayed batches
Cassandra %s total blocked tasks tasks
Cassandra free physical memory size b
Cassandra free swap space size b
Cassandra heap memory size %s b
Cassandra non heap memory size %s b
Cassandra storage load b
Cassandra total CommitLog Size b
Cassandra total swap space size b
Count of threads marked as daemons in the system threads
Count of threads started since system start threads
Number of active threads in the system threads
Number of bytes compacted b
Number of seconds that the Cassandra server has been up s
Peak count of active threads in the system threads
Total process CPU Time s