<?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>Brettic.us &#187; Linux</title>
	<atom:link href="http://brettic.us/category/tech/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://brettic.us</link>
	<description>Web devlopment and life in general</description>
	<lastBuildDate>Fri, 03 Sep 2010 16:06:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Zenoss: IT Monitoring for the overworked</title>
		<link>http://brettic.us/2010/06/24/zenoss-it-monitoring-for-the-overworked/</link>
		<comments>http://brettic.us/2010/06/24/zenoss-it-monitoring-for-the-overworked/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 19:19:15 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://brettic.us/?p=321</guid>
		<description><![CDATA[I&#8217;ve been with my current company for 10+ years (at the time of writing.) It&#8217;s been a roller-coaster ride with ownership changing hands several times. But I&#8217;ve managed to hang on and I&#8217;m still riding even after the most recent change in drivers. Unfortunately, many have fallen out over the years and that leaves me [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://brettic.us/wp-content/uploads/2010/06/zenoss-network-monitoring.png"><img class="alignleft size-full wp-image-323" title="zenoss-network-monitoring" src="http://brettic.us/wp-content/uploads/2010/06/zenoss-network-monitoring.png" alt="zenoss network monitoring" width="73" height="73" /></a>I&#8217;ve been with my current company for 10+ years (at the time of writing.) It&#8217;s been a roller-coaster ride with ownership changing hands several times. But I&#8217;ve managed to hang on and I&#8217;m still riding even after the most recent change in drivers. Unfortunately, many have fallen out over the years and that leaves me to do two jobs: Web programmer and IT Administrator. Finding time to do both jobs well can be a problem to say the least.<span id="more-321"></span></p>
<h3>Nagios is for IT Teams only</h3>
<p>The last network cut-over I did was back in November of 2009 (and lasted through December.) After getting all of our services set up, I did some research and decided to give nagios a spin. What I found is that it&#8217;s very time consuming to install and configure. Furthermore, I ran out of time and had to leave much of the network monitoring incomplete. I just didn&#8217;t have the time to configure each machine with all those wonderful plugins, etc.</p>
<h3>Desperation is the Mother of Necessity</h3>
<p>Last week, a relatively significant Website that a partner company hosts in our network went down (well, it&#8217;s their network also,  but I&#8217;m kinda the head overseer since they too are very small now. This is an odd relationship really.) After dusting off my ruby-on-rails deployment skills to attempt to find out why rails had fails (bad pun!) I found that a postgres database had stopped responding because its server&#8217;s /var partition had filled up. Had I had the time to totally incorporate nagios, I would have gotten a timely email or SMS stating that a partition was nearly full. It&#8217;s been several months since i dabbled with nagios, but it seems like configurations like this took some time to get up and running. So, this time, I went searching for a new IT monitoring solution. As luck would have it, I was recently listening to a podcast on the TWiT networked called <a title="FLOSS Weekly" href="http://twit.tv/floss" target="_blank">FLOSS Weekly</a>. As a guest, they had the community manager for <a title="Zenoss" href="http://community.zenoss.org/docs/DOC-2614" target="_blank">zenoss</a> on that episode. He mentioned that zenoss is easy to configure, so I took a look. I also took a look at others (opennms, zabbix to name a few.) In the end, there were two things I liked about the prospect of zenoss that swayed me in that direction:</p>
<ol>
<li>Python/Zope (in case I ever needed to look at the source. I know python to an extent.)</li>
<li>No client software to install just native snmp.</li>
</ol>
<p>The latter one was the clincher. Remember that I said time was not a luxury I had? So far zenoss has performed this role amazingly well.</p>
<h3>Zenoss to the Rescue</h3>
<p>Zenoss has a pretty recent<a title="zenoss vmware appliance" href="http://www.zenoss.com/download/links#softwareappliance" target="_blank"> </a><a title="zenoss vmware appliance" href="http://www.zenoss.com/download/links#softwareappliance" target="_blank">vmware player appliance</a> that includes a linux OS with zenoss installed and configured. I just happened to have a vmware ESXi server. I did a little research, and all you need to do to convert from vmware player to vmware ESX(i) is to use a single command (this requires turning on ssh on your ESXi box in case you have the free version like us. Otherwise there&#8217;s vCli or something else with a name I can&#8217;t recall ):</p>
<p><code>vmkfstools -i zenoss_player_file.vmdk zenoss_new.vmdk</code></p>
<p>Make sure you change the filenames accordingly. After that, I created a virtual server (Redhat 32bit.) I gave it  1 GB of RAM and a couple of processors. Be sure to select the option to use an existing disk from the datastore (I got mine in there in the first place using  wget via SSH console in case you wondered.)</p>
<p>Finally, I booted the new server and changed the defaults. I now had a fully-functioning zenoss core server with minimal effort on my part.</p>
<h3>SNMP Client Configurations</h3>
<p>This part was easy to implement but I struggled to find the best way to go about it. Ultimately, I ended up using the config file from a screencast tutorial. <a title="Zenos Server monitoring" href="http://castix.wordpress.com/2009/03/02/installing-zenoss-and-monitoring-server-via-snmp/">This screencast from Castix was a big help</a>. I made a slight change to &#8220;lock down&#8221; SNMP a bit better so just my zenoss server can access SNMP data:</p>
<p><code>## sec.name source community<br />
com2sec notConfigUser 10.77.1.29 public<br />
com2sec notConfigUser localhost public</code></p>
<p>&#8230;where 10.77.1.29 is the IP for my zenoss server.</p>
<p>On my Debian boxes I had to make a slight change to the /etc/defaults/snmp file to allow SNMP services to be exposed to remote hosts (see the screencast link above.) For my CentOS boxen, I noticed that I all had to do was replace the snmpd.conf file.</p>
<p>I did a simple Device Add and everything useful to know about the box is automatically gathered and displayed. From there you just setup your alert rules and you now have IT monitoring. Easy by comparison!</p>
<p>I&#8217;m still learning a thing or two in my spare time but so far, zenoss is just great! For now, I&#8217;m a new zenoss convert.</p>
]]></content:encoded>
			<wfw:commentRss>http://brettic.us/2010/06/24/zenoss-it-monitoring-for-the-overworked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Downloading WGA validated Microsoft Programs with Ubuntu, IE4Linux, and Wine.</title>
		<link>http://brettic.us/2007/06/29/downloading-wga-validated-microsoft-programs-with-ubuntu-ie4linux-and-wine/</link>
		<comments>http://brettic.us/2007/06/29/downloading-wga-validated-microsoft-programs-with-ubuntu-ie4linux-and-wine/#comments</comments>
		<pubDate>Fri, 29 Jun 2007 17:43:43 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Here's a screencast video I made to demonstrate downloading the ie7 installer (the installer still does a WGA check but once you have the file, you can try and hack it.) I used firefox so I could pretend to be a browser running ie in windows to get past the first check. This is hard to see (I should have set my resolution higher.) By the way, I did not discover this. I heard it on a TWiT podcast and wanted to confirm this. So much for WGA checking.

Note: I should have increased my screen resolution. If you want to read what I did, following the embedded youtube link.

]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a screencast video I made to demonstrate downloading the ie7 installer (the installer still does a WGA check but once you have the file, you can try and hack it.) I used firefox so I could pretend to be a browser running ie in windows to get past the first check. This is hard to see (I should have set my resolution higher.) By the way, I did not discover this. I heard it on a TWiT podcast and wanted to confirm this. So much for WGA checking.</p>
<p>Note: I should have increased my screen resolution. If you want to read what I did, follow the embedded youtube link.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="wmode" value="transparent" /><param name="src" value="http://www.youtube.com/v/vcVDs0Lhsik" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/vcVDs0Lhsik" wmode="transparent"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://brettic.us/2007/06/29/downloading-wga-validated-microsoft-programs-with-ubuntu-ie4linux-and-wine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 1/23 queries in 0.026 seconds using memcached

Served from: brettic.us @ 2010-09-06 06:35:48 -->