<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://sudoroom.org/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Chrisjx</id>
	<title>Sudo Room - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://sudoroom.org/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Chrisjx"/>
	<link rel="alternate" type="text/html" href="https://sudoroom.org/wiki/Special:Contributions/Chrisjx"/>
	<updated>2026-04-04T06:26:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Bandwidth_Quotas&amp;diff=9255</id>
		<title>Mesh/Bandwidth Quotas</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Bandwidth_Quotas&amp;diff=9255"/>
		<updated>2015-02-20T08:00:10Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]],  [[Mesh/Monitoring | Monitoring]]&lt;br /&gt;
&lt;br /&gt;
notes about bandwidth monitoring and quotas&lt;br /&gt;
&lt;br /&gt;
The system can apportion the shareable bandwidth to a percentage of total bandwidth available. The goal is to find a way to cap bandwidth usage, in and out.  Here we research how this can be done.&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
== monitoring ==&lt;br /&gt;
to track bandwidth we need a way to quantify it.  Here are some likely candidates:&lt;br /&gt;
&lt;br /&gt;
* [http://wiki.openwrt.org/doc/howto/bandwidthd bandwidthd] - very popular, but apparently it is resource heavy&lt;br /&gt;
* [http://wiki.openwrt.org/doc/howto/bwmon bmon] - [http://freecode.com/projects/bmon/ download it]&lt;br /&gt;
* [http://wiki.openwrt.org/doc/howto/bwmon iftop], [http://www.ex-parrot.com/pdw/iftop/ man page] - &amp;quot;iftop does for network usage what top(1) does for CPU usage. It listens to network traffic on a named interface and displays a table of current bandwidth usage by pairs of hosts.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== tc âˆ’ show / manipulate traffic control settings ==&lt;br /&gt;
Tc is used to configure Traffic Control in the Linux kernel.&lt;br /&gt;
* man page for tc: http://man.cx/tc&lt;br /&gt;
* Ixgr's setup using tc to fix bufferfloat: http://blog.lxgr.net/posts/2013/01/28/my-openwrt-setup/&lt;br /&gt;
&lt;br /&gt;
== QOS ==&lt;br /&gt;
[http://wiki.openwrt.org/doc/uci/qos Quality of Service (qos-scripts) configuration]&lt;br /&gt;
&lt;br /&gt;
Once we have the monitoring in hand we can then handle the bandwidth caps.  We might want to cut off access once the limit has been reached.&lt;br /&gt;
* [http://xmodulo.com/how-to-set-up-qos-bandwidth-rate-limit-on-openwrt.html How to set up QoS bandwidth rate limit on OpenWRT]&lt;br /&gt;
&lt;br /&gt;
== ubus ==&lt;br /&gt;
[http://wiki.openwrt.org/doc/techref/ubus OpenWrt micro bus architecture] - there is a Lua module for ubus...&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Bandwidth_Quotas&amp;diff=9254</id>
		<title>Mesh/Bandwidth Quotas</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Bandwidth_Quotas&amp;diff=9254"/>
		<updated>2015-02-20T07:58:27Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* monitoring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]],  [[Mesh/Monitoring | Monitoring]]&lt;br /&gt;
&lt;br /&gt;
notes about bandwidth monitoring and quotas&lt;br /&gt;
&lt;br /&gt;
The goal is to find a way to cap bandwidth usage, in and out.  The system can apportion the shareable bandwidth to a percentage of total bandwidth available. Here we research how this can be done.&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
== tc âˆ’ show / manipulate traffic control settings ==&lt;br /&gt;
Tc is used to configure Traffic Control in the Linux kernel.&lt;br /&gt;
* man page for tc: http://man.cx/tc&lt;br /&gt;
* Ixgr's setup using tc to fix bufferfloat: http://blog.lxgr.net/posts/2013/01/28/my-openwrt-setup/&lt;br /&gt;
&lt;br /&gt;
== QOS ==&lt;br /&gt;
[http://wiki.openwrt.org/doc/uci/qos Quality of Service (qos-scripts) configuration]&lt;br /&gt;
&lt;br /&gt;
Once we have the monitoring in hand we can then handle the bandwidth caps.  We might want to cut off access once the limit has been reached.&lt;br /&gt;
* [http://xmodulo.com/how-to-set-up-qos-bandwidth-rate-limit-on-openwrt.html How to set up QoS bandwidth rate limit on OpenWRT]&lt;br /&gt;
&lt;br /&gt;
== monitoring ==&lt;br /&gt;
to track bandwidth we need a way to quantify it.  Here are some likely candidates:&lt;br /&gt;
&lt;br /&gt;
* [http://wiki.openwrt.org/doc/howto/bandwidthd bandwidthd] - very popular, but apparently it is resource heavy&lt;br /&gt;
* [http://wiki.openwrt.org/doc/howto/bwmon bmon] - [http://freecode.com/projects/bmon/ download it]&lt;br /&gt;
* [http://wiki.openwrt.org/doc/howto/bwmon iftop], [http://www.ex-parrot.com/pdw/iftop/ man page] - &amp;quot;iftop does for network usage what top(1) does for CPU usage. It listens to network traffic on a named interface and displays a table of current bandwidth usage by pairs of hosts.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== ubus ==&lt;br /&gt;
[http://wiki.openwrt.org/doc/techref/ubus OpenWrt micro bus architecture] - there is a Lua module for ubus...&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Bandwidth_Quotas&amp;diff=9253</id>
		<title>Mesh/Bandwidth Quotas</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Bandwidth_Quotas&amp;diff=9253"/>
		<updated>2015-02-20T07:53:46Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]],  [[Mesh/Monitoring | Monitoring]]&lt;br /&gt;
&lt;br /&gt;
notes about bandwidth monitoring and quotas&lt;br /&gt;
&lt;br /&gt;
The goal is to find a way to cap bandwidth usage, in and out.  The system can apportion the shareable bandwidth to a percentage of total bandwidth available. Here we research how this can be done.&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
== tc âˆ’ show / manipulate traffic control settings ==&lt;br /&gt;
Tc is used to configure Traffic Control in the Linux kernel.&lt;br /&gt;
* man page for tc: http://man.cx/tc&lt;br /&gt;
* Ixgr's setup using tc to fix bufferfloat: http://blog.lxgr.net/posts/2013/01/28/my-openwrt-setup/&lt;br /&gt;
&lt;br /&gt;
== monitoring ==&lt;br /&gt;
to track bandwidth we need a way to quantify it.  Here are some likely candidates:&lt;br /&gt;
&lt;br /&gt;
* [http://wiki.openwrt.org/doc/howto/bandwidthd bandwidthd] - very popular, but apparently it is resource heavy&lt;br /&gt;
* [http://wiki.openwrt.org/doc/howto/bwmon bmon] - [http://freecode.com/projects/bmon/ download it]&lt;br /&gt;
* [http://wiki.openwrt.org/doc/howto/bwmon iftop], [http://www.ex-parrot.com/pdw/iftop/ man page] - &amp;quot;iftop does for network usage what top(1) does for CPU usage. It listens to network traffic on a named interface and displays a table of current bandwidth usage by pairs of hosts.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== ubus ==&lt;br /&gt;
[http://wiki.openwrt.org/doc/techref/ubus OpenWrt micro bus architecture] - there is a Lua module for ubus...&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Bandwidth_Quotas&amp;diff=9252</id>
		<title>Mesh/Bandwidth Quotas</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Bandwidth_Quotas&amp;diff=9252"/>
		<updated>2015-02-20T07:52:42Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: Created page with &amp;quot;See Also:  Technical Documentation,   Monitoring  notes about bandwidth monitoring and quotas  The goal is to find a way...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]],  [[Mesh/monitoring | Monitoring]]&lt;br /&gt;
&lt;br /&gt;
notes about bandwidth monitoring and quotas&lt;br /&gt;
&lt;br /&gt;
The goal is to find a way to cap bandwidth usage, in and out.  The system can apportion the shareable bandwidth to a percentage of total bandwidth available. Here we research how this can be done.&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
== tc âˆ’ show / manipulate traffic control settings ==&lt;br /&gt;
Tc is used to configure Traffic Control in the Linux kernel.&lt;br /&gt;
* man page for tc: http://man.cx/tc&lt;br /&gt;
* Ixgr's setup using tc to fix bufferfloat: http://blog.lxgr.net/posts/2013/01/28/my-openwrt-setup/&lt;br /&gt;
&lt;br /&gt;
== monitoring ==&lt;br /&gt;
to track bandwidth we need a way to quantify it.  Here are some likely candidates:&lt;br /&gt;
&lt;br /&gt;
* [http://wiki.openwrt.org/doc/howto/bandwidthd bandwidthd] - very popular, but apparently it is resource heavy&lt;br /&gt;
* [http://wiki.openwrt.org/doc/howto/bwmon bmon] - [http://freecode.com/projects/bmon/ download it]&lt;br /&gt;
* [http://wiki.openwrt.org/doc/howto/bwmon iftop], [http://www.ex-parrot.com/pdw/iftop/ man page] - &amp;quot;iftop does for network usage what top(1) does for CPU usage. It listens to network traffic on a named interface and displays a table of current bandwidth usage by pairs of hosts.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== ubus ==&lt;br /&gt;
[http://wiki.openwrt.org/doc/techref/ubus OpenWrt micro bus architecture] - there is a Lua module for ubus...&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9251</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9251"/>
		<updated>2015-02-20T06:51:32Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]],  [[Mesh/Bandwidth Quotas | Bandwidth Quotas]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
== The Basics ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
=== The Hardware ===&lt;br /&gt;
Small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
&lt;br /&gt;
=== The Software ===&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
&lt;br /&gt;
=== Use It ===&lt;br /&gt;
&lt;br /&gt;
ssh to:&lt;br /&gt;
* monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
* 192.168.50.15&lt;br /&gt;
* login: sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
Icinga web UI:&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui (login: icingaadmin:mojave)&lt;br /&gt;
&lt;br /&gt;
Charting:&lt;br /&gt;
* Graphite - http://192.168.50.15/&lt;br /&gt;
* Grafana - http://192.168.50.15/grafana &lt;br /&gt;
* Mesh Charts - http://192.168.50.15/grafana/#/dashboard/db/sudomesh  (works best in firefox)&lt;br /&gt;
&lt;br /&gt;
Github repo: &lt;br /&gt;
* https://github.com/TinajaLabs/sudomesh_icinga&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Run nmap (09.18.2014) to see a list of hosts which we might want to monitor...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
 nmap -sn 192.168.50.0/24&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Access to remote hosts ==&lt;br /&gt;
Icinga can use various methods to monitor remote hosts, NRPE, SNMP, etc.&lt;br /&gt;
&lt;br /&gt;
=== IMCP ===&lt;br /&gt;
The ping service; for determining if the host is reachable&lt;br /&gt;
&lt;br /&gt;
=== SNMP ===&lt;br /&gt;
We will probably start off with simple SNMP monitoring.  It return very basic info but it does not require too much setup on the remote hosts.&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT Package: nrpe ===&lt;br /&gt;
NRPE requires a daemon running on the remote host and a number of mostly bash scripts for specialized info.  Bash scripts can be developed to read disk stats, memory usage, etc.  There are about 30 scripts which come with NRPE.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Alternative tools ==&lt;br /&gt;
&lt;br /&gt;
=== RRD ===&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
=== collectd ===&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sensu - Deprecated ===&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
'''Requires a client application service and not useful for our needs for monitoring mesh nodes...'''&lt;br /&gt;
&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
==== About Sensu - From Sensu site ====&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
* graphite admin:  http://192.168.50.15/admin - sudomesh:sudomesh&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&lt;br /&gt;
==== Sample live charts rendered from Graphite ====&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&amp;lt;br&amp;gt;Round trip average ping over the last 2 hours:&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/grafana/#/dashboard/db/sudomesh - works best in firefox...&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9250</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9250"/>
		<updated>2015-02-20T06:49:55Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]],  [[Mesh#Bandwidth Quotas | Bandwidth Quotas]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
== The Basics ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
=== The Hardware ===&lt;br /&gt;
Small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
&lt;br /&gt;
=== The Software ===&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
&lt;br /&gt;
=== Use It ===&lt;br /&gt;
&lt;br /&gt;
ssh to:&lt;br /&gt;
* monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
* 192.168.50.15&lt;br /&gt;
* login: sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
Icinga web UI:&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui (login: icingaadmin:mojave)&lt;br /&gt;
&lt;br /&gt;
Charting:&lt;br /&gt;
* Graphite - http://192.168.50.15/&lt;br /&gt;
* Grafana - http://192.168.50.15/grafana &lt;br /&gt;
* Mesh Charts - http://192.168.50.15/grafana/#/dashboard/db/sudomesh  (works best in firefox)&lt;br /&gt;
&lt;br /&gt;
Github repo: &lt;br /&gt;
* https://github.com/TinajaLabs/sudomesh_icinga&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Run nmap (09.18.2014) to see a list of hosts which we might want to monitor...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
 nmap -sn 192.168.50.0/24&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Access to remote hosts ==&lt;br /&gt;
Icinga can use various methods to monitor remote hosts, NRPE, SNMP, etc.&lt;br /&gt;
&lt;br /&gt;
=== IMCP ===&lt;br /&gt;
The ping service; for determining if the host is reachable&lt;br /&gt;
&lt;br /&gt;
=== SNMP ===&lt;br /&gt;
We will probably start off with simple SNMP monitoring.  It return very basic info but it does not require too much setup on the remote hosts.&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT Package: nrpe ===&lt;br /&gt;
NRPE requires a daemon running on the remote host and a number of mostly bash scripts for specialized info.  Bash scripts can be developed to read disk stats, memory usage, etc.  There are about 30 scripts which come with NRPE.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Alternative tools ==&lt;br /&gt;
&lt;br /&gt;
=== RRD ===&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
=== collectd ===&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sensu - Deprecated ===&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
'''Requires a client application service and not useful for our needs for monitoring mesh nodes...'''&lt;br /&gt;
&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
==== About Sensu - From Sensu site ====&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
* graphite admin:  http://192.168.50.15/admin - sudomesh:sudomesh&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&lt;br /&gt;
==== Sample live charts rendered from Graphite ====&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&amp;lt;br&amp;gt;Round trip average ping over the last 2 hours:&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/grafana/#/dashboard/db/sudomesh - works best in firefox...&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9249</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9249"/>
		<updated>2015-02-20T06:49:15Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]],  [Mesh#[Bandwidth Quotas | Bandwidth Quotas]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
== The Basics ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
=== The Hardware ===&lt;br /&gt;
Small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
&lt;br /&gt;
=== The Software ===&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
&lt;br /&gt;
=== Use It ===&lt;br /&gt;
&lt;br /&gt;
ssh to:&lt;br /&gt;
* monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
* 192.168.50.15&lt;br /&gt;
* login: sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
Icinga web UI:&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui (login: icingaadmin:mojave)&lt;br /&gt;
&lt;br /&gt;
Charting:&lt;br /&gt;
* Graphite - http://192.168.50.15/&lt;br /&gt;
* Grafana - http://192.168.50.15/grafana &lt;br /&gt;
* Mesh Charts - http://192.168.50.15/grafana/#/dashboard/db/sudomesh  (works best in firefox)&lt;br /&gt;
&lt;br /&gt;
Github repo: &lt;br /&gt;
* https://github.com/TinajaLabs/sudomesh_icinga&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Run nmap (09.18.2014) to see a list of hosts which we might want to monitor...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
 nmap -sn 192.168.50.0/24&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Access to remote hosts ==&lt;br /&gt;
Icinga can use various methods to monitor remote hosts, NRPE, SNMP, etc.&lt;br /&gt;
&lt;br /&gt;
=== IMCP ===&lt;br /&gt;
The ping service; for determining if the host is reachable&lt;br /&gt;
&lt;br /&gt;
=== SNMP ===&lt;br /&gt;
We will probably start off with simple SNMP monitoring.  It return very basic info but it does not require too much setup on the remote hosts.&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT Package: nrpe ===&lt;br /&gt;
NRPE requires a daemon running on the remote host and a number of mostly bash scripts for specialized info.  Bash scripts can be developed to read disk stats, memory usage, etc.  There are about 30 scripts which come with NRPE.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Alternative tools ==&lt;br /&gt;
&lt;br /&gt;
=== RRD ===&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
=== collectd ===&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sensu - Deprecated ===&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
'''Requires a client application service and not useful for our needs for monitoring mesh nodes...'''&lt;br /&gt;
&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
==== About Sensu - From Sensu site ====&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
* graphite admin:  http://192.168.50.15/admin - sudomesh:sudomesh&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&lt;br /&gt;
==== Sample live charts rendered from Graphite ====&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&amp;lt;br&amp;gt;Round trip average ping over the last 2 hours:&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/grafana/#/dashboard/db/sudomesh - works best in firefox...&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9069</id>
		<title>Rooftop Dish Antenna Mount</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9069"/>
		<updated>2014-12-18T08:41:52Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: &lt;br /&gt;
&lt;br /&gt;
notes about how to mount a dish antenna on a basic sloped-roof house.&lt;br /&gt;
&lt;br /&gt;
[[Category:Antenna]]&lt;br /&gt;
[[Category:Hardware]]&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The basic concept for this mounting is to provide a sturdy stand with minimum impact on the roof.  There is an attic air vent near the peak of the roof around which it will be possible to hang the assembly. A braided steel wire about 20' long should be sufficient.&lt;br /&gt;
&lt;br /&gt;
The design uses a 4x4 piece of 1/2&amp;quot; plywood with a 2' 2x4 standing straight up and braced with 1/4&amp;quot; plywood triangles.  The roof has an average slope at about 18 degrees so there are 3 cuts that must be made at that angle.&lt;br /&gt;
&lt;br /&gt;
There is a 2&amp;quot;x2&amp;quot; shelf on the bottom edge upon which it should be possible to place some bricks for a load to stabilize the platform.&lt;br /&gt;
&lt;br /&gt;
In the parts list, the 1.5&amp;quot; screws are meant for the braces and the 2&amp;quot; screws are meant to attach the base plate components.&lt;br /&gt;
&lt;br /&gt;
The dish is to be attached to a 2&amp;quot; conduit which should be attached to the 2x4 upright.  It will require 4 holes drilled into the 2x4 to accommodate 2 u-bolts.&lt;br /&gt;
&lt;br /&gt;
Apply wood glue liberally to all wood to wood connections.&lt;br /&gt;
&lt;br /&gt;
See the diagrams below.&lt;br /&gt;
&lt;br /&gt;
== Parts List ==&lt;br /&gt;
&lt;br /&gt;
# 1 x 2x4 board x 4' - $2.64&lt;br /&gt;
# 1 x 2x2 board x 4' - $1.94&lt;br /&gt;
# 1 x 4'x4' 1/2&amp;quot; plywood - $24.75&lt;br /&gt;
# 1 Box, 1 lb #8 1-3/4&amp;quot; Construction Screws, Star-tops - $7.94&lt;br /&gt;
# 24' braided cable - 3/32&amp;quot; thick - $7.20&lt;br /&gt;
# 3/32&amp;quot; Ferrule &amp;amp; Stop Set - aluminum cable clamps w/ stops - 2 sets of 2 - $2.74&lt;br /&gt;
# 1 x 24&amp;quot; x 1.5&amp;quot; PVC Pipe - $0.99&lt;br /&gt;
# 2 x 1.5&amp;quot;x5&amp;quot; U-bolts - $3.40&lt;br /&gt;
# Titebond II Premium Wood Glue - Water Resistant, Interior/Exterior - 16oz - $6.27&lt;br /&gt;
# Thompson's WaterSeal - Waterproofing Wood Protector - Wood Sealer - 1 Gallon - $14.97&lt;br /&gt;
&lt;br /&gt;
Cost Total: $80&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Diagrams ==&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-1.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Back view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-2.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Front view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-3.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Side view.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Mounting the platform ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:20141130 160516.jpg|thumb| left | 800px |Sudomesh dish mount with Oakland in the distance]]&lt;br /&gt;
&lt;br /&gt;
[[File:20141130 160446.jpg|thumb| left | 800px |Sudomesh dish with Richmond in the distance]]&lt;br /&gt;
&lt;br /&gt;
[[File:20141130 162952.jpg|thumb| left | 800px |Sudomesh dish mount showing the cable attached to attic vent.]]&lt;br /&gt;
&lt;br /&gt;
[[File:20141130 160500.jpg|thumb| left | 800px |Sudomesh dish mount and happy ethernet wire/RJ45 termination.]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9068</id>
		<title>Rooftop Dish Antenna Mount</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9068"/>
		<updated>2014-12-18T08:39:52Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: &lt;br /&gt;
&lt;br /&gt;
notes about how to mount a dish antenna on a basic sloped-roof house.&lt;br /&gt;
&lt;br /&gt;
[[Category:Antenna]]&lt;br /&gt;
[[Category:Hardware]]&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The basic concept for this mounting is to provide a sturdy stand with minimum impact on the roof.  There is an attic air vent near the peak of the roof around which it will be possible to hang the assembly. A braided steel wire about 20' long should be sufficient.&lt;br /&gt;
&lt;br /&gt;
The design uses a 4x4 piece of 1/2&amp;quot; plywood with a 2' 2x4 standing straight up and braced with 1/4&amp;quot; plywood triangles.  The roof has an average slope at about 18 degrees so there are 3 cuts that must be made at that angle.&lt;br /&gt;
&lt;br /&gt;
There is a 2&amp;quot;x2&amp;quot; shelf on the bottom edge upon which it should be possible to place some bricks for a load to stabilize the platform.&lt;br /&gt;
&lt;br /&gt;
In the parts list, the 1.5&amp;quot; screws are meant for the braces and the 2&amp;quot; screws are meant to attach the base plate components.&lt;br /&gt;
&lt;br /&gt;
The dish is to be attached to a 2&amp;quot; conduit which should be attached to the 2x4 upright.  It will require 4 holes drilled into the 2x4 to accommodate 2 u-bolts.&lt;br /&gt;
&lt;br /&gt;
Apply wood glue liberally to all wood to wood connections.&lt;br /&gt;
&lt;br /&gt;
See the diagrams below.&lt;br /&gt;
&lt;br /&gt;
== Parts List ==&lt;br /&gt;
&lt;br /&gt;
# 1 x 2x4 board x 4' - $2.64&lt;br /&gt;
# 1 x 2x2 board x 4' - $1.94&lt;br /&gt;
# 1 x 4'x4' 1/2&amp;quot; plywood - $24.75&lt;br /&gt;
# 1 Box, 1 lb #8 1-3/4&amp;quot; Construction Screws, Star-tops - $7.94&lt;br /&gt;
# 24' braided cable - 3/32&amp;quot; thick - $7.20&lt;br /&gt;
# 3/32&amp;quot; Ferrule &amp;amp; Stop Set - aluminum cable clamps w/ stops - 2 sets of 2 - $2.74&lt;br /&gt;
# 1 x 24&amp;quot; x 1.5&amp;quot; PVC Pipe - $0.99&lt;br /&gt;
# 2 x 1.5&amp;quot;x5&amp;quot; U-bolts - $3.40&lt;br /&gt;
# Titebond II Premium Wood Glue - Water Resistant, Interior/Exterior - 16oz - $6.27&lt;br /&gt;
# Thompson's WaterSeal - Waterproofing Wood Protector - Wood Sealer - 1 Gallon - $14.97&lt;br /&gt;
&lt;br /&gt;
Cost Total: $80&lt;br /&gt;
&lt;br /&gt;
== Diagrams ==&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-1.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Back view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-2.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Front view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-3.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Side view.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mounting the platform ==&lt;br /&gt;
&lt;br /&gt;
[[File:20141130 160516.jpg|thumb| left | 800px |Sudomesh dish mount with Oakland in the distance]]&lt;br /&gt;
&lt;br /&gt;
[[File:20141130 160446.jpg|thumb| left | 800px |Sudomesh dish with Richmond in the distance]]&lt;br /&gt;
&lt;br /&gt;
[[File:20141130 162952.jpg|thumb| left | 800px |Sudomesh dish mount showing the cable attached to attic vent.]]&lt;br /&gt;
&lt;br /&gt;
[[File:20141130 160500.jpg|thumb| left | 800px |Sudomesh dish mount and happy ethernet wire/RJ45 termination.]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9067</id>
		<title>Rooftop Dish Antenna Mount</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9067"/>
		<updated>2014-12-18T08:37:40Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: &lt;br /&gt;
&lt;br /&gt;
notes about how to mount a dish antenna on a basic sloped-roof house.&lt;br /&gt;
&lt;br /&gt;
[[Category:Antenna]]&lt;br /&gt;
[[Category:Hardware]]&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The basic concept for this mounting is to provide a sturdy stand with minimum impact on the roof.  There is an attic air vent near the peak of the roof around which it will be possible to hang the assembly. A braided steel wire about 20' long should be sufficient.&lt;br /&gt;
&lt;br /&gt;
The design uses a 4x4 piece of 1/2&amp;quot; plywood with a 2' 2x4 standing straight up and braced with 1/4&amp;quot; plywood triangles.  The roof has an average slope at about 18 degrees so there are 3 cuts that must be made at that angle.&lt;br /&gt;
&lt;br /&gt;
There is a 2&amp;quot;x2&amp;quot; shelf on the bottom edge upon which it should be possible to place some bricks for a load to stabilize the platform.&lt;br /&gt;
&lt;br /&gt;
In the parts list, the 1.5&amp;quot; screws are meant for the braces and the 2&amp;quot; screws are meant to attach the base plate components.&lt;br /&gt;
&lt;br /&gt;
The dish is to be attached to a 2&amp;quot; conduit which should be attached to the 2x4 upright.  It will require 4 holes drilled into the 2x4 to accommodate 2 u-bolts.&lt;br /&gt;
&lt;br /&gt;
Apply wood glue liberally to all wood to wood connections.&lt;br /&gt;
&lt;br /&gt;
See the diagrams below.&lt;br /&gt;
&lt;br /&gt;
== Parts List ==&lt;br /&gt;
&lt;br /&gt;
# 1 x 2x4 board x 4' - $2.64&lt;br /&gt;
# 1 x 2x2 board x 4' - $1.94&lt;br /&gt;
# 1 x 4'x4' 1/2&amp;quot; plywood - $24.75&lt;br /&gt;
# 1 Box, 1 lb #8 1-3/4&amp;quot; Construction Screws, Star-tops - $7.94&lt;br /&gt;
# 24' braided cable - 3/32&amp;quot; thick - $7.20&lt;br /&gt;
# 3/32&amp;quot; Ferrule &amp;amp; Stop Set - aluminum cable clamps w/ stops - 2 sets of 2 - $2.74&lt;br /&gt;
# 1 x 24&amp;quot; x 1.5&amp;quot; PVC Pipe - $0.99&lt;br /&gt;
# 2 x 1.5&amp;quot;x5&amp;quot; U-bolts - $3.40&lt;br /&gt;
# Titebond II Premium Wood Glue - Water Resistant, Interior/Exterior - 16oz - $6.27&lt;br /&gt;
# Thompson's WaterSeal - Waterproofing Wood Protector - Wood Sealer - 1 Gallon - $14.97&lt;br /&gt;
&lt;br /&gt;
Cost Total: $80&lt;br /&gt;
&lt;br /&gt;
== Diagrams ==&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-1.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Back view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-2.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Front view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-3.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Side view.]]&lt;br /&gt;
&lt;br /&gt;
== Mounting the platform ==&lt;br /&gt;
&lt;br /&gt;
[[File:20141130 160516.jpg|thumb| left | 800px |Sudomesh dish mount with Oakland in the distance]]&lt;br /&gt;
&lt;br /&gt;
[[File:20141130 160446.jpg|thumb| left | 800px |Sudomesh dish with Richmond in the distance]]&lt;br /&gt;
&lt;br /&gt;
[[File:20141130 162952.jpg|thumb| left | 800px |Sudomesh dish mount showing the cable attached to attic vent.]]&lt;br /&gt;
&lt;br /&gt;
[[File:20141130 160500.jpg|thumb| left | 800px |Sudomesh dish mount and happy ethernet wire/RJ45 termination.]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9066</id>
		<title>Rooftop Dish Antenna Mount</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9066"/>
		<updated>2014-12-18T08:35:20Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: &lt;br /&gt;
&lt;br /&gt;
notes about how to mount a dish antenna on a basic sloped-roof house.&lt;br /&gt;
&lt;br /&gt;
[[Category:Antenna]]&lt;br /&gt;
[[Category:Hardware]]&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The basic concept for this mounting is to provide a sturdy stand with minimum impact on the roof.  There is an attic air vent near the peak of the roof around which it will be possible to hang the assembly. A braided steel wire about 20' long should be sufficient.&lt;br /&gt;
&lt;br /&gt;
The design uses a 4x4 piece of 1/2&amp;quot; plywood with a 2' 2x4 standing straight up and braced with 1/4&amp;quot; plywood triangles.  The roof has an average slope at about 18 degrees so there are 3 cuts that must be made at that angle.&lt;br /&gt;
&lt;br /&gt;
There is a 2&amp;quot;x2&amp;quot; shelf on the bottom edge upon which it should be possible to place some bricks for a load to stabilize the platform.&lt;br /&gt;
&lt;br /&gt;
In the parts list, the 1.5&amp;quot; screws are meant for the braces and the 2&amp;quot; screws are meant to attach the base plate components.&lt;br /&gt;
&lt;br /&gt;
The dish is to be attached to a 2&amp;quot; conduit which should be attached to the 2x4 upright.  It will require 4 holes drilled into the 2x4 to accommodate 2 u-bolts.&lt;br /&gt;
&lt;br /&gt;
Apply wood glue liberally to all wood to wood connections.&lt;br /&gt;
&lt;br /&gt;
See the diagrams below.&lt;br /&gt;
&lt;br /&gt;
== Parts List ==&lt;br /&gt;
&lt;br /&gt;
# 1 x 2x4 board x 4' - $2.64&lt;br /&gt;
# 1 x 2x2 board x 4' - $1.94&lt;br /&gt;
# 1 x 4'x4' 1/2&amp;quot; plywood - $24.75&lt;br /&gt;
# 1 Box, 1 lb #8 1-3/4&amp;quot; Construction Screws, Star-tops - $7.94&lt;br /&gt;
# 24' braided cable - 3/32&amp;quot; thick - $7.20&lt;br /&gt;
# 3/32&amp;quot; Ferrule &amp;amp; Stop Set - aluminum cable clamps w/ stops - 2 sets of 2 - $2.74&lt;br /&gt;
# 1 x 24&amp;quot; x 1.5&amp;quot; PVC Pipe - $0.99&lt;br /&gt;
# 2 x 1.5&amp;quot;x5&amp;quot; U-bolts - $3.40&lt;br /&gt;
# Titebond II Premium Wood Glue - Water Resistant, Interior/Exterior - 16oz - $6.27&lt;br /&gt;
# Thompson's WaterSeal - Waterproofing Wood Protector - Wood Sealer - 1 Gallon - $14.97&lt;br /&gt;
&lt;br /&gt;
Cost Total: $80&lt;br /&gt;
&lt;br /&gt;
== Diagrams ==&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-1.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Back view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-2.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Front view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-3.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Side view.]]&lt;br /&gt;
&lt;br /&gt;
== Mounting the platform ==&lt;br /&gt;
&lt;br /&gt;
[[File:20141130 160516.jpg|thumb| left | 800px |Sudomesh dish mount with Oakland in the distance]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=File:20141130_160500.jpg&amp;diff=9065</id>
		<title>File:20141130 160500.jpg</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=File:20141130_160500.jpg&amp;diff=9065"/>
		<updated>2014-12-18T08:31:49Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: User created page with UploadWizard&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=={{int:filedesc}}==&lt;br /&gt;
{{Information&lt;br /&gt;
|description={{tn|1=Sudomesh dish mount and happy ethernet wire/RJ45 termination.}}&lt;br /&gt;
|date=2014-11-30 16:05:00&lt;br /&gt;
|source={{own}}&lt;br /&gt;
|author=[[User:Chrisjx|Chrisjx]]&lt;br /&gt;
|permission=&lt;br /&gt;
|other_versions=&lt;br /&gt;
|other_fields=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=={{int:license-header}}==&lt;br /&gt;
{{self|cc-by-sa-3.0}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Uploaded with UploadWizard]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=File:20141130_162952.jpg&amp;diff=9064</id>
		<title>File:20141130 162952.jpg</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=File:20141130_162952.jpg&amp;diff=9064"/>
		<updated>2014-12-18T08:31:48Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: User created page with UploadWizard&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=={{int:filedesc}}==&lt;br /&gt;
{{Information&lt;br /&gt;
|description={{tn|1=Sudomesh dish mount showing the cable attached to attic vent.}}&lt;br /&gt;
|date=2014-11-30 16:29:51&lt;br /&gt;
|source={{own}}&lt;br /&gt;
|author=[[User:Chrisjx|Chrisjx]]&lt;br /&gt;
|permission=&lt;br /&gt;
|other_versions=&lt;br /&gt;
|other_fields=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=={{int:license-header}}==&lt;br /&gt;
{{self|cc-by-sa-3.0}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Uploaded with UploadWizard]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=File:20141130_160446.jpg&amp;diff=9063</id>
		<title>File:20141130 160446.jpg</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=File:20141130_160446.jpg&amp;diff=9063"/>
		<updated>2014-12-18T08:31:46Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: User created page with UploadWizard&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=={{int:filedesc}}==&lt;br /&gt;
{{Information&lt;br /&gt;
|description={{tn|1=Sudomesh dish with Richmond in the distance}}&lt;br /&gt;
|date=2014-11-30 16:04:46&lt;br /&gt;
|source={{own}}&lt;br /&gt;
|author=[[User:Chrisjx|Chrisjx]]&lt;br /&gt;
|permission=&lt;br /&gt;
|other_versions=&lt;br /&gt;
|other_fields=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=={{int:license-header}}==&lt;br /&gt;
{{self|cc-by-sa-3.0}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Uploaded with UploadWizard]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=File:20141130_160516.jpg&amp;diff=9062</id>
		<title>File:20141130 160516.jpg</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=File:20141130_160516.jpg&amp;diff=9062"/>
		<updated>2014-12-18T08:31:44Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: User created page with UploadWizard&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=={{int:filedesc}}==&lt;br /&gt;
{{Information&lt;br /&gt;
|description={{tn|1=Sudomesh dish mount with Oakland in the distance}}&lt;br /&gt;
|date=2014-11-30 16:05:16&lt;br /&gt;
|source={{own}}&lt;br /&gt;
|author=[[User:Chrisjx|Chrisjx]]&lt;br /&gt;
|permission=&lt;br /&gt;
|other_versions=&lt;br /&gt;
|other_fields=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=={{int:license-header}}==&lt;br /&gt;
{{self|cc-by-sa-3.0}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Uploaded with UploadWizard]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9049</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9049"/>
		<updated>2014-12-05T08:18:00Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Use It */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
== The Basics ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
=== The Hardware ===&lt;br /&gt;
Small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
&lt;br /&gt;
=== The Software ===&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
&lt;br /&gt;
=== Use It ===&lt;br /&gt;
&lt;br /&gt;
ssh to:&lt;br /&gt;
* monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
* 192.168.50.15&lt;br /&gt;
* login: sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
Icinga web UI:&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui (login: icingaadmin:mojave)&lt;br /&gt;
&lt;br /&gt;
Charting:&lt;br /&gt;
* Graphite - http://192.168.50.15/&lt;br /&gt;
* Grafana - http://192.168.50.15/grafana &lt;br /&gt;
* Mesh Charts - http://192.168.50.15/grafana/#/dashboard/db/sudomesh  (works best in firefox)&lt;br /&gt;
&lt;br /&gt;
Github repo: &lt;br /&gt;
* https://github.com/TinajaLabs/sudomesh_icinga&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Run nmap (09.18.2014) to see a list of hosts which we might want to monitor...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
 nmap -sn 192.168.50.0/24&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Access to remote hosts ==&lt;br /&gt;
Icinga can use various methods to monitor remote hosts, NRPE, SNMP, etc.&lt;br /&gt;
&lt;br /&gt;
=== IMCP ===&lt;br /&gt;
The ping service; for determining if the host is reachable&lt;br /&gt;
&lt;br /&gt;
=== SNMP ===&lt;br /&gt;
We will probably start off with simple SNMP monitoring.  It return very basic info but it does not require too much setup on the remote hosts.&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT Package: nrpe ===&lt;br /&gt;
NRPE requires a daemon running on the remote host and a number of mostly bash scripts for specialized info.  Bash scripts can be developed to read disk stats, memory usage, etc.  There are about 30 scripts which come with NRPE.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Alternative tools ==&lt;br /&gt;
&lt;br /&gt;
=== RRD ===&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
=== collectd ===&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sensu - Deprecated ===&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
'''Requires a client application service and not useful for our needs for monitoring mesh nodes...'''&lt;br /&gt;
&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
==== About Sensu - From Sensu site ====&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
* graphite admin:  http://192.168.50.15/admin - sudomesh:sudomesh&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&lt;br /&gt;
==== Sample live charts rendered from Graphite ====&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&amp;lt;br&amp;gt;Round trip average ping over the last 2 hours:&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/grafana/#/dashboard/db/sudomesh - works best in firefox...&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9048</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9048"/>
		<updated>2014-12-05T08:14:09Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Use It */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
== The Basics ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
=== The Hardware ===&lt;br /&gt;
Small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
&lt;br /&gt;
=== The Software ===&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
&lt;br /&gt;
=== Use It ===&lt;br /&gt;
&lt;br /&gt;
ssh to:&lt;br /&gt;
* monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
* 192.168.50.15&lt;br /&gt;
* login: sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
Icinga:&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui - icinga web ui&lt;br /&gt;
&lt;br /&gt;
Charting:&lt;br /&gt;
* http://192.168.50.15/ - graphite web ui&lt;br /&gt;
* http://192.168.50.15/grafana  - better dashboard charts&lt;br /&gt;
* http://192.168.50.15/grafana/#/dashboard/db/sudomesh  -works best in firefox...&lt;br /&gt;
&lt;br /&gt;
github repo: &lt;br /&gt;
* https://github.com/TinajaLabs/sudomesh_icinga&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Run nmap (09.18.2014) to see a list of hosts which we might want to monitor...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
 nmap -sn 192.168.50.0/24&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Access to remote hosts ==&lt;br /&gt;
Icinga can use various methods to monitor remote hosts, NRPE, SNMP, etc.&lt;br /&gt;
&lt;br /&gt;
=== IMCP ===&lt;br /&gt;
The ping service; for determining if the host is reachable&lt;br /&gt;
&lt;br /&gt;
=== SNMP ===&lt;br /&gt;
We will probably start off with simple SNMP monitoring.  It return very basic info but it does not require too much setup on the remote hosts.&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT Package: nrpe ===&lt;br /&gt;
NRPE requires a daemon running on the remote host and a number of mostly bash scripts for specialized info.  Bash scripts can be developed to read disk stats, memory usage, etc.  There are about 30 scripts which come with NRPE.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Alternative tools ==&lt;br /&gt;
&lt;br /&gt;
=== RRD ===&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
=== collectd ===&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sensu - Deprecated ===&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
'''Requires a client application service and not useful for our needs for monitoring mesh nodes...'''&lt;br /&gt;
&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
==== About Sensu - From Sensu site ====&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
* graphite admin:  http://192.168.50.15/admin - sudomesh:sudomesh&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&lt;br /&gt;
==== Sample live charts rendered from Graphite ====&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&amp;lt;br&amp;gt;Round trip average ping over the last 2 hours:&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/grafana/#/dashboard/db/sudomesh - works best in firefox...&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9047</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9047"/>
		<updated>2014-12-05T08:10:20Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
== The Basics ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
=== The Hardware ===&lt;br /&gt;
Small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
&lt;br /&gt;
=== The Software ===&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
&lt;br /&gt;
=== Use It ===&lt;br /&gt;
&lt;br /&gt;
ssh to:&lt;br /&gt;
* monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
* 192.168.50.15&lt;br /&gt;
* login: sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
Icinga:&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui - icinga web ui&lt;br /&gt;
* http://192.168.50.15/ - graphite web ui&lt;br /&gt;
&lt;br /&gt;
github repo: &lt;br /&gt;
* https://github.com/TinajaLabs/sudomesh_icinga&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Run nmap (09.18.2014) to see a list of hosts which we might want to monitor...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
 nmap -sn 192.168.50.0/24&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Access to remote hosts ==&lt;br /&gt;
Icinga can use various methods to monitor remote hosts, NRPE, SNMP, etc.&lt;br /&gt;
&lt;br /&gt;
=== IMCP ===&lt;br /&gt;
The ping service; for determining if the host is reachable&lt;br /&gt;
&lt;br /&gt;
=== SNMP ===&lt;br /&gt;
We will probably start off with simple SNMP monitoring.  It return very basic info but it does not require too much setup on the remote hosts.&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT Package: nrpe ===&lt;br /&gt;
NRPE requires a daemon running on the remote host and a number of mostly bash scripts for specialized info.  Bash scripts can be developed to read disk stats, memory usage, etc.  There are about 30 scripts which come with NRPE.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Alternative tools ==&lt;br /&gt;
&lt;br /&gt;
=== RRD ===&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
=== collectd ===&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sensu - Deprecated ===&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
'''Requires a client application service and not useful for our needs for monitoring mesh nodes...'''&lt;br /&gt;
&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
==== About Sensu - From Sensu site ====&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
* graphite admin:  http://192.168.50.15/admin - sudomesh:sudomesh&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&lt;br /&gt;
==== Sample live charts rendered from Graphite ====&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&amp;lt;br&amp;gt;Round trip average ping over the last 2 hours:&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/grafana/#/dashboard/db/sudomesh - works best in firefox...&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9046</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9046"/>
		<updated>2014-12-05T08:04:15Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* OpenWRT Package: nrpe */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
== The Basics ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
=== The Hardware ===&lt;br /&gt;
Small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
&lt;br /&gt;
=== The Software ===&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
&lt;br /&gt;
=== Use It ===&lt;br /&gt;
&lt;br /&gt;
ssh to:&lt;br /&gt;
* monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
* 192.168.50.15&lt;br /&gt;
* login: sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
Icinga:&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui - icinga web ui&lt;br /&gt;
* http://192.168.50.15/ - graphite web ui&lt;br /&gt;
&lt;br /&gt;
github repo: &lt;br /&gt;
* https://github.com/TinajaLabs/sudomesh_icinga&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Run nmap (09.18.2014) to see a list of hosts which we might want to monitor...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
 nmap -sn 192.168.50.0/24&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== RRD ==&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== collectd ==&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [[http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Access to remote hosts ==&lt;br /&gt;
Icinga can use various methods to monitor remote hosts, NRPE, SNMP, etc.&lt;br /&gt;
&lt;br /&gt;
=== IMCP ===&lt;br /&gt;
The ping service; for determining if the host is reachable&lt;br /&gt;
&lt;br /&gt;
=== SNMP ===&lt;br /&gt;
We will probably start off with simple SNMP monitoring.  It return very basic info but it does not require too much setup on the remote hosts.&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT Package: nrpe ===&lt;br /&gt;
NRPE requires a daemon running on the remote host and a number of mostly bash scripts for specialized info.  Bash scripts can be developed to read disk stats, memory usage, etc.  There are about 30 scripts which come with NRPE.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
== Sensu - Deprecated ==&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
Requires a client application service and not useful for our needs for monitoring mesh nodes...&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
=== About Sensu - From Sensu site ===&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
* graphite admin:  http://192.168.50.15/admin - sudomesh:sudomesh&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&lt;br /&gt;
==== Sample live charts rendered from Graphite ====&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&amp;lt;br&amp;gt;Round trip average ping over the last 2 hours:&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/grafana/#/dashboard/db/sudomesh - works best in firefox...&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9045</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9045"/>
		<updated>2014-12-05T07:56:36Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Charting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
== The Basics ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
=== The Hardware ===&lt;br /&gt;
Small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
&lt;br /&gt;
=== The Software ===&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
&lt;br /&gt;
=== Use It ===&lt;br /&gt;
&lt;br /&gt;
ssh to:&lt;br /&gt;
* monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
* 192.168.50.15&lt;br /&gt;
* login: sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
Icinga:&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui - icinga web ui&lt;br /&gt;
* http://192.168.50.15/ - graphite web ui&lt;br /&gt;
&lt;br /&gt;
github repo: &lt;br /&gt;
* https://github.com/TinajaLabs/sudomesh_icinga&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Run nmap (09.18.2014) to see a list of hosts which we might want to monitor...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
 nmap -sn 192.168.50.0/24&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== RRD ==&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== collectd ==&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [[http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== OpenWRT Package: nrpe ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
== Sensu - Deprecated ==&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
Requires a client application service and not useful for our needs for monitoring mesh nodes...&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
=== About Sensu - From Sensu site ===&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
* graphite admin:  http://192.168.50.15/admin - sudomesh:sudomesh&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&lt;br /&gt;
==== Sample live charts rendered from Graphite ====&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&amp;lt;br&amp;gt;Round trip average ping over the last 2 hours:&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/grafana/#/dashboard/db/sudomesh - works best in firefox...&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9044</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9044"/>
		<updated>2014-12-05T07:53:07Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Monitoring Server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
== The Basics ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
=== The Hardware ===&lt;br /&gt;
Small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
&lt;br /&gt;
=== The Software ===&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
&lt;br /&gt;
=== Use It ===&lt;br /&gt;
&lt;br /&gt;
ssh to:&lt;br /&gt;
* monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
* 192.168.50.15&lt;br /&gt;
* login: sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
Icinga:&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui - icinga web ui&lt;br /&gt;
* http://192.168.50.15/ - graphite web ui&lt;br /&gt;
&lt;br /&gt;
github repo: &lt;br /&gt;
* https://github.com/TinajaLabs/sudomesh_icinga&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Run nmap (09.18.2014) to see a list of hosts which we might want to monitor...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
 nmap -sn 192.168.50.0/24&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== RRD ==&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== collectd ==&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [[http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== OpenWRT Package: nrpe ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
== Sensu - Deprecated ==&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
Requires a client application service and not useful for our needs for monitoring mesh nodes...&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
=== About Sensu - From Sensu site ===&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
* graphite admin:  http://192.168.50.15/admin - sudomesh:sudomesh&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&lt;br /&gt;
==== Sample live charts rendered from Graphite ====&lt;br /&gt;
&lt;br /&gt;
Round trip average ping over the last 2 hours:&amp;lt;br&amp;gt;&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/grafana/#/dashboard/db/sudomesh - works best in firefox...&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9043</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9043"/>
		<updated>2014-12-05T07:39:06Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
== Monitoring Server ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
Installed on small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
* Access:&lt;br /&gt;
** monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
** on 09.18.2014 - 192.168.50.15&lt;br /&gt;
** login sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui - icinga web ui&lt;br /&gt;
* http://192.168.50.15/ - graphite web ui&lt;br /&gt;
&lt;br /&gt;
* github repo: https://github.com/TinajaLabs/sudomesh_icinga&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Run nmap (09.18.2014) to see a list of hosts which we might want to monitor...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
 nmap -sn 192.168.50.0/24&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== RRD ==&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== collectd ==&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [[http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== OpenWRT Package: nrpe ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
== Sensu - Deprecated ==&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
Requires a client application service and not useful for our needs for monitoring mesh nodes...&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
=== About Sensu - From Sensu site ===&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
* graphite admin:  http://192.168.50.15/admin - sudomesh:sudomesh&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&lt;br /&gt;
==== Sample live charts rendered from Graphite ====&lt;br /&gt;
&lt;br /&gt;
Round trip average ping over the last 2 hours:&amp;lt;br&amp;gt;&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/grafana/#/dashboard/db/sudomesh - works best in firefox...&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9042</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9042"/>
		<updated>2014-12-05T07:36:55Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
== Monitoring Server ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
Installed on small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
* Access:&lt;br /&gt;
** monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
** on 09.18.2014 - 192.168.50.15&lt;br /&gt;
** login sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui - icinga web ui&lt;br /&gt;
* http://192.168.50.15/ - graphite web ui&lt;br /&gt;
&lt;br /&gt;
* github repo: https://github.com/TinajaLabs/sudomesh_icinga&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Run nmap (09.18.2014) to see a list of hosts which we might want to monitor...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
 nmap -sn 192.168.50.0/24&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== RRD ==&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== collectd ==&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
== Sensu - Deprecated ==&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
Requires a client application service and not useful for our needs for monitoring mesh nodes...&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [[http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== OpenWRT Package: nrpe ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
== About Sensu - From Sensu site ==&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
* graphite admin:  http://192.168.50.15/admin - sudomesh:sudomesh&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&lt;br /&gt;
==== Sample live charts rendered from Graphite ====&lt;br /&gt;
&lt;br /&gt;
Round trip average ping over the last 2 hours:&amp;lt;br&amp;gt;&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/grafana/#/dashboard/db/sudomesh - works best in firefox...&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9041</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9041"/>
		<updated>2014-12-05T07:30:15Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Sensu - Deprecated */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
Max has been working on monitoring statistics from with the wifi router using collectd and RRD.&lt;br /&gt;
&lt;br /&gt;
Max discussed with ChrisJ about system wide monitoring...  recommends Icinga. &lt;br /&gt;
&lt;br /&gt;
== Monitoring Server ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
Installed on small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
* Access:&lt;br /&gt;
** monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
** on 09.18.2014 - 192.168.50.15&lt;br /&gt;
** login sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui - icinga web ui&lt;br /&gt;
* http://192.168.50.15/ - graphite web ui&lt;br /&gt;
&lt;br /&gt;
* github repo: https://github.com/TinajaLabs/sudomesh_icinga&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Running nmap (09.18.2014) to see if I can find a list of hosts which we might want to be monitored...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cjefferies$ nmap -sn 192.168.50.0/24&lt;br /&gt;
Starting Nmap 6.46 ( http://nmap.org ) at 2014-09-18 22:04 PDT&lt;br /&gt;
Nmap scan report for 192.168.50.6&lt;br /&gt;
Host is up (0.099s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.15&lt;br /&gt;
Host is up (0.062s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.20&lt;br /&gt;
Host is up (0.063s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.39&lt;br /&gt;
Host is up (0.13s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.49&lt;br /&gt;
Host is up (0.087s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.60&lt;br /&gt;
Host is up (0.011s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.61&lt;br /&gt;
Host is up (0.022s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.86&lt;br /&gt;
Host is up (0.034s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.87&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.88&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.100&lt;br /&gt;
Host is up (0.00025s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.101&lt;br /&gt;
Host is up (0.096s latency).&lt;br /&gt;
Nmap done: 256 IP addresses (12 hosts up) scanned in 23.23 seconds&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== RRD ==&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== collectd ==&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
== Sensu - Deprecated ==&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
Requires a client application service and not useful for our needs for monitoring mesh nodes...&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
=== About Sensu - From Sensu site ===&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [[http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT Package: nrpe ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
* graphite admin:  http://192.168.50.15/admin - sudomesh:sudomesh&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&lt;br /&gt;
==== Sample live charts rendered from Graphite ====&lt;br /&gt;
&lt;br /&gt;
Round trip average ping over the last 2 hours:&amp;lt;br&amp;gt;&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/grafana/#/dashboard/db/sudomesh - works best in firefox...&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9040</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9040"/>
		<updated>2014-12-05T07:28:59Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Monitoring Server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
Max has been working on monitoring statistics from with the wifi router using collectd and RRD.&lt;br /&gt;
&lt;br /&gt;
Max discussed with ChrisJ about system wide monitoring...  recommends Icinga. &lt;br /&gt;
&lt;br /&gt;
== Monitoring Server ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
Installed on small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
* Access:&lt;br /&gt;
** monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
** on 09.18.2014 - 192.168.50.15&lt;br /&gt;
** login sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui - icinga web ui&lt;br /&gt;
* http://192.168.50.15/ - graphite web ui&lt;br /&gt;
&lt;br /&gt;
* github repo: https://github.com/TinajaLabs/sudomesh_icinga&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Running nmap (09.18.2014) to see if I can find a list of hosts which we might want to be monitored...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cjefferies$ nmap -sn 192.168.50.0/24&lt;br /&gt;
Starting Nmap 6.46 ( http://nmap.org ) at 2014-09-18 22:04 PDT&lt;br /&gt;
Nmap scan report for 192.168.50.6&lt;br /&gt;
Host is up (0.099s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.15&lt;br /&gt;
Host is up (0.062s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.20&lt;br /&gt;
Host is up (0.063s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.39&lt;br /&gt;
Host is up (0.13s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.49&lt;br /&gt;
Host is up (0.087s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.60&lt;br /&gt;
Host is up (0.011s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.61&lt;br /&gt;
Host is up (0.022s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.86&lt;br /&gt;
Host is up (0.034s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.87&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.88&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.100&lt;br /&gt;
Host is up (0.00025s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.101&lt;br /&gt;
Host is up (0.096s latency).&lt;br /&gt;
Nmap done: 256 IP addresses (12 hosts up) scanned in 23.23 seconds&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== RRD ==&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== collectd ==&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
== Sensu - Deprecated ==&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
=== About Sensu - From Sensu site ===&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [[http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT Package: nrpe ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
* graphite admin:  http://192.168.50.15/admin - sudomesh:sudomesh&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&lt;br /&gt;
==== Sample live charts rendered from Graphite ====&lt;br /&gt;
&lt;br /&gt;
Round trip average ping over the last 2 hours:&amp;lt;br&amp;gt;&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/grafana/#/dashboard/db/sudomesh - works best in firefox...&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9039</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9039"/>
		<updated>2014-12-05T05:11:28Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Sample live charts rendered from Graphite */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
Max has been working on monitoring statistics from with the wifi router using collectd and RRD.&lt;br /&gt;
&lt;br /&gt;
Max discussed with ChrisJ about system wide monitoring...  recommends Icinga. &lt;br /&gt;
&lt;br /&gt;
== Monitoring Server ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
Installed on small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
* Access:&lt;br /&gt;
** monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
** on 09.18.2014 - 192.168.50.15&lt;br /&gt;
** login sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui - icinga web ui&lt;br /&gt;
* http://192.168.50.15/ - graphite web ui&lt;br /&gt;
&lt;br /&gt;
* github repo: not yet. soon.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Sensu: Depricated  - requires a client application service and not useful for our needs for monitoring mesh nodes...&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Running nmap (09.18.2014) to see if I can find a list of hosts which we might want to be monitored...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cjefferies$ nmap -sn 192.168.50.0/24&lt;br /&gt;
Starting Nmap 6.46 ( http://nmap.org ) at 2014-09-18 22:04 PDT&lt;br /&gt;
Nmap scan report for 192.168.50.6&lt;br /&gt;
Host is up (0.099s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.15&lt;br /&gt;
Host is up (0.062s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.20&lt;br /&gt;
Host is up (0.063s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.39&lt;br /&gt;
Host is up (0.13s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.49&lt;br /&gt;
Host is up (0.087s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.60&lt;br /&gt;
Host is up (0.011s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.61&lt;br /&gt;
Host is up (0.022s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.86&lt;br /&gt;
Host is up (0.034s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.87&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.88&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.100&lt;br /&gt;
Host is up (0.00025s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.101&lt;br /&gt;
Host is up (0.096s latency).&lt;br /&gt;
Nmap done: 256 IP addresses (12 hosts up) scanned in 23.23 seconds&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== RRD ==&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== collectd ==&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
== Sensu - Deprecated ==&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
=== About Sensu - From Sensu site ===&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [[http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT Package: nrpe ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
* graphite admin:  http://192.168.50.15/admin - sudomesh:sudomesh&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&lt;br /&gt;
==== Sample live charts rendered from Graphite ====&lt;br /&gt;
&lt;br /&gt;
Round trip average ping over the last 2 hours:&amp;lt;br&amp;gt;&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/grafana/#/dashboard/db/sudomesh - works best in firefox...&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9038</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=9038"/>
		<updated>2014-12-05T05:10:08Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Sample charts rendered from Graphite */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
Max has been working on monitoring statistics from with the wifi router using collectd and RRD.&lt;br /&gt;
&lt;br /&gt;
Max discussed with ChrisJ about system wide monitoring...  recommends Icinga. &lt;br /&gt;
&lt;br /&gt;
== Monitoring Server ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
Installed on small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
* Access:&lt;br /&gt;
** monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
** on 09.18.2014 - 192.168.50.15&lt;br /&gt;
** login sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui - icinga web ui&lt;br /&gt;
* http://192.168.50.15/ - graphite web ui&lt;br /&gt;
&lt;br /&gt;
* github repo: not yet. soon.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Sensu: Depricated  - requires a client application service and not useful for our needs for monitoring mesh nodes...&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Running nmap (09.18.2014) to see if I can find a list of hosts which we might want to be monitored...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cjefferies$ nmap -sn 192.168.50.0/24&lt;br /&gt;
Starting Nmap 6.46 ( http://nmap.org ) at 2014-09-18 22:04 PDT&lt;br /&gt;
Nmap scan report for 192.168.50.6&lt;br /&gt;
Host is up (0.099s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.15&lt;br /&gt;
Host is up (0.062s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.20&lt;br /&gt;
Host is up (0.063s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.39&lt;br /&gt;
Host is up (0.13s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.49&lt;br /&gt;
Host is up (0.087s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.60&lt;br /&gt;
Host is up (0.011s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.61&lt;br /&gt;
Host is up (0.022s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.86&lt;br /&gt;
Host is up (0.034s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.87&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.88&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.100&lt;br /&gt;
Host is up (0.00025s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.101&lt;br /&gt;
Host is up (0.096s latency).&lt;br /&gt;
Nmap done: 256 IP addresses (12 hosts up) scanned in 23.23 seconds&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== RRD ==&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== collectd ==&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
== Sensu - Deprecated ==&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
=== About Sensu - From Sensu site ===&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [[http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT Package: nrpe ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
* graphite admin:  http://192.168.50.15/admin - sudomesh:sudomesh&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&lt;br /&gt;
==== Sample live charts rendered from Graphite ====&lt;br /&gt;
&lt;br /&gt;
Round trip average ping over the last 2 hours:&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/grafana/#/dashboard/db/sudomesh - works best in firefox...&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9023</id>
		<title>Rooftop Dish Antenna Mount</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9023"/>
		<updated>2014-11-23T06:49:28Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: &lt;br /&gt;
&lt;br /&gt;
notes about how to mount a dish antenna on a basic sloped-roof house.&lt;br /&gt;
&lt;br /&gt;
[[Category:Antenna]]&lt;br /&gt;
[[Category:Hardware]]&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The basic concept for this mounting is to provide a sturdy stand with minimum impact on the roof.  There is an attic air vent near the peak of the roof around which it will be possible to hang the assembly. A braided steel wire about 20' long should be sufficient.&lt;br /&gt;
&lt;br /&gt;
The design uses a 4x4 piece of 1/2&amp;quot; plywood with a 2' 2x4 standing straight up and braced with 1/4&amp;quot; plywood triangles.  The roof has an average slope at about 18 degrees so there are 3 cuts that must be made at that angle.&lt;br /&gt;
&lt;br /&gt;
There is a 2&amp;quot;x2&amp;quot; shelf on the bottom edge upon which it should be possible to place some bricks for a load to stabilize the platform.&lt;br /&gt;
&lt;br /&gt;
In the parts list, the 1.5&amp;quot; screws are meant for the braces and the 2&amp;quot; screws are meant to attach the base plate components.&lt;br /&gt;
&lt;br /&gt;
The dish is to be attached to a 2&amp;quot; conduit which should be attached to the 2x4 upright.  It will require 4 holes drilled into the 2x4 to accommodate 2 u-bolts.&lt;br /&gt;
&lt;br /&gt;
Apply wood glue liberally to all wood to wood connections.&lt;br /&gt;
&lt;br /&gt;
See the diagrams below.&lt;br /&gt;
&lt;br /&gt;
== Parts List ==&lt;br /&gt;
&lt;br /&gt;
# 1 x 2x4 board x 4'&lt;br /&gt;
# 1 x 2x2 board x 4'&lt;br /&gt;
# 1 x 4'x4' 1/2&amp;quot; plywood &lt;br /&gt;
# 16 x #10 x 1.5&amp;quot; wood screw, philips bevel head&lt;br /&gt;
# 20 x #10 x 2.0&amp;quot; wood screw, philips bevel head&lt;br /&gt;
# 20' braded cable&lt;br /&gt;
# 2 x wire rope clamp w/ thimble&lt;br /&gt;
# 1 x 24&amp;quot; x 2' conduit&lt;br /&gt;
# 2 x 2&amp;quot;x4&amp;quot; U-bolts&lt;br /&gt;
# wood glue&lt;br /&gt;
# Paint and/or water sealer to apply to the wood.&lt;br /&gt;
&lt;br /&gt;
== Diagrams ==&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-1.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Back view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-2.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Front view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-3.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Side view.]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9022</id>
		<title>Rooftop Dish Antenna Mount</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9022"/>
		<updated>2014-11-23T06:48:20Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: &lt;br /&gt;
&lt;br /&gt;
notes about how to mount a dish antenna on a basic sloped roof house.&lt;br /&gt;
&lt;br /&gt;
[[Category:Antenna]]&lt;br /&gt;
[[Category:Hardware]]&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The basic concept for this mounting is to provide a sturdy stand with minimum impact on the roof.  There is an attic air vent near the peak of the roof around which it will be possible to hang the assembly. A braided steel wire about 20' long should be sufficient.&lt;br /&gt;
&lt;br /&gt;
The design uses a 4x4 piece of 1/2&amp;quot; plywood with a 2' 2x4 standing straight up and braced with 1/4&amp;quot; plywood triangles.  The roof has an average slope at about 18 degrees so there are 3 cuts that must be made at that angle.&lt;br /&gt;
&lt;br /&gt;
There is a 2&amp;quot;x2&amp;quot; shelf on the bottom edge upon which it should be possible to place some bricks for a load to stabilize the platform.&lt;br /&gt;
&lt;br /&gt;
In the parts list, the 1.5&amp;quot; screws are meant for the braces and the 2&amp;quot; screws are meant to attach the base plate components.&lt;br /&gt;
&lt;br /&gt;
The dish is to be attached to a 2&amp;quot; conduit which should be attached to the 2x4 upright.  It will require 4 holes drilled into the 2x4 to accommodate 2 u-bolts.&lt;br /&gt;
&lt;br /&gt;
Apply wood glue liberally to all wood to wood connections.&lt;br /&gt;
&lt;br /&gt;
See the diagrams below.&lt;br /&gt;
&lt;br /&gt;
== Parts List ==&lt;br /&gt;
&lt;br /&gt;
# 1 x 2x4 board x 4'&lt;br /&gt;
# 1 x 2x2 board x 4'&lt;br /&gt;
# 1 x 4'x4' 1/2&amp;quot; plywood &lt;br /&gt;
# 16 x #10 x 1.5&amp;quot; wood screw, philips bevel head&lt;br /&gt;
# 20 x #10 x 2.0&amp;quot; wood screw, philips bevel head&lt;br /&gt;
# 20' braded cable&lt;br /&gt;
# 2 x wire rope clamp w/ thimble&lt;br /&gt;
# 1 x 24&amp;quot; x 2' conduit&lt;br /&gt;
# 2 x 2&amp;quot;x4&amp;quot; U-bolts&lt;br /&gt;
# wood glue&lt;br /&gt;
# Paint and/or water sealer to apply to the wood.&lt;br /&gt;
&lt;br /&gt;
== Diagrams ==&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-1.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Back view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-2.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Front view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-3.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Side view.]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9021</id>
		<title>Rooftop Dish Antenna Mount</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9021"/>
		<updated>2014-11-23T06:43:06Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: &lt;br /&gt;
&lt;br /&gt;
notes about how to mount a dish antenna on a basic sloped roof house.&lt;br /&gt;
&lt;br /&gt;
[[Category:Antenna]]&lt;br /&gt;
[[Category:Hardware]]&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The basic concept for this mounting is to provide a sturdy stand with minimum impact on the roof.  There is an attic air vent near the peak of the roof around which it will be possible to hang the assembly. A braided steel wire about 20' long should be sufficient.&lt;br /&gt;
&lt;br /&gt;
The design uses a 4x4 piece of 1/2&amp;quot; plywood with a 2' 2x4 standing straight up and braced with 1/4&amp;quot; plywood triangles.  The roof has an average slope at about 18 degrees so there are 3 cuts that must be made at that angle.&lt;br /&gt;
&lt;br /&gt;
There is a 2&amp;quot;x2&amp;quot; shelf on the bottom edge upon which it should be possible to place some bricks for a load to stabilize the platform.&lt;br /&gt;
&lt;br /&gt;
In the parts list, the 1.5&amp;quot; screws are meant for the braces and the 2&amp;quot; screws are meant to attach the base plate components.&lt;br /&gt;
&lt;br /&gt;
Apply wood glue liberally.&lt;br /&gt;
&lt;br /&gt;
See the diagrams below.&lt;br /&gt;
&lt;br /&gt;
== Parts List ==&lt;br /&gt;
&lt;br /&gt;
# 1 x 2x4 board x 4'&lt;br /&gt;
# 1 x 2x2 board x 4'&lt;br /&gt;
# 1 x 4'x4' 1/2&amp;quot; plywood &lt;br /&gt;
# 16 x #10 x 1.5&amp;quot; wood screw, philips bevel head&lt;br /&gt;
# 20 x #10 x 2.0&amp;quot; wood screw, philips bevel head&lt;br /&gt;
# 20' braded cable&lt;br /&gt;
# 2 x wire rope clamp w/ thimble&lt;br /&gt;
# 1 x 24&amp;quot; x 2' conduit&lt;br /&gt;
# 2 x 2&amp;quot;x4&amp;quot; U-bolts&lt;br /&gt;
# wood glue&lt;br /&gt;
# Paint and/or water sealer to apply to the wood.&lt;br /&gt;
&lt;br /&gt;
== Diagrams ==&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-1.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Back view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-2.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Front view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-3.jpg|thumb| left | 800px |Sloped-roof mounting platform for a dish antenna. Side view.]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9020</id>
		<title>Rooftop Dish Antenna Mount</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9020"/>
		<updated>2014-11-23T06:36:07Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Diagrams */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: &lt;br /&gt;
&lt;br /&gt;
notes about how to mount a dish antenna on a basic sloped roof house.&lt;br /&gt;
&lt;br /&gt;
[[Category:Antenna]]&lt;br /&gt;
[[Category:Hardware]]&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The basic concept for this mounting is to provide a sturdy stand with minimum impact on the roof.  There is an attic air vent near the peak of the roof around which it will be possible to hang the assembly. A braided steel wire about 20' long should be sufficient.&lt;br /&gt;
&lt;br /&gt;
The design uses a 4x4 piece of 1/2&amp;quot; plywood with a 2' 2x4 standing straight up and braced with 1/4&amp;quot; plywood triangles.  The roof has an average slope at about 18 degrees so there are 3 cuts that must be made at that angle.&lt;br /&gt;
&lt;br /&gt;
See the diagrams below.&lt;br /&gt;
&lt;br /&gt;
== Parts ==&lt;br /&gt;
&lt;br /&gt;
# 1 x 2x4 board x 4'&lt;br /&gt;
# 1 x 2x2 board x 4'&lt;br /&gt;
# 1 x 4'x4' 1/2&amp;quot; plywood &lt;br /&gt;
# 16 x #10 x 1.5&amp;quot; wood screw, philips bevel head&lt;br /&gt;
# 20 x #10 x 2.0&amp;quot; wood screw, philips bevel head&lt;br /&gt;
# 20' braded cable&lt;br /&gt;
# 2 x wire rope clamp w/ thimble&lt;br /&gt;
# 1 x 24&amp;quot; x 2' conduit&lt;br /&gt;
# 2 x 2&amp;quot;x4&amp;quot; U-bolts&lt;br /&gt;
# wood glue&lt;br /&gt;
# Paint and/or water sealer to apply to the wood.&lt;br /&gt;
&lt;br /&gt;
== Diagrams ==&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-1.jpg|thumb| left | 600px |Sloped-roof mounting platform for a dish antenna. Back view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-2.jpg|thumb| left | 600px |Sloped-roof mounting platform for a dish antenna. Front view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-3.jpg|thumb| left | 600px |Sloped-roof mounting platform for a dish antenna. Side view.]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9019</id>
		<title>Rooftop Dish Antenna Mount</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9019"/>
		<updated>2014-11-23T06:34:51Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: &lt;br /&gt;
&lt;br /&gt;
notes about how to mount a dish antenna on a basic sloped roof house.&lt;br /&gt;
&lt;br /&gt;
[[Category:Antenna]]&lt;br /&gt;
[[Category:Hardware]]&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The basic concept for this mounting is to provide a sturdy stand with minimum impact on the roof.  There is an attic air vent near the peak of the roof around which it will be possible to hang the assembly. A braided steel wire about 20' long should be sufficient.&lt;br /&gt;
&lt;br /&gt;
The design uses a 4x4 piece of 1/2&amp;quot; plywood with a 2' 2x4 standing straight up and braced with 1/4&amp;quot; plywood triangles.  The roof has an average slope at about 18 degrees so there are 3 cuts that must be made at that angle.&lt;br /&gt;
&lt;br /&gt;
See the diagrams below.&lt;br /&gt;
&lt;br /&gt;
== Parts ==&lt;br /&gt;
&lt;br /&gt;
# 1 x 2x4 board x 4'&lt;br /&gt;
# 1 x 2x2 board x 4'&lt;br /&gt;
# 1 x 4'x4' 1/2&amp;quot; plywood &lt;br /&gt;
# 16 x #10 x 1.5&amp;quot; wood screw, philips bevel head&lt;br /&gt;
# 20 x #10 x 2.0&amp;quot; wood screw, philips bevel head&lt;br /&gt;
# 20' braded cable&lt;br /&gt;
# 2 x wire rope clamp w/ thimble&lt;br /&gt;
# 1 x 24&amp;quot; x 2' conduit&lt;br /&gt;
# 2 x 2&amp;quot;x4&amp;quot; U-bolts&lt;br /&gt;
# wood glue&lt;br /&gt;
# Paint and/or water sealer to apply to the wood.&lt;br /&gt;
&lt;br /&gt;
== Diagrams ==&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-1.jpg|thumb| left | 600px |Diagrams for a sloped-roof mounting platform for a dish antenna. Back view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-2.jpg|thumb| left |Diagrams for a sloped-roof mounting platform for a dish antenna. Front view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-3.jpg|thumb| left |Diagrams for a sloped-roof mounting platform for a dish antenna. Side view.]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9018</id>
		<title>Rooftop Dish Antenna Mount</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9018"/>
		<updated>2014-11-23T06:33:38Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: &lt;br /&gt;
&lt;br /&gt;
notes about how to mount a dish antenna on a basic sloped roof house.&lt;br /&gt;
&lt;br /&gt;
[[Category:Antenna]]&lt;br /&gt;
[[Category:Hardware]]&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The basic concept for this mounting is to provide a sturdy stand with minimum impact on the roof.  There is an attic air vent near the peak of the roof around which it will be possible to hang the assembly. A braided steel wire about 20' long should be sufficient.&lt;br /&gt;
&lt;br /&gt;
The design uses a 4x4 piece of 1/2&amp;quot; plywood with a 2' 2x4 standing straight up and braced with 1/4&amp;quot; plywood triangles.  The roof has an average slope at about 18 degrees so there are 3 cuts that must be made at that angle.&lt;br /&gt;
&lt;br /&gt;
See the diagrams below.&lt;br /&gt;
&lt;br /&gt;
== Parts ==&lt;br /&gt;
&lt;br /&gt;
# 1 x 2x4 board x 4'&lt;br /&gt;
# 1 x 2x2 board x 4'&lt;br /&gt;
# 1 x 4'x4' 1/2&amp;quot; plywood &lt;br /&gt;
# 16 x #10 x 1.5&amp;quot; wood screw, philips bevel head&lt;br /&gt;
# 20 x #10 x 2.0&amp;quot; wood screw, philips bevel head&lt;br /&gt;
# 20' braded cable&lt;br /&gt;
# 2 x wire rope clamp w/ thimble&lt;br /&gt;
# 1 x 24&amp;quot; x 2' conduit&lt;br /&gt;
# 2 x 2&amp;quot;x4&amp;quot; U-bolts&lt;br /&gt;
# wood glue&lt;br /&gt;
# Paint and/or water sealer to apply to the wood.&lt;br /&gt;
&lt;br /&gt;
== Diagrams ==&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-1.jpg|thumb| left |Diagrams for a sloped-roof mounting platform for a dish antenna. Back view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-2.jpg|thumb| left |Diagrams for a sloped-roof mounting platform for a dish antenna. Front view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-3.jpg|thumb| left |Diagrams for a sloped-roof mounting platform for a dish antenna. Side view.]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9017</id>
		<title>Rooftop Dish Antenna Mount</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9017"/>
		<updated>2014-11-23T06:24:55Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: &lt;br /&gt;
&lt;br /&gt;
notes about how to mount a dish antenna on a basic sloped roof house.&lt;br /&gt;
&lt;br /&gt;
[[Category:Antenna]]&lt;br /&gt;
[[Category:Hardware]]&lt;br /&gt;
&lt;br /&gt;
== Parts ==&lt;br /&gt;
&lt;br /&gt;
# 1 x 2x4 board x 4'&lt;br /&gt;
# 1 x 2x2 board x 4'&lt;br /&gt;
# 1 x 4'x4' 1/2&amp;quot; plywood &lt;br /&gt;
# 16 x #10 x 1.5&amp;quot; wood screw, philips bevel head&lt;br /&gt;
# 20 x #10 x 2.0&amp;quot; wood screw, philips bevel head&lt;br /&gt;
# 20' braded cable&lt;br /&gt;
# 2 x wire rope clamp w/ thimble&lt;br /&gt;
# 1 x 24&amp;quot; x 2' conduit&lt;br /&gt;
# 2 x 2&amp;quot;x4&amp;quot; U-bolts&lt;br /&gt;
# wood glue&lt;br /&gt;
# Paint and/or water sealer to apply to the wood.&lt;br /&gt;
&lt;br /&gt;
== Diagrams ==&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-1.jpg|thumb| left |Diagrams for a sloped-roof mounting platform for a dish antenna. Back view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-2.jpg|thumb| left |Diagrams for a sloped-roof mounting platform for a dish antenna. Front view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-3.jpg|thumb| left |Diagrams for a sloped-roof mounting platform for a dish antenna. Side view.]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9016</id>
		<title>Rooftop Dish Antenna Mount</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9016"/>
		<updated>2014-11-23T06:23:18Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Parts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: &lt;br /&gt;
&lt;br /&gt;
notes about how to mount a dish antenna on a basic sloped roof house.&lt;br /&gt;
&lt;br /&gt;
[[Category:Antenna]]&lt;br /&gt;
[[Category:Hardware]]&lt;br /&gt;
&lt;br /&gt;
== Parts ==&lt;br /&gt;
&lt;br /&gt;
# 1 x 2x4 board x 4'&lt;br /&gt;
# 1 x 2x2 board x 4'&lt;br /&gt;
# 1 x 4'x4' 1/2&amp;quot; plywood &lt;br /&gt;
# 16 x #10 x 1.5&amp;quot; wood screw, philips bevel head&lt;br /&gt;
# 20 x #10 x 2.0&amp;quot; wood screw, philips bevel head&lt;br /&gt;
# 20' braded cable&lt;br /&gt;
# 2 x wire rope clamp w/ thimble&lt;br /&gt;
# 1 x 24&amp;quot; x 2' conduit&lt;br /&gt;
# 2 x 2&amp;quot;x4&amp;quot; U-bolts&lt;br /&gt;
&lt;br /&gt;
Paint and/or water sealer to apply to the wood.&lt;br /&gt;
&lt;br /&gt;
== Diagrams ==&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-1.jpg|thumb| left |Diagrams for a sloped-roof mounting platform for a dish antenna. Back view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-2.jpg|thumb| left |Diagrams for a sloped-roof mounting platform for a dish antenna. Front view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-3.jpg|thumb| left |Diagrams for a sloped-roof mounting platform for a dish antenna. Side view.]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9015</id>
		<title>Rooftop Dish Antenna Mount</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9015"/>
		<updated>2014-11-23T06:15:16Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Diagrams */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: &lt;br /&gt;
&lt;br /&gt;
notes about how to mount a dish antenna on a basic sloped roof house.&lt;br /&gt;
&lt;br /&gt;
[[Category:Antenna]]&lt;br /&gt;
[[Category:Hardware]]&lt;br /&gt;
&lt;br /&gt;
== Parts ==&lt;br /&gt;
&lt;br /&gt;
== Diagrams ==&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-1.jpg|thumb| left |Diagrams for a sloped-roof mounting platform for a dish antenna. Back view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-2.jpg|thumb| left |Diagrams for a sloped-roof mounting platform for a dish antenna. Front view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-3.jpg|thumb| left |Diagrams for a sloped-roof mounting platform for a dish antenna. Side view.]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9014</id>
		<title>Rooftop Dish Antenna Mount</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9014"/>
		<updated>2014-11-23T06:14:41Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Diagrams */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: &lt;br /&gt;
&lt;br /&gt;
notes about how to mount a dish antenna on a basic sloped roof house.&lt;br /&gt;
&lt;br /&gt;
[[Category:Antenna]]&lt;br /&gt;
[[Category:Hardware]]&lt;br /&gt;
&lt;br /&gt;
== Parts ==&lt;br /&gt;
&lt;br /&gt;
== Diagrams ==&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-1.jpg|thumb| left |Diagrams for a sloped-roof mounting platform for a dish antenna. Back view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-2.jpg|thumb|Diagrams for a sloped-roof mounting platform for a dish antenna. Front view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-3.jpg|thumb|Diagrams for a sloped-roof mounting platform for a dish antenna. Side view.]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9013</id>
		<title>Rooftop Dish Antenna Mount</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9013"/>
		<updated>2014-11-23T06:13:50Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: &lt;br /&gt;
&lt;br /&gt;
notes about how to mount a dish antenna on a basic sloped roof house.&lt;br /&gt;
&lt;br /&gt;
[[Category:Antenna]]&lt;br /&gt;
[[Category:Hardware]]&lt;br /&gt;
&lt;br /&gt;
== Parts ==&lt;br /&gt;
&lt;br /&gt;
== Diagrams ==&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-1.jpg|thumb|Diagrams for a sloped-roof mounting platform for a dish antenna. Back view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-2.jpg|thumb|Diagrams for a sloped-roof mounting platform for a dish antenna. Front view.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Roof-platform1-2-3.jpg|thumb|Diagrams for a sloped-roof mounting platform for a dish antenna. Side view.]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=File:Roof-platform1-2-3.jpg&amp;diff=9012</id>
		<title>File:Roof-platform1-2-3.jpg</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=File:Roof-platform1-2-3.jpg&amp;diff=9012"/>
		<updated>2014-11-23T06:10:35Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: User created page with UploadWizard&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=={{int:filedesc}}==&lt;br /&gt;
{{Information&lt;br /&gt;
|description={{tn|1=Diagrams for a sloped-roof mounting platform for a dish antenna. Side view.}}&lt;br /&gt;
|date=2014-11-22 22:08:20&lt;br /&gt;
|source={{own}}&lt;br /&gt;
|author=[[User:Chrisjx|Chrisjx]]&lt;br /&gt;
|permission=&lt;br /&gt;
|other_versions=&lt;br /&gt;
|other_fields=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=={{int:license-header}}==&lt;br /&gt;
{{self|cc-by-sa-3.0}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Uploaded with UploadWizard]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=File:Roof-platform1-2-2.jpg&amp;diff=9011</id>
		<title>File:Roof-platform1-2-2.jpg</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=File:Roof-platform1-2-2.jpg&amp;diff=9011"/>
		<updated>2014-11-23T06:10:33Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: User created page with UploadWizard&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=={{int:filedesc}}==&lt;br /&gt;
{{Information&lt;br /&gt;
|description={{tn|1=Diagrams for a sloped-roof mounting platform for a dish antenna. Front view.}}&lt;br /&gt;
|date=2014-11-22 22:08:15&lt;br /&gt;
|source={{own}}&lt;br /&gt;
|author=[[User:Chrisjx|Chrisjx]]&lt;br /&gt;
|permission=&lt;br /&gt;
|other_versions=&lt;br /&gt;
|other_fields=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=={{int:license-header}}==&lt;br /&gt;
{{self|cc-by-sa-3.0}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Uploaded with UploadWizard]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=File:Roof-platform1-2-1.jpg&amp;diff=9010</id>
		<title>File:Roof-platform1-2-1.jpg</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=File:Roof-platform1-2-1.jpg&amp;diff=9010"/>
		<updated>2014-11-23T06:10:32Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: User created page with UploadWizard&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=={{int:filedesc}}==&lt;br /&gt;
{{Information&lt;br /&gt;
|description={{tn|1=Diagrams for a sloped-roof mounting platform for a dish antenna. Back view.}}&lt;br /&gt;
|date=2014-11-22 22:08:08&lt;br /&gt;
|source={{own}}&lt;br /&gt;
|author=[[User:Chrisjx|Chrisjx]]&lt;br /&gt;
|permission=&lt;br /&gt;
|other_versions=&lt;br /&gt;
|other_fields=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=={{int:license-header}}==&lt;br /&gt;
{{self|cc-by-sa-3.0}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Uploaded with UploadWizard]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9009</id>
		<title>Rooftop Dish Antenna Mount</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Rooftop_Dish_Antenna_Mount&amp;diff=9009"/>
		<updated>2014-11-23T06:06:55Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: Created page with &amp;quot;See Also:   notes about how to mount a dish antenna on a basic sloped roof house.  == Parts ==  == Diagrams ==  Category:Antenna Category:Hardware&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: &lt;br /&gt;
&lt;br /&gt;
notes about how to mount a dish antenna on a basic sloped roof house.&lt;br /&gt;
&lt;br /&gt;
== Parts ==&lt;br /&gt;
&lt;br /&gt;
== Diagrams ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Antenna]]&lt;br /&gt;
[[Category:Hardware]]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Diagrams&amp;diff=9008</id>
		<title>Mesh/Diagrams</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Diagrams&amp;diff=9008"/>
		<updated>2014-11-23T06:03:47Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Draft Diagrams */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;On this page are various diagrams to explain the network. At the top are technical diagrams, which can be used as diagrams of reference and record, hopefully improved to always be reflective of the network's essential elements and their relations.&lt;br /&gt;
&lt;br /&gt;
==Outreach Diagrams==&lt;br /&gt;
We need more outreach diagrams! Please help!&lt;br /&gt;
&lt;br /&gt;
You can base outreach-focused diagrams on elements of the technical reference diagrams below:&lt;br /&gt;
&lt;br /&gt;
==Reference Diagrams==&lt;br /&gt;
&lt;br /&gt;
Reference diagrams are for documentation and technical reference purposes, which can hopefully be helpful to provide a basis for creating easily understandable, accurate, and engaging [[Mesh/Diagrams#Outreach_Diagrams|outreach diagrams]].&lt;br /&gt;
&lt;br /&gt;
===Network Topology Diagram===&lt;br /&gt;
The following diagram describes the essential technical elements of The People's Open Network. Uses the peoplesopen.net [[Mesh/Website#font|font]] and [[Mesh/Website#Color Scheme|color scheme]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;nolines&amp;quot;&amp;gt;&lt;br /&gt;
File:Network topology diagram-lo.png|png (lo)&lt;br /&gt;
File:Network topology diagram-hi.png|png (hi)&lt;br /&gt;
File:Network topology diagram.pdf|pdf&lt;br /&gt;
File:Network topology diagram svg.svg|svg&lt;br /&gt;
File:Network topology diagram plain.svg|plain svg&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The diagram's '''key''' includes the following types of items, which are also described in relation to one another below.&lt;br /&gt;
&lt;br /&gt;
* '''2.4ghz Node'''&lt;br /&gt;
** Typical router running mesh firmware used in a node operator's home, office, public space, etc.&lt;br /&gt;
* '''5ghz &amp;quot;Backbone&amp;quot; Point-to-Point Node'''&lt;br /&gt;
** Special router running mesh firmware as well, but broadcasting and receiving on the 5ghz frequency that can travel longer distances than 2.4ghz, and is regulated by the [http://en.wikipedia.org/wiki/Federal_Communications_Commission FCC] for use in point-to-point connections only. These are therefore helpful to create a &amp;quot;backbone&amp;quot; on the network that can both:&lt;br /&gt;
**# connect neighborhoods to one another when reasonable connections with '''2.4ghz Nodes''' are not possible&lt;br /&gt;
**# ensure users of '''2.4ghz Nodes''' are within a few hops (through other nodes on a path) to strong and stable connections to the rest of the local network (peoplesopen.net) and substantive internet lines (e.g. a small ISP or donated line from the Internet Archive, etc).&lt;br /&gt;
* '''Relay Node''' &amp;quot;Virtual Public Network&amp;quot; (VPuN) Tunnel Server &amp;amp; Client&lt;br /&gt;
** Server running linux and the TunnelDigger server and client software to create Virtual Public Network (VPuN) connections over generic internet connections. This tunnel software creates a connection using the internet underneath it, so at this point, traffic to '''Relay Nodes''' is considered public in the same way it is on the public global internet. Simply, the distinction is between passing purely local traffic, and traffic that is virtually local, but must use an internet connection to reach the necessary destinations.&lt;br /&gt;
**The term &amp;quot;Virtual Public Network&amp;quot; or VPuN has roots in GNUnet https://gnunet.org/gnunet-vpn and is situated in this historical piece http://www.isaca.org/Journal/Past-Issues/2001/Volume-3/Pages/Virtual-Private-Networking-Confidentiality-on-Public-Networks.aspx. TunnelDigger technically qualifies as &amp;quot;Virtual Private Network&amp;quot; software (with a major lapse in not actually providing access control mechanisms as is the point of most VPN software), but this &amp;quot;private&amp;quot; term is more generic than we can be (see https://en.wikipedia.org/wiki/VPN#Unencrypted_tunnels). Instead, we have opted for a socially and historically situated alternative that is both more descriptive and mission-consistent with sudo mesh's work and the values behind the People's Open Network: ''Virtual Public Network (VPuN)''.&lt;br /&gt;
** Note: if, for instance, the '''5ghz Backbone Nodes''' in the diagram above are disconnected (maybe interference one day), then requests across the network (say from one neighborhood to another) can still pass virtually using the internet, out to '''Relay Nodes''' and back down.&lt;br /&gt;
* '''Exit Gateway'''&lt;br /&gt;
** Same as '''Relay Node''' but designated as a ''gateway'' or the final stop between users on the ''peoplesopen.net'' network and out to the public internet (leaving the Virtual Public Network). The gateway is likely to communicate through '''Relay Nodes''' rather than directly with '''2.4ghz Nodes''' and '''Backbone Nodes'''.&lt;br /&gt;
&lt;br /&gt;
===Node Traffic Diagram===&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;nolines&amp;quot;&amp;gt;&lt;br /&gt;
File:Node traffic diagram-lo.png|png (lo)&lt;br /&gt;
File:Node traffic diagram-hi.png|png (hi)&lt;br /&gt;
File:Node traffic diagram_pdf.pdf|pdf&lt;br /&gt;
File:Node traffic diagram.svg|svg&lt;br /&gt;
File:Node traffic diagram plain.svg|plain svg&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The diagram's '''key''' includes the following types of items:&lt;br /&gt;
&lt;br /&gt;
* '''2.4ghz Node'''&lt;br /&gt;
** Based on same object as [[Mesh/Diagrams#Network Topology Diagram|Network Topology Diagram]]&lt;br /&gt;
* '''Power-over-ethernet (POE) power injector (supply)'''&lt;br /&gt;
* '''wifi-capable user devices (e.g. laptop, smartphone)'''&lt;br /&gt;
* '''network interface to internet (e.g. ISP modem)'''&lt;br /&gt;
* '''power''' sources&lt;br /&gt;
&lt;br /&gt;
====Animation====&lt;br /&gt;
* Seeking to create something like this: https://commons.wikimedia.org/wiki/File:Torrentcomp_small.gif&lt;br /&gt;
* Limited success with this &amp;lt;code&amp;gt;svgani&amp;lt;/code&amp;gt; python script: http://www.mbeckler.org/inkscape/svgani/&lt;br /&gt;
** Could still make multiple semi-crappy, basic animations this way. Limitations on the string replacement aspect.&lt;br /&gt;
* Best bet may actually be to animate by hand using this: http://edutechwiki.unige.ch/en/Using_Inkscape_for_web_animation&lt;br /&gt;
** May even be able to convert svg to png frames with this: http://littlesvr.ca/apng/svg2png/&lt;br /&gt;
* Sozi may work too: http://sozi.baierouge.fr/&lt;br /&gt;
&lt;br /&gt;
===Network Development===&lt;br /&gt;
&lt;br /&gt;
'''Animation:''' check out this svg animation of the [http://sudomesh.github.io/svg-animations/node_traffic_diagram_animate.svg Network Development Diagram (svg + js, probably only works in modern web browsers)].&lt;br /&gt;
&lt;br /&gt;
This diagram depicts how the network itself and the network's supporting community of active volunteers and '''node-operators''' can grow over time. The final stage of the diagram shows some disconnected nodes in the network, to symbolize how a real network does not remain neatly tied together as it expands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;nolines&amp;quot;&amp;gt;&lt;br /&gt;
File:Network development diagram-lo.png|png (lo)&lt;br /&gt;
File:Network development diagram-hi.png|png (hi)&lt;br /&gt;
File:Network development diagram_pdf.pdf|pdf&lt;br /&gt;
File:Network development diagram.svg|svg&lt;br /&gt;
File:Network development diagram plain.svg|plain svg&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Animated SVG Diagrams==&lt;br /&gt;
Using the [http://sozi.baierouge.fr/ Sozi] extension for [http://inkscape.org/ Inkscape], which more seamlessly implements aspects of [http://sozi.baierouge.fr/pages/tutorial-first.html svg-based animation] visible in a web browser as [http://edutechwiki.unige.ch/en/Using_Inkscape_for_web_animation documented here] with some additional Sozi-based javascript included. The results are quite good and will be posted in [https://github.com/sudomesh/svg-animations this github repository] and listed below:&lt;br /&gt;
&lt;br /&gt;
* [http://sudomesh.github.io/svg-animations/node_traffic_diagram_animate.svg node_traffic_diagram_animate.svg]&lt;br /&gt;
* [http://sudomesh.github.io/svg-animations/all_diagrams_animate.svg all_diagrams_animate.svg]&lt;br /&gt;
&lt;br /&gt;
==Draft Diagrams==&lt;br /&gt;
&lt;br /&gt;
* [[Rooftop Dish Antenna Mount]]&lt;br /&gt;
&lt;br /&gt;
==Inspirational Diagrams==&lt;br /&gt;
&lt;br /&gt;
===Wikimedia Commons===&lt;br /&gt;
* [https://commons.wikimedia.org/wiki/Topology_(Network) Topology (Network)] &lt;br /&gt;
* [https://commons.wikimedia.org/wiki/File:Wireless_mesh_network_diagram.jpg Wireless mesh network diagram.jpg] low-resolution&lt;br /&gt;
* [https://commons.wikimedia.org/wiki/Category:Mesh_network Category:Mesh Network]&lt;br /&gt;
* [https://commons.wikimedia.org/wiki/File:Internet_map_1024.jpg Internet map 1024.jpg]&lt;br /&gt;
* Animations&lt;br /&gt;
** From &amp;quot;Mesh Network Basics&amp;quot; in [https://en.wikibooks.org/wiki/Wireless_Mesh_Networks/Mesh_network_basics ''Wireless Mesh Networks''] on WikiBooks:&lt;br /&gt;
*** [https://commons.wikimedia.org/wiki/File:Mesh_network_self_healing.gif Mesh network self healing.gif]&lt;br /&gt;
*** [https://commons.wikimedia.org/wiki/File:Mesh_network_self_forming.gif Mesh network self forming.gif]&lt;br /&gt;
*** [https://commons.wikimedia.org/wiki/File:Mesh_network_multi_hop.gif Mesh network multi hop.gif]&lt;br /&gt;
&lt;br /&gt;
===Wikipedia===&lt;br /&gt;
* [https://en.wikipedia.org/wiki/File:NetworkTopologies.svg NetworkTopologies.svg] displays various types of network topologies together&lt;br /&gt;
* Animations&lt;br /&gt;
** [https://en.wikipedia.org/wiki/File:Torrentcomp_small.gif Torrentcomp small.gif] peer-to-peer algorithm animation (deep)&lt;br /&gt;
&lt;br /&gt;
===WikiBooks===&lt;br /&gt;
* [https://en.wikibooks.org/wiki/Wireless_Mesh_Networks Wireless Mesh Networks]&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Icinga_2&amp;diff=9002</id>
		<title>Mesh/Icinga 2</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Icinga_2&amp;diff=9002"/>
		<updated>2014-11-14T08:08:59Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh/Monitoring | Monitoring]], [[Mesh/Monitoring#Graphite | Graphite]]&lt;br /&gt;
&lt;br /&gt;
notes about Icinga 2 which can be used to monitor the mesh nodes...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Install ==&lt;br /&gt;
ChrisJ installed Icinga2 on  [[Mesh/Monitoring#Monitoring_Server | Monitoring Server]], 09.18.2014.&lt;br /&gt;
&lt;br /&gt;
Install docs: http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/getting-started#getting-started &lt;br /&gt;
&lt;br /&gt;
MySQL - root:humbolt, mojave - failed..  retry the mysql later.&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/icinga&amp;lt;br&amp;gt;&lt;br /&gt;
Icinga Classic UI login: icingaadmin:mojave&lt;br /&gt;
&lt;br /&gt;
Icinga Configs on Github: https://github.com/TinajaLabs/sudomesh_icinga&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=8960</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=8960"/>
		<updated>2014-11-07T08:02:12Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
Max has been working on monitoring statistics from with the wifi router using collectd and RRD.&lt;br /&gt;
&lt;br /&gt;
Max discussed with ChrisJ about system wide monitoring...  recommends Icinga. &lt;br /&gt;
&lt;br /&gt;
== Monitoring Server ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
Installed on small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
* Access:&lt;br /&gt;
** monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
** on 09.18.2014 - 192.168.50.15&lt;br /&gt;
** login sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui - icinga web ui&lt;br /&gt;
* http://192.168.50.15/ - graphite web ui&lt;br /&gt;
&lt;br /&gt;
* github repo: not yet. soon.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Sensu: Depricated  - requires a client application service and not useful for our needs for monitoring mesh nodes...&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Running nmap (09.18.2014) to see if I can find a list of hosts which we might want to be monitored...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cjefferies$ nmap -sn 192.168.50.0/24&lt;br /&gt;
Starting Nmap 6.46 ( http://nmap.org ) at 2014-09-18 22:04 PDT&lt;br /&gt;
Nmap scan report for 192.168.50.6&lt;br /&gt;
Host is up (0.099s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.15&lt;br /&gt;
Host is up (0.062s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.20&lt;br /&gt;
Host is up (0.063s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.39&lt;br /&gt;
Host is up (0.13s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.49&lt;br /&gt;
Host is up (0.087s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.60&lt;br /&gt;
Host is up (0.011s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.61&lt;br /&gt;
Host is up (0.022s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.86&lt;br /&gt;
Host is up (0.034s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.87&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.88&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.100&lt;br /&gt;
Host is up (0.00025s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.101&lt;br /&gt;
Host is up (0.096s latency).&lt;br /&gt;
Nmap done: 256 IP addresses (12 hosts up) scanned in 23.23 seconds&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== RRD ==&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== collectd ==&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
== Sensu - Deprecated ==&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
=== About Sensu - From Sensu site ===&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [[http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT Package: nrpe ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
* graphite admin:  http://192.168.50.15/admin - sudomesh:sudomesh&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&lt;br /&gt;
==== Sample charts rendered from Graphite ====&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/grafana/#/dashboard/db/sudomesh - works best in firefox...&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=8959</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=8959"/>
		<updated>2014-11-07T08:01:08Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Graphite */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
Max has been working on monitoring statistics from with the wifi router using collectd and RRD.&lt;br /&gt;
&lt;br /&gt;
Max discussed with ChrisJ about system wide monitoring...  recommends Icinga. &lt;br /&gt;
&lt;br /&gt;
== Monitoring Server ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
Installed on small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
* Access:&lt;br /&gt;
** monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
** on 09.18.2014 - 192.168.50.15&lt;br /&gt;
** login sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui - icinga web ui&lt;br /&gt;
* http://192.168.50.15/ - graphite web ui&lt;br /&gt;
&lt;br /&gt;
* github repo: not yet. soon.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Sensu: Depricated  - requires a client application service and not useful for our needs for monitoring mesh nodes...&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Running nmap (09.18.2014) to see if I can find a list of hosts which we might want to be monitored...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cjefferies$ nmap -sn 192.168.50.0/24&lt;br /&gt;
Starting Nmap 6.46 ( http://nmap.org ) at 2014-09-18 22:04 PDT&lt;br /&gt;
Nmap scan report for 192.168.50.6&lt;br /&gt;
Host is up (0.099s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.15&lt;br /&gt;
Host is up (0.062s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.20&lt;br /&gt;
Host is up (0.063s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.39&lt;br /&gt;
Host is up (0.13s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.49&lt;br /&gt;
Host is up (0.087s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.60&lt;br /&gt;
Host is up (0.011s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.61&lt;br /&gt;
Host is up (0.022s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.86&lt;br /&gt;
Host is up (0.034s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.87&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.88&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.100&lt;br /&gt;
Host is up (0.00025s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.101&lt;br /&gt;
Host is up (0.096s latency).&lt;br /&gt;
Nmap done: 256 IP addresses (12 hosts up) scanned in 23.23 seconds&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== RRD ==&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== collectd ==&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
== Sensu - Deprecated ==&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
=== About Sensu - From Sensu site ===&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [[http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT Package: nrpe ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
* graphite admin:  http://192.168.50.15/admin - sudomesh:sudomesh&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&lt;br /&gt;
==== Sample charts rendered from Graphite ====&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=8958</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=8958"/>
		<updated>2014-11-07T07:08:42Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Graphite */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
Max has been working on monitoring statistics from with the wifi router using collectd and RRD.&lt;br /&gt;
&lt;br /&gt;
Max discussed with ChrisJ about system wide monitoring...  recommends Icinga. &lt;br /&gt;
&lt;br /&gt;
== Monitoring Server ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
Installed on small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
* Access:&lt;br /&gt;
** monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
** on 09.18.2014 - 192.168.50.15&lt;br /&gt;
** login sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui - icinga web ui&lt;br /&gt;
* http://192.168.50.15/ - graphite web ui&lt;br /&gt;
&lt;br /&gt;
* github repo: not yet. soon.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Sensu: Depricated  - requires a client application service and not useful for our needs for monitoring mesh nodes...&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Running nmap (09.18.2014) to see if I can find a list of hosts which we might want to be monitored...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cjefferies$ nmap -sn 192.168.50.0/24&lt;br /&gt;
Starting Nmap 6.46 ( http://nmap.org ) at 2014-09-18 22:04 PDT&lt;br /&gt;
Nmap scan report for 192.168.50.6&lt;br /&gt;
Host is up (0.099s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.15&lt;br /&gt;
Host is up (0.062s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.20&lt;br /&gt;
Host is up (0.063s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.39&lt;br /&gt;
Host is up (0.13s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.49&lt;br /&gt;
Host is up (0.087s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.60&lt;br /&gt;
Host is up (0.011s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.61&lt;br /&gt;
Host is up (0.022s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.86&lt;br /&gt;
Host is up (0.034s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.87&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.88&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.100&lt;br /&gt;
Host is up (0.00025s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.101&lt;br /&gt;
Host is up (0.096s latency).&lt;br /&gt;
Nmap done: 256 IP addresses (12 hosts up) scanned in 23.23 seconds&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== RRD ==&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== collectd ==&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
== Sensu - Deprecated ==&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
=== About Sensu - From Sensu site ===&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [[http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT Package: nrpe ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&lt;br /&gt;
==== Sample charts rendered from Graphite ====&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=8957</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=8957"/>
		<updated>2014-11-07T07:07:09Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Graphite */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
Max has been working on monitoring statistics from with the wifi router using collectd and RRD.&lt;br /&gt;
&lt;br /&gt;
Max discussed with ChrisJ about system wide monitoring...  recommends Icinga. &lt;br /&gt;
&lt;br /&gt;
== Monitoring Server ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
Installed on small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
* Access:&lt;br /&gt;
** monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
** on 09.18.2014 - 192.168.50.15&lt;br /&gt;
** login sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui - icinga web ui&lt;br /&gt;
* http://192.168.50.15/ - graphite web ui&lt;br /&gt;
&lt;br /&gt;
* github repo: not yet. soon.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Sensu: Depricated  - requires a client application service and not useful for our needs for monitoring mesh nodes...&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Running nmap (09.18.2014) to see if I can find a list of hosts which we might want to be monitored...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cjefferies$ nmap -sn 192.168.50.0/24&lt;br /&gt;
Starting Nmap 6.46 ( http://nmap.org ) at 2014-09-18 22:04 PDT&lt;br /&gt;
Nmap scan report for 192.168.50.6&lt;br /&gt;
Host is up (0.099s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.15&lt;br /&gt;
Host is up (0.062s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.20&lt;br /&gt;
Host is up (0.063s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.39&lt;br /&gt;
Host is up (0.13s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.49&lt;br /&gt;
Host is up (0.087s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.60&lt;br /&gt;
Host is up (0.011s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.61&lt;br /&gt;
Host is up (0.022s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.86&lt;br /&gt;
Host is up (0.034s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.87&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.88&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.100&lt;br /&gt;
Host is up (0.00025s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.101&lt;br /&gt;
Host is up (0.096s latency).&lt;br /&gt;
Nmap done: 256 IP addresses (12 hosts up) scanned in 23.23 seconds&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== RRD ==&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== collectd ==&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
== Sensu - Deprecated ==&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
=== About Sensu - From Sensu site ===&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [[http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT Package: nrpe ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png|Caption1&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=8956</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=8956"/>
		<updated>2014-11-07T07:06:19Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Graphite */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
Max has been working on monitoring statistics from with the wifi router using collectd and RRD.&lt;br /&gt;
&lt;br /&gt;
Max discussed with ChrisJ about system wide monitoring...  recommends Icinga. &lt;br /&gt;
&lt;br /&gt;
== Monitoring Server ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
Installed on small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
* Access:&lt;br /&gt;
** monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
** on 09.18.2014 - 192.168.50.15&lt;br /&gt;
** login sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui - icinga web ui&lt;br /&gt;
* http://192.168.50.15/ - graphite web ui&lt;br /&gt;
&lt;br /&gt;
* github repo: not yet. soon.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Sensu: Depricated  - requires a client application service and not useful for our needs for monitoring mesh nodes...&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Running nmap (09.18.2014) to see if I can find a list of hosts which we might want to be monitored...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cjefferies$ nmap -sn 192.168.50.0/24&lt;br /&gt;
Starting Nmap 6.46 ( http://nmap.org ) at 2014-09-18 22:04 PDT&lt;br /&gt;
Nmap scan report for 192.168.50.6&lt;br /&gt;
Host is up (0.099s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.15&lt;br /&gt;
Host is up (0.062s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.20&lt;br /&gt;
Host is up (0.063s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.39&lt;br /&gt;
Host is up (0.13s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.49&lt;br /&gt;
Host is up (0.087s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.60&lt;br /&gt;
Host is up (0.011s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.61&lt;br /&gt;
Host is up (0.022s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.86&lt;br /&gt;
Host is up (0.034s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.87&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.88&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.100&lt;br /&gt;
Host is up (0.00025s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.101&lt;br /&gt;
Host is up (0.096s latency).&lt;br /&gt;
Nmap done: 256 IP addresses (12 hosts up) scanned in 23.23 seconds&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== RRD ==&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== collectd ==&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
== Sensu - Deprecated ==&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
=== About Sensu - From Sensu site ===&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [[http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT Package: nrpe ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png|Caption1&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
	<entry>
		<id>https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=8955</id>
		<title>Mesh/Monitoring</title>
		<link rel="alternate" type="text/html" href="https://sudoroom.org/mediawiki/index.php?title=Mesh/Monitoring&amp;diff=8955"/>
		<updated>2014-11-07T07:05:25Z</updated>

		<summary type="html">&lt;p&gt;Chrisjx: /* Graphite */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See Also: [[Mesh#Technical_Documentation | Technical Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Monitoring]]&lt;br /&gt;
[[Category:Technical]]&lt;br /&gt;
&lt;br /&gt;
Max has been working on monitoring statistics from with the wifi router using collectd and RRD.&lt;br /&gt;
&lt;br /&gt;
Max discussed with ChrisJ about system wide monitoring...  recommends Icinga. &lt;br /&gt;
&lt;br /&gt;
== Monitoring Server ==&lt;br /&gt;
See Also: [[Mesh/Icinga 2]]&lt;br /&gt;
Installed on small frame Dell PC, service tag: 2FDSGC1, green tape with info on the front.&lt;br /&gt;
* OS:  Linux monitor 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux&lt;br /&gt;
* Access:&lt;br /&gt;
** monitor or monitor.local - (as of 10.30.2014, not accessible by this host name, perhaps dns is not correctly defined)&lt;br /&gt;
** on 09.18.2014 - 192.168.50.15&lt;br /&gt;
** login sudoroom:sudomesh&lt;br /&gt;
&lt;br /&gt;
* http://192.168.50.15/icinga2-classicui - icinga web ui&lt;br /&gt;
* http://192.168.50.15/ - graphite web ui&lt;br /&gt;
&lt;br /&gt;
* github repo: not yet. soon.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Sensu: Depricated  - requires a client application service and not useful for our needs for monitoring mesh nodes...&lt;br /&gt;
* The sensu web page can be accessed internally at: &lt;br /&gt;
** http://192.168.42.65:8080/# (as of 2014.07.25 no services defined)&lt;br /&gt;
** user: admin&lt;br /&gt;
** pw: secret&lt;br /&gt;
&lt;br /&gt;
== List of hosts ==&lt;br /&gt;
Running nmap (09.18.2014) to see if I can find a list of hosts which we might want to be monitored...&lt;br /&gt;
&lt;br /&gt;
Most of these are probably laptops connected to the internet.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cjefferies$ nmap -sn 192.168.50.0/24&lt;br /&gt;
Starting Nmap 6.46 ( http://nmap.org ) at 2014-09-18 22:04 PDT&lt;br /&gt;
Nmap scan report for 192.168.50.6&lt;br /&gt;
Host is up (0.099s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.15&lt;br /&gt;
Host is up (0.062s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.20&lt;br /&gt;
Host is up (0.063s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.39&lt;br /&gt;
Host is up (0.13s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.49&lt;br /&gt;
Host is up (0.087s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.60&lt;br /&gt;
Host is up (0.011s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.61&lt;br /&gt;
Host is up (0.022s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.86&lt;br /&gt;
Host is up (0.034s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.87&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.88&lt;br /&gt;
Host is up (0.047s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.100&lt;br /&gt;
Host is up (0.00025s latency).&lt;br /&gt;
Nmap scan report for 192.168.50.101&lt;br /&gt;
Host is up (0.096s latency).&lt;br /&gt;
Nmap done: 256 IP addresses (12 hosts up) scanned in 23.23 seconds&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 192.168.50.15 - monitoring server&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== RRD ==&lt;br /&gt;
* http://oss.oetiker.ch/rrdtool/&lt;br /&gt;
* also look at whisper, a light weight rrd - http://graphite.wikidot.com/whisper&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== collectd ==&lt;br /&gt;
* http://collectd.org/&lt;br /&gt;
&lt;br /&gt;
== Sensu - Deprecated ==&lt;br /&gt;
See our notes about the Sensu install: [[Mesh/Sensu_Page | Sensu Page]]&lt;br /&gt;
&lt;br /&gt;
=== About Sensu - From Sensu site ===&lt;br /&gt;
&lt;br /&gt;
Sensu is often described as the &amp;quot;monitoring router&amp;quot;. Essentially, Sensu takes the results of &amp;quot;check&amp;quot; scripts run across many systems, and if certain conditions are met; passes their information to one or more &amp;quot;handlers&amp;quot;. Checks are used, for example, to determine if a service like Apache is up or down. Checks can also be used to collect data, such as MySQL query statistics or Rails application metrics. Handlers take actions, using result information, such as sending an email, messaging a chat room, or adding a data point to a graph. There are several types of handlers, but the most common and most powerful is &amp;quot;pipe&amp;quot;, a script that receives data via standard input. Check and handler scripts can be written in any language, and the community repository continues to grow!&lt;br /&gt;
&lt;br /&gt;
Fun Sensu facts:&lt;br /&gt;
&lt;br /&gt;
* Written in Ruby, using EventMachine.&lt;br /&gt;
* Has great test coverage with continuous integration via Travis CI.&lt;br /&gt;
* Can use existing Nagios plugins.&lt;br /&gt;
* Configuration is all in JSON.&lt;br /&gt;
* Has a message-oriented architecture, using RabbitMQ and JSON payloads.&lt;br /&gt;
* Packages are &amp;quot;omnibus&amp;quot;, for consistency, isolation, and low-friction deployment.&lt;br /&gt;
* Sensu is designed for modern infrastructures and to be driven by configuration management tools, designed for the &amp;quot;cloud&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Icinga ==&lt;br /&gt;
Interesting article: [[http://www.smallbusinesstech.net/more-complicated-instructions/nagios/setting-up-nagios-on-a-debian-server-to-remotely-monitor-an-openwrt-router Setting up Icinga on a Debian Server to Remotely Monitor an OpenWrt Router]]&lt;br /&gt;
&lt;br /&gt;
Icinga is a Nagios fork which, as of Fall 2013, has more development involvement.  Icinga is the central system that pings other systems like openWRT.  Icinga gathers the data and can track and send notifications when values drift beyond normal tolerances.  On the remote hosts it is required to install '''nrpe''' and a basic set of '''nrpe plugins'''.  The article referenced above shows how it is possible to install nrpe on openwrt through the openwrt web interface.  After that one can ssh into the router and configure it.&lt;br /&gt;
&lt;br /&gt;
Once the router is configured it is necessary to configure the central Icinga server with:&lt;br /&gt;
* the IP address of each node it will track&lt;br /&gt;
* the host groups&lt;br /&gt;
* the services that are to be monitored.&lt;br /&gt;
&lt;br /&gt;
=== OpenWRT Package: nrpe ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Package: nrpe&lt;br /&gt;
Version: 2.12-4&lt;br /&gt;
Depends: libc, librt, libpthread, libopenssl, libwrap&lt;br /&gt;
Source: feeds/packages/admin/nrpe&lt;br /&gt;
SourceFile: nrpe-2.12.tar.gz&lt;br /&gt;
SourceURL: @SF/nagios&lt;br /&gt;
Section: admin&lt;br /&gt;
Architecture: ib42x0&lt;br /&gt;
Installed-Size: 19018&lt;br /&gt;
Filename: nrpe_2.12-4_ib42x0.ipk&lt;br /&gt;
Size: 19801&lt;br /&gt;
MD5Sum: f36019344c747a1e88f5aab50776bd4e&lt;br /&gt;
Description:  The NRPE addon is designed to allow you to execute Nagios plugins on&lt;br /&gt;
 remote Linux/Unix machines.  The main reason for doing this is to allow&lt;br /&gt;
 Nagios to monitor &amp;quot;local&amp;quot; resources (like CPU load, memory usage, etc.)&lt;br /&gt;
 on remote machines.  Since these public resources are not usually&lt;br /&gt;
 exposed to external machines, an agent like NRPE must be installed on&lt;br /&gt;
 the remote Linux/Unix machines.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Icinga 2 ==&lt;br /&gt;
Icinga 2 is a rewrite of Icinga with a cleaner implementation and configuration structure.  It will be able to run SNMP calls to nodes which run mini-snmpd and be able to send performance data to charting apps like graphite.&lt;br /&gt;
&lt;br /&gt;
See Install notes at: [[Icinga 2]]&lt;br /&gt;
&lt;br /&gt;
== Charting ==&lt;br /&gt;
&lt;br /&gt;
=== Graphite ===&lt;br /&gt;
* http://www.slideshare.net/reyjrar/graphite-overview&lt;br /&gt;
* http://graphite.wikidot.com/whisper&lt;br /&gt;
* http://graphite.wikidot.com/&lt;br /&gt;
* http://graphite.readthedocs.org/en/latest/config-local-settings.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* 09.18.2014, ChrisJ started installing this on the monitor server.  Not finished...&lt;br /&gt;
* 10.02.2014 - another night... continuing.&lt;br /&gt;
&lt;br /&gt;
* installed on host: monitor:/opt/graphite/&lt;br /&gt;
&lt;br /&gt;
* install tutorial: https://tipstricks.itmatrix.eu/installing-icinga2-in-debian-wheezy/&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta|Caption1&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15/render?width=400&amp;amp;from=-2hours&amp;amp;until=now&amp;amp;height=250&amp;amp;target=icinga.localhost.ping4.rta&amp;amp;_uniq=0.43809576937928796&amp;amp;title=icinga.localhost.ping4.rta&amp;amp;.png&lt;br /&gt;
&lt;br /&gt;
=== Grafana ===&lt;br /&gt;
http://grafana.org/&lt;br /&gt;
&lt;br /&gt;
* a cool dashboard that you can install under apache (maybe ngnx) and crete a dashboard of data streamed from graphite&lt;br /&gt;
* limited to line charts, no meters, gauges, etc.&lt;br /&gt;
&lt;br /&gt;
Installed in: /opt/grafana&lt;br /&gt;
&lt;br /&gt;
As of 10.30.2014 - net yet working...  has an issue connecting to Elasticsearch to save settings in grafana.&lt;br /&gt;
https://github.com/grafana/grafana/issues/330&lt;br /&gt;
&lt;br /&gt;
==== Setup ====&lt;br /&gt;
http://192.168.50.15/grafana&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Elasticsearch ====&lt;br /&gt;
* requires elasticsearch - https://xenforo.com/community/threads/how-to-basic-elasticsearch-installation-debian-ubuntu.26163/&lt;br /&gt;
&lt;br /&gt;
http://192.168.50.15:9200 - returns something like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;status&amp;quot; : 200,&lt;br /&gt;
&amp;quot;name&amp;quot; : &amp;quot;Exterminator&amp;quot;,&lt;br /&gt;
&amp;quot;version&amp;quot; : {&lt;br /&gt;
&amp;quot;number&amp;quot; : &amp;quot;1.0.3&amp;quot;,&lt;br /&gt;
&amp;quot;build_hash&amp;quot; : &amp;quot;61bfb72d845a59a58cd9910e47515665f6478a5c&amp;quot;,&lt;br /&gt;
&amp;quot;build_timestamp&amp;quot; : &amp;quot;2014-04-16T14:43:11Z&amp;quot;,&lt;br /&gt;
&amp;quot;build_snapshot&amp;quot; : false,&lt;br /&gt;
&amp;quot;lucene_version&amp;quot; : &amp;quot;4.6&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;tagline&amp;quot; : &amp;quot;You Know, for Search&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Graphene ===&lt;br /&gt;
* https://github.com/jondot/graphene&lt;br /&gt;
* http://jondot.github.io/graphene - demo&lt;br /&gt;
&lt;br /&gt;
=== Cricket ===&lt;br /&gt;
* http://cricket.sourceforge.net/&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== motd ==&lt;br /&gt;
We can set a boot message for the /etc/motd file.  &lt;br /&gt;
&lt;br /&gt;
These samples from http://patorjk.com/software/taag/#p=testall&amp;amp;h=0&amp;amp;v=0&amp;amp;f=Mer&amp;amp;t=SudoMesh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   ____           __        __  ___             __ &lt;br /&gt;
  / __/ __ __ ___/ / ___   /  |/  / ___   ___  / / &lt;br /&gt;
 _\ \  / // // _  / / _ \ / /|_/ / / -_) (_-&amp;lt; / _ \&lt;br /&gt;
/___/  \_,_/ \_,_/  \___//_/  /_/  \__/ /___//_//_/&lt;br /&gt;
______________________________________________________&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 _______            __         _______                __    &lt;br /&gt;
|     __|.--.--..--|  |.-----.|   |   |.-----..-----.|  |--.&lt;br /&gt;
|__     ||  |  ||  _  ||  _  ||       ||  -__||__ --||     |&lt;br /&gt;
|_______||_____||_____||_____||__|_|__||_____||_____||__|__|&lt;br /&gt;
    SudoMesh Monitoring Server - Fall, 2014                                                          &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ____                  __                                          __         &lt;br /&gt;
/\  _`\               /\ \             /'\_/`\                    /\ \        &lt;br /&gt;
\ \,\L\_\    __  __   \_\ \     ___   /\      \      __     ____  \ \ \___    &lt;br /&gt;
 \/_\__ \   /\ \/\ \  /'_` \   / __`\ \ \ \__\ \   /'__`\  /',__\  \ \  _ `\  &lt;br /&gt;
   /\ \L\ \ \ \ \_\ \/\ \L\ \ /\ \L\ \ \ \ \_/\ \ /\  __/ /\__, `\  \ \ \ \ \ &lt;br /&gt;
   \ `\____\ \ \____/\ \___,_\\ \____/  \ \_\\ \_\\ \____\\/\____/   \ \_\ \_\&lt;br /&gt;
    \/_____/  \/___/  \/__,_ / \/___/    \/_/ \/_/ \/____/ \/___/     \/_/\/_/&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
  ____                _           __  __                _     &lt;br /&gt;
 / ___|   _   _    __| |   ___   |  \/  |   ___   ___  | |__  &lt;br /&gt;
 \___ \  | | | |  / _` |  / _ \  | |\/| |  / _ \ / __| | '_ \ &lt;br /&gt;
  ___) | | |_| | | (_| | | (_) | | |  | | |  __/ \__ \ | | | |&lt;br /&gt;
 |____/   \__,_|  \__,_|  \___/  |_|  |_|  \___| |___/ |_| |_|&lt;br /&gt;
     SudoMesh Monitoring Server - Fall, 2014&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chrisjx</name></author>
	</entry>
</feed>