Monitor Cassandra using SignalFx's configuration of the Java plugin for collectd.
Use this integration to monitor the following types of information from Cassandra nodes:
- read/write/range-slice requests
- read/write/range-slice errors (timeouts and unavailable)
- read/write/range-slice latency (median, 99th percentile, maximum)
- compaction activity
- hint activity
Cassandra Nodes: Overview of data from all Cassandra nodes.
Cassandra Node: Focus on a single Cassandra node.
REQUIREMENTS AND DEPENDENCIES
|Java plugin for collectd||(match with collectd version)|
If you are using the new Smart Agent, see the docs for the collectd/cassandra monitor for more information. The configuration documentation below may be helpful as well, but consult the Smart Agent repo's docs for the exact schema.
Open the JMX port on your Cassandra app. Cassandra will listen for connections on port 8080 (port 7199 starting in 0.8.0-beta1). More information can be found at the Cassandra Project site. There is also a page covering a few common issues.
Install Cassandra integration
RHEL/CentOS and Amazon Linux users: Install the Java plugin for collectd](https://github.com/signalfx/integrations/tree/master/collectd-java)(sfx_link:collectd-java) if it is not already installed.
Download SignalFx's example Cassandra configuration file to
20-cassandra.confto provide values that make sense for your environment, as described in Configuration, below.
Using the example configuration file 20-cassandra.conf as a guide, provide values for the configuration options listed below that make sense for your environment and allow you to connect to the Cassandra instance to be monitored.
|ServiceURL||URL of your JMX application.||
|Host||The name of your host. Appears as dimension
Sample of built-in dashboard in SignalFx:
For documentation of the metrics and dimensions emitted by this plugin, click here.
This integration is released under the Apache 2.0 license. See LICENSE for more details.