<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.jon.geek.nz/index.php?action=history&amp;feed=atom&amp;title=Metrics</id>
	<title>Metrics - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.jon.geek.nz/index.php?action=history&amp;feed=atom&amp;title=Metrics"/>
	<link rel="alternate" type="text/html" href="https://wiki.jon.geek.nz/index.php?title=Metrics&amp;action=history"/>
	<updated>2026-05-14T05:12:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.7</generator>
	<entry>
		<id>https://wiki.jon.geek.nz/index.php?title=Metrics&amp;diff=2076&amp;oldid=prev</id>
		<title>Johnno at 12:16, 21 August 2015</title>
		<link rel="alternate" type="text/html" href="https://wiki.jon.geek.nz/index.php?title=Metrics&amp;diff=2076&amp;oldid=prev"/>
		<updated>2015-08-21T12:16:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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 12:16, 21 August 2015&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-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;__NOTOC__&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;__NOTOC__&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;Here&amp;#039;s how to set up a [http://dashing.io dashing.io] dashboard for your servers, using data from collectd, via graphite.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;Here&amp;#039;s how to set up a [http://dashing.io dashing.io] dashboard for your servers, using data from collectd, via graphite.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;[[Image:dashing.png|320px|thumb|An example dashboard.]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;== Setup instructions ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;== Setup instructions ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki_jon_geek_nz:diff::1.12:old-2074:rev-2076 --&gt;
&lt;/table&gt;</summary>
		<author><name>Johnno</name></author>
	</entry>
	<entry>
		<id>https://wiki.jon.geek.nz/index.php?title=Metrics&amp;diff=2074&amp;oldid=prev</id>
		<title>Johnno at 12:08, 21 August 2015</title>
		<link rel="alternate" type="text/html" href="https://wiki.jon.geek.nz/index.php?title=Metrics&amp;diff=2074&amp;oldid=prev"/>
		<updated>2015-08-21T12:08:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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 12:08, 21 August 2015&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-l7&quot; &gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;  sudo apt-get install ruby ruby-dev gem bundler nodejs build-essential&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;  sudo apt-get install ruby ruby-dev gem bundler nodejs build-essential&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;  sudo gem install dashing rest-client activesupport &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;google-api-client&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;  sudo gem install dashing rest-client activesupport&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;  dashing new &amp;#039;&amp;#039;mydashboard&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;  dashing new &amp;#039;&amp;#039;mydashboard&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;  cd &amp;#039;&amp;#039;mydashboard&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;  cd &amp;#039;&amp;#039;mydashboard&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki_jon_geek_nz:diff::1.12:old-2073:rev-2074 --&gt;
&lt;/table&gt;</summary>
		<author><name>Johnno</name></author>
	</entry>
	<entry>
		<id>https://wiki.jon.geek.nz/index.php?title=Metrics&amp;diff=2073&amp;oldid=prev</id>
		<title>Johnno at 12:05, 21 August 2015</title>
		<link rel="alternate" type="text/html" href="https://wiki.jon.geek.nz/index.php?title=Metrics&amp;diff=2073&amp;oldid=prev"/>
		<updated>2015-08-21T12:05:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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 12:05, 21 August 2015&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-l4&quot; &gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;== Setup instructions ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;== Setup instructions ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;To get &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;this &lt;/del&gt;dashing.io &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;thing &lt;/del&gt;running on 14.04&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/del&gt;:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;To get &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;a &lt;/ins&gt;dashing.io &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;project &lt;/ins&gt;running on 14.04:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;  sudo apt-get install ruby ruby-dev gem bundler nodejs build-essential&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;  sudo apt-get install ruby ruby-dev gem bundler nodejs build-essential&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki_jon_geek_nz:diff::1.12:old-2072:rev-2073 --&gt;
&lt;/table&gt;</summary>
		<author><name>Johnno</name></author>
	</entry>
	<entry>
		<id>https://wiki.jon.geek.nz/index.php?title=Metrics&amp;diff=2072&amp;oldid=prev</id>
		<title>Johnno at 12:05, 21 August 2015</title>
		<link rel="alternate" type="text/html" href="https://wiki.jon.geek.nz/index.php?title=Metrics&amp;diff=2072&amp;oldid=prev"/>
		<updated>2015-08-21T12:05:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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 12:05, 21 August 2015&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-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{{TOCright}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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 class=&quot;diffchange diffchange-inline&quot;&gt;__NOTOC__&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;Here&amp;#039;s how to set up a [http://dashing.io dashing.io] dashboard for your servers, using data from collectd, via graphite.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;Here&amp;#039;s how to set up a [http://dashing.io dashing.io] dashboard for your servers, using data from collectd, via graphite.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki_jon_geek_nz:diff::1.12:old-2071:rev-2072 --&gt;
&lt;/table&gt;</summary>
		<author><name>Johnno</name></author>
	</entry>
	<entry>
		<id>https://wiki.jon.geek.nz/index.php?title=Metrics&amp;diff=2071&amp;oldid=prev</id>
		<title>Johnno: Created page with &quot;{{TOCright}} Here&#039;s how to set up a [http://dashing.io dashing.io] dashboard for your servers, using data from collectd, via graphite.  == Setup instructions ==  To get this d...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.jon.geek.nz/index.php?title=Metrics&amp;diff=2071&amp;oldid=prev"/>
		<updated>2015-08-21T12:04:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{TOCright}} Here&amp;#039;s how to set up a [http://dashing.io dashing.io] dashboard for your servers, using data from collectd, via graphite.  == Setup instructions ==  To get this d...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{TOCright}}&lt;br /&gt;
Here&amp;#039;s how to set up a [http://dashing.io dashing.io] dashboard for your servers, using data from collectd, via graphite.&lt;br /&gt;
&lt;br /&gt;
== Setup instructions ==&lt;br /&gt;
&lt;br /&gt;
To get this dashing.io thing running on 14.04::&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install ruby ruby-dev gem bundler nodejs build-essential&lt;br /&gt;
 sudo gem install dashing rest-client activesupport google-api-client&lt;br /&gt;
 dashing new &amp;#039;&amp;#039;mydashboard&amp;#039;&amp;#039;&lt;br /&gt;
 cd &amp;#039;&amp;#039;mydashboard&amp;#039;&amp;#039;&lt;br /&gt;
 bundle&lt;br /&gt;
 dashing start&lt;br /&gt;
&lt;br /&gt;
Your new Dashing.io dashboard will be listening on port 3030 by default.&lt;br /&gt;
&lt;br /&gt;
=== Running it as a daemon ===&lt;br /&gt;
&lt;br /&gt;
Assuming we&amp;#039;re on a 14.04 box, edit a new &amp;lt;tt&amp;gt;/etc/init/&amp;#039;&amp;#039;mydashboard&amp;#039;&amp;#039;.conf&amp;lt;/tt&amp;gt; upstart file:&lt;br /&gt;
&lt;br /&gt;
 description &amp;quot;&amp;#039;&amp;#039;My dashing.io dashboard&amp;#039;&amp;#039;&amp;quot;&lt;br /&gt;
 start on runlevel [2345]&lt;br /&gt;
 stop on runlevel [!2345]&lt;br /&gt;
 &lt;br /&gt;
 respawn&lt;br /&gt;
 respawn limit 10 5&lt;br /&gt;
 umask 022&lt;br /&gt;
 expect fork&lt;br /&gt;
 console log&lt;br /&gt;
 &lt;br /&gt;
 pre-start script&lt;br /&gt;
     test -d &amp;#039;&amp;#039;/path/to/mydashboard&amp;#039;&amp;#039; || { stop; exit 0; }&lt;br /&gt;
 end script&lt;br /&gt;
 chdir &amp;#039;&amp;#039;/path/to/mydashboard&amp;#039;&amp;#039;&lt;br /&gt;
 exec dashing start&lt;br /&gt;
&lt;br /&gt;
And start the new service:&lt;br /&gt;
&lt;br /&gt;
 service tabdash start&lt;br /&gt;
&lt;br /&gt;
== Install collectd and graphite ==&lt;br /&gt;
&lt;br /&gt;
We can configure collectd on all the boxes to beam data to graphite, and query the graphite data from the&lt;br /&gt;
dashing.io dashboard. On all the boxes you care about, install collectd:&lt;br /&gt;
&lt;br /&gt;
 apt-get install collectd collectd-utils&lt;br /&gt;
&lt;br /&gt;
On the graphite box, you&amp;#039;ll need the graphite Django web application:&lt;br /&gt;
&lt;br /&gt;
 apt-get install graphite-carbon graphite-web apache2 libapache2-mod-wsgi&lt;br /&gt;
                      # or nginx uwsgi&lt;br /&gt;
&lt;br /&gt;
=== Set up collectd ===&lt;br /&gt;
&lt;br /&gt;
Enable the graphite plugin in &amp;lt;code&amp;gt;/etc/collectd/collectd.conf&amp;lt;/code&amp;gt; with TCP, a prefix with a dot (which&lt;br /&gt;
means that graphite/carbon will put into a separate directory), and with all the things true:&lt;br /&gt;
&lt;br /&gt;
 LoadPlugin write_graphite&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;Plugin write_graphite&amp;gt;&lt;br /&gt;
     &amp;lt;Node &amp;quot;graphing&amp;quot;&amp;gt;&lt;br /&gt;
         Host &amp;quot;&amp;#039;&amp;#039;my.graphite.host&amp;#039;&amp;#039;&amp;quot;&lt;br /&gt;
         Port &amp;quot;2003&amp;quot;&lt;br /&gt;
         Protocol &amp;quot;tcp&amp;quot;&lt;br /&gt;
         LogSendErrors true&lt;br /&gt;
         Prefix &amp;quot;collectd.&amp;quot;&lt;br /&gt;
         StoreRates true&lt;br /&gt;
         AlwaysAppendDS true&lt;br /&gt;
         EscapeCharacter &amp;quot;_&amp;quot;&lt;br /&gt;
     &amp;lt;/Node&amp;gt;&lt;br /&gt;
 &amp;lt;/Plugin&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Set up graphite-web ===&lt;br /&gt;
&lt;br /&gt;
On the graphite box, set up the Graphite virtual host configuration. Graphite is a Django application,&lt;br /&gt;
so we need a web server that speaks WSGI. This is for Apache; you may want to edit it as required&lt;br /&gt;
(and/or translate it into nginx+uwsgi):&lt;br /&gt;
&lt;br /&gt;
 cp /usr/share/graphite-web/apache2-graphite.conf /etc/apache2/sites-available/graphite-web.conf&lt;br /&gt;
 a2ensite graphite-web&lt;br /&gt;
 service apache2 reload&lt;br /&gt;
&lt;br /&gt;
Then configure &amp;lt;code&amp;gt;/etc/graphite/local_settings.py&amp;lt;/code&amp;gt; and add a unique key - this is used to hash user&lt;br /&gt;
passwords:&lt;br /&gt;
&lt;br /&gt;
 SECRET_KEY = &amp;#039;big long string here&amp;#039;  # pwgen -s 64 1&lt;br /&gt;
&lt;br /&gt;
Then initialise the graphite-web SQLite database to get it started:&lt;br /&gt;
&lt;br /&gt;
 graphite-manage syncdb&lt;br /&gt;
 chown _graphite:_graphite /var/lib/graphite/graphite.db&lt;br /&gt;
&lt;br /&gt;
=== Set up graphite-carbon ===&lt;br /&gt;
&lt;br /&gt;
Enable the Carbon cache, which is disabled by default:&lt;br /&gt;
&lt;br /&gt;
 echo &amp;#039;CARBON_CACHE_ENABLED=true&amp;#039; &amp;gt; /etc/default/graphite-carbon&lt;br /&gt;
&lt;br /&gt;
Set up a Carbon schema to record the incoming collectd data (using the Prefix set up in the collectd&lt;br /&gt;
write_graphite plugin). Edit the &amp;lt;code&amp;gt;/etc/carbon/storage-schemas.conf&amp;lt;/code&amp;gt; file:&lt;br /&gt;
&lt;br /&gt;
 # Processed in order, so put this at the top, above the catch-all&lt;br /&gt;
 [collectd]&lt;br /&gt;
 pattern = ^collectd.*&lt;br /&gt;
 retentions = 10s:1d,1m:7d,10m:1y&lt;br /&gt;
&lt;br /&gt;
Restart it all:&lt;br /&gt;
&lt;br /&gt;
 service carbon-cache restart&lt;/div&gt;</summary>
		<author><name>Johnno</name></author>
	</entry>
</feed>