How to configure GroundWork InfluxDB for basic authentication

WAS THIS PAGE HELPFUL? Leave Feedback

Overview

For an additional layer of security, InfluxDB supports basic authentication, for more information see https://docs.influxdata.com/influxdb/v1.3/query_language/authentication_and_authorization/. To configure GroundWork InfluxDB with basic authentication, follow the steps below.

Steps
  1. Enable authentication in InfluxDB:
    • Set auth-enabled = true in the [httpd] section of:
      /usr/local/groundwork/influxdb/etc/influxdb.conf
    • Restart InfluxDB:
      /etc/init.d/groundwork restart influxdb
    • Create an InfluxDB user that can write data for example:
      /usr/local/groundwork/influxdb/bin/influx -execute "CREATE USER the_username WITH PASSWORD 'the_password' WITH ALL PRIVILEGES"
      InfluxDB is sensitive to quotation types - single quotes around the_password are required.
  2. Update /usr/local/groundwork/config/influxdb.properties: url = http://the_username:[email protected]:8086
  3. Update /usr/local/groundwork/config/foundation.properties: collage.metrics.influxdb.url = http://the_username:[email protected]:8086
  4. Update the GroundWork Grafana ‘GroundWork Internal Metrics’ data source so Basic Authentication is enabled, and the User and Password are defined:
  5. Restart GroundWork:
    /etc/init.d/groundwork restart

Labels

influxdb influxdb Delete
basic basic Delete
authentication authentication Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.