<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; web monitoring</title> <atom:link href="http://www.ghacks.net/tag/web-monitoring/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 17:32:23 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Let Munin monitor your servers and network</title><link>http://www.ghacks.net/2009/11/05/let-munin-monitor-your-servers-and-network/</link> <comments>http://www.ghacks.net/2009/11/05/let-munin-monitor-your-servers-and-network/#comments</comments> <pubDate>Thu, 05 Nov 2009 19:50:59 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Hardware]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Network Monitoring]]></category> <category><![CDATA[system monitoring]]></category> <category><![CDATA[ubuntu]]></category> <category><![CDATA[web monitoring]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=18152</guid> <description><![CDATA[If you are looking for an easy to install, configure, and use systems monitor, look no further. The Munin is a network/systems monitor that presents all its data is easy to read graphs. Munin is setup as a server/client (or node) which makes this system very flexible. Munin also offers an extensive plugins library that [...]]]></description> <content:encoded><![CDATA[<p>If you are looking for an easy to install, configure, and use systems monitor, look no further. The Munin is a network/systems monitor that presents all its data is easy to read graphs. Munin is setup as a server/client (or node) which makes this system very flexible. Munin also offers an extensive plugins library that extends that flexibility to include the monitoring of many various systems and even applications.</p><p>And what&#8217;s best is you don&#8217;t have to jump through a bunch of hoops to get munin up and running. In this tutorial you will see how to get your Munin server up and running and monitoring your system and a sample client configuration that will monitor a client node. As you might expect, I will continue to build upon the Ubuntu Server series and install Munin on a Ubuntu 9.04 installation. NOTE: This same installation will work on Ubuntu 9.10 as well.<span
id="more-18152"></span><strong>Server installation/configuration</strong></p><p>Installing Munin on the Ubunter server is simple. Open up a terminal window (or log into your server console) and issue the command:</p><p><em>sudo apt-get install munin </em></p><p>The above command will also install <em>munin-node</em> which is the client-side software. This is fine, so let it happen. Upon installation Munin will install the configuration files in <strong>/etc/munin,</strong> the executable in <strong>/etc/init.d/, </strong>and the web files in <strong>/var/www/munin</strong>.</p><p>The first thing that will need to be done is to configure your server correctly. Open up the <strong>/etc/munin/munin.conf</strong> file and look for this section:</p><p><code>dbdir     /var/lib/munin<br
/> htmldir    /var/www/munin/<br
/> logdir     /var/log/munin<br
/> rundir     /var/run/munin</code></p><p>Out of the box, this will work just fine.  But if you have any other needs that would dictate any of these directives change, change them here.</p><p>The next section to look for is this:</p><p><code># a simple host tree<br
/> [localhost.localdomain]<br
/> address 127.0.0.1<br
/> use_node_name yes</code></p><p>What the above section does is monitor the server Munin is installed on. This configuration only needs to change if you have specific requirements. Also, if you need to add a client (node), this is where you add it.</p><p>In order to instruct Munin to monitor a remote machine you need to add a new host tree. Say, for instance, you want to monitor a machine on the IP addres 192.168.1.150. To do this you would add:</p><p><code>[MACHINE NAME]<br
/> address 192.168.1.150<br
/> use_node_name yes</code></p><p>Where MACHINE NAME is a name to indicate the job (or user, or department, etc) of the machine.</p><p>Once you have these configurations and save the file. Now to move on to the <strong>/etc/munin/munin-node.conf</strong> file. There is only one configuration you would need to add in order to monitor nodes. Look for this line:</p><p><em>allow ^127\.0\.0\.1$</em></p><p>Beneath this line you will want to add (in order to enable our new node):</p><p><em>allow ^192\.168\.1\.1$</em></p><p>Save this file and restart the Munin server with the command:</p><p><em>/etc/init.d/munin restart</em></p><p><strong>Installing for client</strong></p><p>All you need to do for your client is to install the <em>munin-node</em> package. To do this issue the command:</p><p><em>sudo apt-get install munin-node</em></p><p>On the client machine. Now start munin-node with the command:</p><p><em>sudo /etc/init.d/munin-node start</em></p><p>Munin will begin to monitor this client now.</p><p><strong>The graphs</strong></p><p>When all is up and running, point your browser to http://ADDRESS_TO_SERVER/munin/</p><div
id="attachment_18157" class="wp-caption alignleft" style="width: 190px"><a
rel="attachment wp-att-18157" href="http://www.ghacks.net/2009/11/05/let-munin-monitor-your-servers-and-network/munin_overview/"><img
class="size-thumbnail wp-image-18157 " src="http://www.ghacks.net/wp-content/uploads/2009/11/munin_overview-300x245.png" alt="Figure 1" width="180" height="147" /></a><p
class="wp-caption-text">Figure 1</p></div><p>Where ADDRESS_TO_SERVER is the actual address of the server. Very shortly after you install Munin you may only see a listing of the nodes being watched (see Figure 1). This is okay, it will take some time before data is actually collected.</p><p>After a while you will notice data collected and graphs developing. If you click on the <strong>localhost.localdomain</strong> link you will see data beginning to collect (see Figure 2).</p><p><strong> </strong></p><p><strong></p><div
id="attachment_18158" class="wp-caption alignright" style="width: 310px"><a
rel="attachment wp-att-18158" href="http://www.ghacks.net/2009/11/05/let-munin-monitor-your-servers-and-network/munin_early_data/"><img
class="size-thumbnail wp-image-18158" src="http://www.ghacks.net/wp-content/uploads/2009/11/munin_early_data-300x300.png" alt="Figure 2" width="300" height="300" /></a><p
class="wp-caption-text">Figure 2</p></div><p>Final thoughts</strong></p><p>Munin is a very powerful tool that allows you to gather crucial data about your systems and networks. Now that you have Munin installed and running you can begin to extend the server by adding more and more clients as well as plugins. You will quickly find Munin to be a very valuable tool for data analysis on your various systems and networks.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/11/05/let-munin-monitor-your-servers-and-network/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
