projects:internetofthings:graphite

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:internetofthings:graphite [2017/04/03 15:15] – [influxdb] scipioprojects:internetofthings:graphite [2017/11/18 08:36] (current) scipio
Line 30: Line 30:
 done done
 </code> </code>
 +
 ===== graphite-web ===== ===== graphite-web =====
  
Line 118: Line 119:
  
  
-===== grafana ===== 
- 
-==== install ==== 
- 
-<code bash> 
-echo "deb https://packagecloud.io/grafana/stable/debian/ jessie main" > /etc/apt/sources.list.d/grafana.list 
-curl https://packagecloud.io/gpg.key | sudo apt-key add - 
-apt update 
-apt install -y grafana 
-systemctl enable grafana-server 
-systemctl start grafana-server 
-</code> 
- 
-Login to http://localhost:3000 (admin/admin) 
- 
-add datasource {{ :projects:internetofthings:datasource.png |}} 
- 
- 
-==== plugins ==== 
- 
-Add plugin in /var/lib/grafana/plugins/ directory 
- 
-piechart 
-<code bash> 
-cd /var/lib/grafana/plugins/ 
-git clone https://github.com/grafana/piechart-panel.git 
-systemctl restart grafana-server.service 
-</code> 
- 
-===== influxdb ===== 
- 
-<code> 
-curl -sL https://repos.influxdata.com/influxdb.key | apt-key add - 
-source /etc/lsb-release 
-echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | tee -a /etc/apt/sources.list 
-apt update 
-apt install influxdb 
-</code> 
- 
-enable admin service in /etc/influxdb/influxdb.conf and 
-<code> 
-systemctl restart influxdb 
-</code> 
- 
-create database 
-<code> 
-root@graphite:~# influx 
-Connected to http://localhost:8086 version 1.2.1 
-InfluxDB shell version: 1.2.1 
-> create database captive 
-> CREATE USER "captive" WITH PASSWORD 'captive' WITH ALL PRIVILEGES 
-> show databases 
-name: databases 
-name 
----- 
-_internal 
-captive 
- 
- 
-</code> 
- 
-test 
-<code> 
-curl -G http://carbon:8086/query  --data-urlencode "q=SHOW DATABASES" 
-</code> 
  • projects/internetofthings/graphite.1491225331.txt.gz
  • Last modified: 2017/04/03 15:15
  • by scipio