Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| collectd_graphite_grafana [2017/04/01 12:52] – [Konfiguration] brot | collectd_graphite_grafana [2017/07/05 13:40] (current) – [Konfiguration] brot | ||
|---|---|---|---|
| Line 64: | Line 64: | ||
| <code bash -> | <code bash -> | ||
| + | |||
| + | root@minipi:/ | ||
| + | (secret salt setzen) | ||
| + | |||
| root@minipi:/ | root@minipi:/ | ||
| + | |||
| </ | </ | ||
| - | <file shell / | + | <file shell / |
| [uwsgi] | [uwsgi] | ||
| processes = 2 | processes = 2 | ||
| - | socket | + | uid = _graphite |
| - | plugins | + | gid = _graphite |
| - | module = graphite_api.app: | + | chdir = / |
| - | home = / | + | file = graphite.wsgi |
| + | chmod-socket = 666 | ||
| + | |||
| </ | </ | ||
| Line 84: | Line 93: | ||
| location / { | location / { | ||
| include uwsgi_params; | include uwsgi_params; | ||
| - | uwsgi_pass | + | uwsgi_pass |
| } | } | ||
| } | } | ||
| </ | </ | ||
| + | |||
| <code bash -> | <code bash -> | ||
| - | root@minipi:/ | + | root@minipi:/ |
| - | ‘/ | + | ‘/ |
| root@minipi:/ | root@minipi:/ | ||
| ‘/ | ‘/ | ||
| root@minipi:/ | root@minipi:/ | ||
| + | root@minipi:/ | ||
| root@minipi:/ | root@minipi:/ | ||
| root@minipi:/ | root@minipi:/ | ||
| </ | </ | ||
| + | |||
| + | ===== Grafana ===== | ||
| + | |||
| + | ==== Installation ==== | ||
| + | |||
| + | Grafana soll, wie auch der Rest der Software, auf einem Raspberry Pi laufen. Die Grafana-Pakete gibt es allerdings nicht für raspian, und die debian unstable pakete wollen auf einem rpi1 nicht so ohne weiteres laufen. Aber es gibt abhilfe: Ein [[https:// | ||
| + | |||
| + | <code bash -> | ||
| + | apt install apt-transport-https curl | ||
| + | curl https:// | ||
| + | echo "deb https:// | ||
| + | apt update | ||
| + | apt install grafana | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||