Chronograf: Add "connect to" influxdb and/or kapacitor from CLI

Created on 15 Feb 2017  路  2Comments  路  Source: influxdata/chronograf

From #318

Most helpful comment

After discussing UX, proposed new CLI options:

  --influxdb=http://localhost:8086
  --influxdb-username=admin
  --influxdb-password=password

  --kapacitor=http://localhost:9092
  --kapacitor-username=admin
  --kapacitor-password=password

Also available in ENV_VAR format:

export INFLUXDB=http://localhost:8086
export INFLUXDB_USERNAME=admin
export INFLUXDB_PASSWORD=password

export KAPACITOR=http://localhost:9092
export KAPACITOR_USERNAME=admin
export KAPACITOR_PASSWORD=password

All 2 comments

鈥⒙營f there are no sources, add CLI source and make it the default
鈥⒙營f there is a default add the source as non default and connect to it instead the default

After discussing UX, proposed new CLI options:

  --influxdb=http://localhost:8086
  --influxdb-username=admin
  --influxdb-password=password

  --kapacitor=http://localhost:9092
  --kapacitor-username=admin
  --kapacitor-password=password

Also available in ENV_VAR format:

export INFLUXDB=http://localhost:8086
export INFLUXDB_USERNAME=admin
export INFLUXDB_PASSWORD=password

export KAPACITOR=http://localhost:9092
export KAPACITOR_USERNAME=admin
export KAPACITOR_PASSWORD=password
Was this page helpful?
0 / 5 - 0 ratings