Skip to content

Latest commit

 

History

History

cassandra_nodetool

Cassandra Nodetool Integration

Cassandra default dashboard

Overview

This check collects metrics for your Cassandra cluster that are not available through jmx integration. It uses the nodetool utility to collect them.

Setup

Installation

The Cassandra Nodetool check is included in the Datadog Agent package, so you don't need to install anything else on your Cassandra nodes.

Configuration

Follow the instructions below to configure this check for an Agent running on a host. For containerized environments, see the Containerized section.

Host

  1. Edit the file cassandra_nodetool.d/conf.yaml in the conf.d/ folder at the root of your Agent's configuration directory. See the sample cassandra_nodetool.d/conf.yaml for all available configuration options:

    init_config:
    
    instances:
      ## @param keyspaces - list of string - required
      ## The list of keyspaces to monitor.
      ## An empty list results in no metrics being sent.
      #
      - keyspaces:
          - "<KEYSPACE_1>"
          - "<KEYSPACE_2>"
  2. Restart the Agent.

Log collection

Cassandra Nodetool logs are collected by the Cassandra integration. See the log collection instructions for Cassandra.

Containerized

For containerized environments, use the official Prometheus exporter in the pod, and then use Autodiscovery in the Agent to find the pod and query the endpoint.

Validation

Run the Agent's status subcommand and look for cassandra_nodetool under the Checks section.

Data Collected

Metrics

See metadata.csv for a list of metrics provided by this integration.

Events

The Cassandra_nodetool check does not include any events.

Service Checks

See service_checks.json for a list of service checks provided by this integration.

Troubleshooting

Need help? Contact Datadog support.

Further Reading