Illustration Image

Cassandra.Link

The best knowledge base on Apache Cassandra®

Helping platform leaders, architects, engineers, and operators build scalable real time data platforms.

1/7/2021

Reading time:1 min

QuentinAmbard/cassandra-troubleshooting

by QuentinAmbard

monitoringDistributed monitoring accross multiple machine.Do not require any dependence (read data from /proc/. netstat must be present for networking). Don't require to be root or sudoer.cpuIO (global)IO (write)IO (read)Network (read)Cassandra JVM young generation (ms)Cassandra errors and logsusage: python monitoring.py --big-screen --user=root --key="~/.ssh/id_rsa" --hosts="127.0.0.1,127.0.0.2,127.0.0.3"extra parameters/configuration: python monitoring.py --helpcheck-cassandra-configCheck all cassandra configuration files of the cluster and make sure they are all the same. Can be used with any file (change the default files with --files=....)usage : python check-cassandra-config.py --user=root --key="~/.ssh/id_rsa" --hosts="127.0.0.1,127.0.0.2,127.0.0.3"require pyyaml to analyse yaml files. pyyaml is included in the yaml folder, download it or install pyyaml (pip install pyyaml) on the machine you launch the script (see http://pyyaml.org/).If you have/don't want to use pyyaml, add the --no-yaml flag : python check-cassandra-config.py --no-yaml --user=root --key="~/.ssh/id_rsa" --hosts="127.0.0.1,127.0.0.2,127.0.0.3"extra parameters/configuration: python check-cassandra-config.py --helpcheck-os-configMake sure all os have the recommended production settings for cassandra (see https://docs.datastax.com/en/landing_page/doc/landing_page/recommendedSettingsLinux.html)usage : python check-os-config.py --user=root --key="~/.ssh/id_rsa" --hosts="127.0.0.1,127.0.0.2,127.0.0.3"extra parameters/configuration: python check-cassandra-config.py --help

Illustration Image

monitoring

Distributed monitoring accross multiple machine.

Do not require any dependence (read data from /proc/. netstat must be present for networking). Don't require to be root or sudoer.

  • cpu
  • IO (global)
  • IO (write)
  • IO (read)
  • Network (read)
  • Cassandra JVM young generation (ms)
  • Cassandra errors and logs

usage: python monitoring.py --big-screen --user=root --key="~/.ssh/id_rsa" --hosts="127.0.0.1,127.0.0.2,127.0.0.3"

extra parameters/configuration: python monitoring.py --help

alt tag

check-cassandra-config

Check all cassandra configuration files of the cluster and make sure they are all the same. Can be used with any file (change the default files with --files=....)

usage : python check-cassandra-config.py --user=root --key="~/.ssh/id_rsa" --hosts="127.0.0.1,127.0.0.2,127.0.0.3"

require pyyaml to analyse yaml files. pyyaml is included in the yaml folder, download it or install pyyaml (pip install pyyaml) on the machine you launch the script (see http://pyyaml.org/).

If you have/don't want to use pyyaml, add the --no-yaml flag : python check-cassandra-config.py --no-yaml --user=root --key="~/.ssh/id_rsa" --hosts="127.0.0.1,127.0.0.2,127.0.0.3"

extra parameters/configuration: python check-cassandra-config.py --help

alt tag

check-os-config

Make sure all os have the recommended production settings for cassandra (see https://docs.datastax.com/en/landing_page/doc/landing_page/recommendedSettingsLinux.html)

usage : python check-os-config.py --user=root --key="~/.ssh/id_rsa" --hosts="127.0.0.1,127.0.0.2,127.0.0.3"

extra parameters/configuration: python check-cassandra-config.py --help

alt tag

Related Articles

cluster
troubleshooting
datastax

GitHub - arodrime/Montecristo: Datastax Cluster Health Check Tooling

arodrime

4/3/2024

cassandra
devops

Checkout Planet Cassandra

Claim Your Free Planet Cassandra Contributor T-shirt!

Make your contribution and score a FREE Planet Cassandra Contributor T-Shirt! 
We value our incredible Cassandra community, and we want to express our gratitude by sending an exclusive Planet Cassandra Contributor T-Shirt you can wear with pride.

Join Our Newsletter!

Sign up below to receive email updates and see what's going on with our company

Explore Related Topics

AllKafkaSparkScyllaSStableKubernetesApiGithubGraphQl

Explore Further

troubleshooting