datastax / diagnostic-collection

Diagnostic Collector for Apache Cassandra
Apache License 2.0
28 stars 35 forks source link

interactive tool that generates a validated .conf file #131

Open mieslep opened 2 years ago

mieslep commented 2 years ago

Certain common problems in the configuration could be avoided if it were clearer what the problem was. To this end, this feature proposes an interactive tool that is able to generate a valid configuration which:

  1. Gets correct ssh username/password, command-line options
  2. Determines if sudo is needed
  3. Confirms critical commands are available (e.g. cqlsh, nodetool, java) and creates appropriate PATH settings
  4. Gets correct cqlsh username/password/host, command-line options
  5. Confirms S3 upload configuration including encryption and whether or not the files should be uploaded