My guide to grafana / influxdb: Difference between revisions
Jump to navigation
Jump to search
Created page with "[http://codersaur.com/2016/04/smartthings-data-visualisation-using-influxdb-and-grafana/ adapted from SmartThings Data Visualisation using InfluxDB and Grafana] <pre> apt-get..." |
No edit summary |
||
Line 36: | Line 36: | ||
admin / admin | admin / admin | ||
change password | |||
</pre> | </pre> | ||
vi /etc/apt/sources.list | vi /etc/apt/sources.list | ||
Line 45: | Line 48: | ||
apt-get install apt-transport-https | apt-get install apt-transport-https | ||
dselect update | dselect update | ||
</pre> | |||
vi /etc/grafana/grafana.ini | |||
<pre> | |||
;allow_sign_up = false | |||
</pre> | </pre> |
Revision as of 10:50, 13 May 2019
adapted from SmartThings Data Visualisation using InfluxDB and Grafana
apt-get install influxdb influxdb-cli influxdb-client service influxdb start systemctl enable influxdb influx
you can also surf to http://db-01.edgarbv.int:8083/ to check if it works
Back in the cli (influx) enter <jpre> Visit https://enterprise.influxdata.com to register for updates, InfluxDB server management, and monitoring. Connected to http://localhost:8086 version 1.0.2 InfluxDB shell version: 1.0.2 > create database "honeywell" > create user "grafana" with password 'password'
The Grafana download page debian installation page for grafana
cd /usr/local/src/ wget https://dl.grafana.com/oss/release/grafana_6.1.6_amd64.deb apt-get install libfontconfig1 dpkg -i grafana_6.1.6_amd64.deb systemctl daemon-reload systemctl enable grafana-server mv /var/lib/grafana/ /home/ ln -s /home/grafana /var/lib/grafana systemctl start grafana-server
Verify it works by visiting
http://monitor.edgarbv.int:3000 admin / admin change password
vi /etc/apt/sources.list
deb https://packages.grafana.com/oss/deb stable main
then you need to add the https transport before updating
apt-get install apt-transport-https dselect update
vi /etc/grafana/grafana.ini
;allow_sign_up = false