User Tools

Site Tools


communitycloud:services:monitoring:grafana-influxdb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
communitycloud:services:monitoring:grafana-influxdb [2017/04/28 15:56]
tkilla
communitycloud:services:monitoring:grafana-influxdb [2017/04/28 16:07]
tkilla
Line 57: Line 57:
  
  
-At last enable auth in Config:+At last enable auth in /etc/influxdb/influxdb.conf  Config:
  
   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 'admin' -password 'xxxxxxxxxxxx'+  influx -username 'admin' -password 'xxxxxxxxxxxx'  -ssl -unsafeSsl
  
-**Setup Basic Auth in Grafana Datasources** 
  
 +**Setup Basic Auth in Grafana Datasources**
  
 https://docs.influxdata.com/influxdb/v0.9/administration/authentication_and_authorization/ https://docs.influxdata.com/influxdb/v0.9/administration/authentication_and_authorization/
 +
 +**httpS**
 +
 +With a self-signed Cert you get crypto, but no verification of the host. Anyway:
 +
 +  openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/ssl/influxdb-selfsigned.key -out /etc/ssl/influxdb-selfsigned.crt -days 99999
 +  
 +/etc/influxdb/influxdb.conf :
 +
 +  https-enabled = true
 +  https-certificate = "/etc/ssl/influxdb-selfsigned.crt"
 +  https-private-key = "/etc/ssl/influxdb-selfsigned.key"
 +
 +https://docs.influxdata.com/influxdb/v1.2/administration/https_setup/#step-1-generate-a-self-signed-certificate
 +
 +
  
  
Line 93: Line 109:
      password = "yyyyyyyyyyyyyyyyyyyy"      password = "yyyyyyyyyyyyyyyyyyyy"
  
 +**httpS**
 +
 +Change the URLs to httpS://..
 +
 +For self-signed certs add:
  
 +  insecure_skip_verify = true
  
 https://github.com/influxdata/telegraf https://github.com/influxdata/telegraf
communitycloud/services/monitoring/grafana-influxdb.txt ยท Last modified: 2017/04/28 16:10 by tkilla