This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
communitycloud:services:monitoring:grafana-influxdb [2017/04/28 15:56] tkilla |
communitycloud:services:monitoring:grafana-influxdb [2017/04/28 16:10] (current) tkilla |
||
---|---|---|---|
Line 57: | Line 57: | ||
- | At last enable auth in Config: | + | At last enable auth in / |
auth-enabled = true | auth-enabled = true | ||
Line 63: | Line 63: | ||
Restart influxdb and login to the cli via: | Restart influxdb and login to the cli via: | ||
- | influx -username ' | + | influx -username ' |
- | **Setup Basic Auth in Grafana Datasources** | ||
+ | **Setup Basic Auth in Grafana Datasources** | ||
https:// | https:// | ||
+ | |||
+ | **httpS** | ||
+ | |||
+ | With a self-signed Cert you get crypto, but no verification of the host. Anyway: | ||
+ | |||
+ | openssl req -x509 -nodes -newkey rsa:2048 -keyout / | ||
+ | | ||
+ | / | ||
+ | |||
+ | https-enabled = true | ||
+ | https-certificate = "/ | ||
+ | https-private-key = "/ | ||
+ | |||
+ | Change the Datasource URLs in Grafana to use httpS and check "With CA Cert" | ||
+ | |||
+ | https:// | ||
+ | |||
+ | |||
Line 93: | Line 111: | ||
| | ||
+ | **httpS** | ||
+ | |||
+ | Change the URLs to httpS://.. | ||
+ | |||
+ | For self-signed certs add: | ||
+ | insecure_skip_verify = true | ||
https:// | https:// |