Please find attached the plugin script to monitor Cassandra. This is a Java plugin invoked from a Shell script.
By default, we have added metrics to monitor Cassandra cache. You can modify the metrics.txt file to include the list of JMX queries that you wish to monitor. To get started,
- Create a folder in the Site24x7 Linux installation directory (/opt/site24x7/monagent/plugins/<cassandra>)
- Please set JAVA_HOME and PLUGIN_FOLDER (Cassandra) variables. Also, configure Cassandra server host and JMX port.
- To monitor more Cassandra metrics, include the JMX MBean definition and the labels in the metrics.txt file.
Refer to know more about configuring JMX in Cassandra.
For further queries, if any, please comment in the below thread. Happy Monitoring!