Hi Divya,
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!
Hi Anita, we are currently running a POC with Site24x7 and Cassandra monitoring is one of our requirements. Can I ask why this plugin has a limit of 25 items that can be added to the metrics.txt file? Is there an overhead if you go over 25 and just out of interest, is this plugin being used in production environments?
Thanks
Regards,
Paul (SiboSystems)
Hi Paul,
We have a limit of upto 25 attributes for each plugin monitor added. To monitor more metrics, you can add them as new plugin monitors. As an alternative, you can also pick up the important 25 metrics in a single monitor and add it for monitoring. For more assistance, please drop in a mail to support@site24x7.com
Yes, the Cassandra plugin is actively used in production environments. Hope this clarifies your questions.
Happy Monitoring!