Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
projects:internetofthings:graphite [2017/03/10 08:55] – [graphite-web] scipio | projects:internetofthings:graphite [2017/11/18 08:36] (current) – scipio | ||
---|---|---|---|
Line 30: | Line 30: | ||
done | done | ||
</ | </ | ||
+ | |||
===== graphite-web ===== | ===== graphite-web ===== | ||
Line 43: | Line 44: | ||
# choose user and password | # choose user and password | ||
graphite-manage syncdb | graphite-manage syncdb | ||
+ | chown _graphite: | ||
#python / | #python / | ||
</ | </ | ||
Line 54: | Line 56: | ||
<code bash> | <code bash> | ||
sudo cp / | sudo cp / | ||
+ | sudo a2ensite apache2-graphite | ||
</ | </ | ||
==== nginx ==== | ==== nginx ==== | ||
<code bash> | <code bash> | ||
- | apt install uwsgi uwsgi-plugin-python | + | apt install |
</ | </ | ||
Line 115: | Line 118: | ||
</ | </ | ||
- | |||
- | ===== grafana ===== | ||
- | |||
- | ==== install ==== | ||
- | |||
- | <code bash> | ||
- | echo "deb https:// | ||
- | curl https:// | ||
- | apt update | ||
- | apt install -y grafana | ||
- | systemctl enable grafana-server | ||
- | systemctl start grafana-server | ||
- | </ | ||
- | |||
- | Login to http:// | ||
- | |||
- | add datasource {{ : | ||