collectd_graphite_grafana

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
collectd_graphite_grafana [2017/04/01 13:08] – [Konfiguration] brotcollectd_graphite_grafana [2017/04/01 13:35] – [Konfiguration] brot
Line 72: Line 72:
 </code> </code>
  
-<file shell /etc/uwsgi/apps-available/graphite-api.ini>+<file shell /etc/uwsgi/apps-available/graphite.ini>
  
 [uwsgi] [uwsgi]
 processes = 2 processes = 2
-socket = localhost:8080 
-#zugriff auf db  
 uid = _graphite uid = _graphite
 gid = _graphite gid = _graphite
 +chdir = /usr/share/graphite-web
 +file = graphite.wsgi
 +chmod-socket = 666
  
-#py version 
-plugins = python27 
  
-#wo die app liegt 
-chdir /usr/share/graphite-web/ 
-file = graphite.wsgi 
 </file> </file>
  
Line 97: Line 93:
     location / {     location / {
         include uwsgi_params;         include uwsgi_params;
-        uwsgi_pass localhost:8080;+        uwsgi_pass unix:/run/uwsgi/app/graphite/socket;
     }     }
 } }
 </file> </file>
 <code bash -> <code bash ->
-root@minipi:/home/pi# ln -sv /etc/uwsgi/apps-available/graphite-api.ini /etc/uwsgi/apps-enabled/ +root@minipi:/home/pi# ln -sv /etc/uwsgi/apps-available/graphite.ini /etc/uwsgi/apps-enabled/ 
-‘/etc/uwsgi/apps-enabled/graphite-api.ini’ -> ‘/etc/uwsgi/apps-available/graphite-api.ini’+‘/etc/uwsgi/apps-enabled/graphite.ini’ -> ‘/etc/uwsgi/apps-available/graphite.ini’
 root@minipi:/home/pi# ln -sv /etc/nginx/sites-available/graphite.conf /etc/nginx/sites-enabled/ root@minipi:/home/pi# ln -sv /etc/nginx/sites-available/graphite.conf /etc/nginx/sites-enabled/
 ‘/etc/nginx/sites-enabled/graphite.conf’ -> ‘/etc/nginx/sites-available/graphite.conf’ ‘/etc/nginx/sites-enabled/graphite.conf’ -> ‘/etc/nginx/sites-available/graphite.conf’
  • collectd_graphite_grafana.txt
  • Last modified: 2017/07/05 13:40
  • by brot