<?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/"
	>

<channel>
	<title>Conner's Blog &#187; administration</title>
	<atom:link href="http://connermccall.com/topic/administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://connermccall.com</link>
	<description>asking questions and failing to answer them</description>
	<pubDate>Tue, 06 Jan 2009 23:07:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>System Monitoring Applications</title>
		<link>http://connermccall.com/20080820/system-monitoring-applications/</link>
		<comments>http://connermccall.com/20080820/system-monitoring-applications/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 02:01:11 +0000</pubDate>
		<dc:creator>Conner</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[administration]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[monitoring]]></category>

		<category><![CDATA[munin]]></category>

		<category><![CDATA[nagios]]></category>

		<guid isPermaLink="false">http://connermccall.com/?p=217</guid>
		<description><![CDATA[When was the last time you knew what was normal for your server?  Have you ever had a suspicion some process was eating up your resources? Ever left for vacation and want&#8217;d to know if your web server went down?  These are some of the questions that a good system monitoring application can help answer.
Before [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><a href="http://www.flickr.com/photos/connerm/2781638644/"><img class="alignleft" title="Mysql Threads By Week" src="http://farm3.static.flickr.com/2124/2781638644_a0952072bb_o.png" alt="" width="317" height="169" /></a>When was the last time you knew what was normal for your server?  Have you ever had a suspicion some process was eating up your resources? Ever left for vacation and want&#8217;d to know if your web server went down?  These are some of the questions that a good system monitoring application can help answer.</p>
<p style="text-align: left;">Before I left for vacation I installed <a title="Munin" href="http://www.google.com/url?sa=t&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fmunin.projects.linpro.no%2F&amp;ei=v42hSOTCFpnepgTB8Oht&amp;usg=AFQjCNG63E12jzDyN0U3E1Nt-wPfVZ0zGg&amp;sig2=Ot_h3_VA3S1yt4EVFDcyPQ">Munin</a> and <a title="Nagios" href="http://www.google.com/url?sa=t&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fwww.nagios.org%2F&amp;ei=3o2hSJWgNqXopgS_yLxj&amp;usg=AFQjCNFF2-zTNZdLq2aj9eTHCw7EeTTRqw&amp;sig2=Zqq9nm_yInY3VWiTMDx8bw">Nagios</a>.  These are two mature system monitoring applications.  Munin keeps track of various bits of system information; the number of apache processes, system load, mysql queries, and other useful statistics.  Munin&#8217;s benefit is it keeps a historical record of system status and displays it in graph format over day, week, month, and year.  This can allows you to monitor your servers to determine if anything out of the ordinary is occurring.</p>
<p style="text-align: left;"><a href="http://www.flickr.com/photos/connerm/2782225905/"><img class="alignright" title="Nagios Status" src="http://farm4.static.flickr.com/3202/2782225905_3356790c6e.jpg?v=0" alt="" width="381" height="187" /></a>Nagios is well suited to monitoring your system and services to determine if there are problem and send alerts if detected. It can monitor your apache services, ssh, disk space, and other critical apps.  Though Nagios does allow you to review some historical data, Munin is better suited to this task.  When I first installed, Nagios was configured to monitor http, ssh, root disk space, processes, number of users, and swap space.  These were sufficient for my needs, but it didn&#8217;t setup alerting.  I was kind of short on time, and Nagio&#8217;s configuration is complicated, so I didn&#8217;t get alerts setup before I left.  This defeated the purpose of installing Nagios to monitor my server while I was on vacation but I could still log in and check my system status if I wished.</p>
<p style="text-align: left;">One caveat to consider when installing Nagios on a single server, if you are monitoring the localhost and something goes wrong which makes the system inaccessible, it doesn&#8217;t do much good to get alerted to the problem.  The best approach would be to setup a separate monitoring system.  Using <a title="Xen homepage" href="http://www.xen.org/">Xen</a> or another virtualization product would be a good idea in the case of a single piece of hardware.</p>
<p style="text-align: left;">Remember that even with good monitoring software installed, Murphy&#8217;s law applies.  This means that your monitoring system will fail before any of your other systems.</p>
]]></content:encoded>
			<wfw:commentRss>http://connermccall.com/20080820/system-monitoring-applications/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Build Conky From Source in Ubuntu</title>
		<link>http://connermccall.com/20080728/build-conky-from-source-in-ubuntu/</link>
		<comments>http://connermccall.com/20080728/build-conky-from-source-in-ubuntu/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 23:38:33 +0000</pubDate>
		<dc:creator>Conner</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[administration]]></category>

		<category><![CDATA[conky]]></category>

		<category><![CDATA[how-to]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[performance]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://connermccall.com/?p=122</guid>
		<description><![CDATA[I&#8217;ve been using conky for about a week now, and I kept noticing that it would use approximatly 1-5% of my cpu quite frequently.  Not that I don&#8217;t have the cpu cycles to spare, but that seemed a little goofy.  I messed around with the .conkyrc configuration file but it still seemed to take up [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a title="Conky's Home Page" href="http://conky.sourceforge.net/">conky</a> for about a week now, and I kept noticing that it would use approximatly 1-5% of my cpu quite frequently.  Not that I don&#8217;t have the cpu cycles to spare, but that seemed a little goofy.  I messed around with the .conkyrc configuration file but it still seemed to take up a bit too much of my cpu.</p>
<p>Falling back to my days of Gentoo, I decided that the best thing to try would be to build conky from source. Here are the steps I took on Ubuntu 8.04 amd64.  First I downloaded the source, this should be done from conky&#8217;s website.  I downloaded the latest version which is 1.5.  Then I extracted the source file I downloaded the .tar.bz file so I used the following command.</p>
<p style="padding-left: 30px;">tar -xjf conky-1.6.0.tar.bz2</p>
<p>I then moved into the directory created using cd</p>
<p style="padding-left: 30px;">cd conky-1.6.0/</p>
<p>These are the configure options I used.</p>
<p style="padding-left: 30px;">./configure &#8211;enable-wlan &#8211;enable-nvidia &#8211;enable-rss &#8211;enable-network</p>
<p>Conky&#8217;s configure is excellent, it runs quickly and gives you a list of all the options that have been enabled. Review this file and be sure that everything you want conky to be able to do is enabled.</p>
<p>Then run the compile</p>
<p style="padding-left: 30px;">make</p>
<p>Then Install</p>
<p style="padding-left: 30px;">sudo make install</p>
<p>There you are done and you should find conky runs smoother on your system.  Of course this isn&#8217;t guaranteed but it can&#8217;t hurt.</p>
]]></content:encoded>
			<wfw:commentRss>http://connermccall.com/20080728/build-conky-from-source-in-ubuntu/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
