<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.playfulexploration.com/index.php?action=history&amp;feed=atom&amp;title=Install%2FGrafana</id>
	<title>Install/Grafana - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.playfulexploration.com/index.php?action=history&amp;feed=atom&amp;title=Install%2FGrafana"/>
	<link rel="alternate" type="text/html" href="https://wiki.playfulexploration.com/index.php?title=Install/Grafana&amp;action=history"/>
	<updated>2026-11-19T23:34:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://wiki.playfulexploration.com/index.php?title=Install/Grafana&amp;diff=847&amp;oldid=prev</id>
		<title>Peter: /* RPI2 Grafana Setup notes */</title>
		<link rel="alternate" type="text/html" href="https://wiki.playfulexploration.com/index.php?title=Install/Grafana&amp;diff=847&amp;oldid=prev"/>
		<updated>2016-06-08T03:58:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;RPI2 Grafana Setup notes&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:58, 8 June 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;See: http://docs.grafana.org/installation/debian/&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;See: http://docs.grafana.org/installation/debian/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== RPI2 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Grafana Setup notes &lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Grafana Installation on &lt;/ins&gt;RPI2 ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Grafana by default runs on port 3000 root i.e. http://chaospage.com:3000/ .  In order to reverse proxy this with nginx to http://chaospage.com/grafana do this:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Grafana by default runs on port 3000 root i.e. http://chaospage.com:3000/ .  In order to reverse proxy this with nginx to http://chaospage.com/grafana do this:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Peter</name></author>
	</entry>
	<entry>
		<id>https://wiki.playfulexploration.com/index.php?title=Install/Grafana&amp;diff=846&amp;oldid=prev</id>
		<title>Peter: Created page with &quot;== Grafana Installation on Debian == See: http://docs.grafana.org/installation/debian/  == RPI2 Grafana Setup notes == Grafana by default runs on port 3000 root i.e. http://ch...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.playfulexploration.com/index.php?title=Install/Grafana&amp;diff=846&amp;oldid=prev"/>
		<updated>2016-06-08T03:57:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Grafana Installation on Debian == See: http://docs.grafana.org/installation/debian/  == RPI2 Grafana Setup notes == Grafana by default runs on port 3000 root i.e. http://ch...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Grafana Installation on Debian ==&lt;br /&gt;
See: http://docs.grafana.org/installation/debian/&lt;br /&gt;
&lt;br /&gt;
== RPI2 Grafana Setup notes ==&lt;br /&gt;
Grafana by default runs on port 3000 root i.e. http://chaospage.com:3000/ .  In order to reverse proxy this with nginx to http://chaospage.com/grafana do this:&lt;br /&gt;
&lt;br /&gt;
Edit the grafana ini file:&lt;br /&gt;
 nano /root/.gvm/pkgsets/go1.5/global/src/github.com/grafana/grafana/conf/defaults.ini&lt;br /&gt;
&lt;br /&gt;
Change root_url to:&lt;br /&gt;
 root_url = %(protocol)s://%(domain)s:%(http_port)s/grafana&lt;br /&gt;
&lt;br /&gt;
Edit nginx configuration:&lt;br /&gt;
 nano /etc/nginx/sites-enabled/default&lt;br /&gt;
&lt;br /&gt;
Add this location section:&lt;br /&gt;
 location /grafana {&lt;br /&gt;
       proxy_pass         http://localhost:3000;&lt;br /&gt;
       rewrite  ^/grafana/(.*)  /$1 break;&lt;br /&gt;
       proxy_set_header   Host $host;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Restart nginx service there should be no errors:&lt;br /&gt;
 service nginx restart&lt;br /&gt;
&lt;br /&gt;
To have grafana server start automatically add it to rc.local:&lt;br /&gt;
 nano /etc/rc.local&lt;br /&gt;
&lt;br /&gt;
Add this line:&lt;br /&gt;
 /root/.gvm/pkgsets/go1.5/global/src/github.com/grafana/grafana/bin/grafana-server -homepath /root/.gvm/pkgsets/go1.5/global/src/github.com/grafana/grafana/ &amp;amp;&lt;br /&gt;
&lt;br /&gt;
Try it all out by starting grafana from the commanline:&lt;br /&gt;
 /root/.gvm/pkgsets/go1.5/global/src/github.com/grafana/grafana/bin/grafana-server -homepath /root/.gvm/pkgsets/go1.5/global/src/github.com/grafana/grafana/&lt;br /&gt;
&lt;br /&gt;
Navigate to http://chaospage.com/grafana , ensure the grafana web ui shows up.&lt;br /&gt;
&lt;br /&gt;
Then restart the pi and try again ensuring that the grafana webservice starts automatically.&lt;br /&gt;
 restart&lt;/div&gt;</summary>
		<author><name>Peter</name></author>
	</entry>
</feed>