<?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>Playing With Wire &#187; Search Results  &#187;  cacti</title>
	<atom:link href="http://www.playingwithwire.com/search/cacti/feed/rss2/" rel="self" type="application/rss+xml" />
	<link>http://www.playingwithwire.com</link>
	<description>The Internet Startup Blog</description>
	<lastBuildDate>Wed, 20 Jul 2011 18:45:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Survey of uptime monitoring solutions</title>
		<link>http://www.playingwithwire.com/2008/10/survey-of-uptime-monitoring-solutions/</link>
		<comments>http://www.playingwithwire.com/2008/10/survey-of-uptime-monitoring-solutions/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 21:04:42 +0000</pubDate>
		<dc:creator>Viktor Petersson</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://www.playingwithwire.com/2008/10/survey-of-uptime-monitoring-solutions/</guid>
		<description><![CDATA[If you&#8217;re a regular here at Playing With Wire, you&#8217;ve probably already read our articles about Cacti. While Cacti does do a great job on visualizing load on your servers, it does not provide (by default) alerts when a server goes down. When we launched YippieMove we quickly realized that we needed a reliable 3rd [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re a regular here at Playing With Wire, you&#8217;ve probably already read our articles about <a href="http://www.playingwithwire.com/?s=cacti" >Cacti</a>. While Cacti does do a great job on visualizing load on your servers, it does not provide (by default) alerts when a server goes down. </p>
<p>When we launched <a href="http://www.yippiemove.com" >YippieMove</a> we quickly realized that we needed a reliable 3rd party that could ping our servers from several locations across the globe to ensure that we were not experiencing any problems with the access to our site. As we are quite tech-savvy here at WireLoad, we had a hard time justifying paying more than a few bucks per months for a service like this, since the service is so easy to write (we actually did write our own uptime-monitor with alerts a few years back using Curl, Crontab and some other tools, but would rather outsource this service). </p>
<p>So the search began. We required a few thing for this service:</p>
<ul>
<li>Several servers across the globe that ping our servers.</li>
<li>Cheap. Preferably free (we don&#8217;t mind some ads).</li>
<li>Decent statistics showing response-times etc.</li>
<li>Reliable alert system by e-mail (luckily most US Cell providers allow you to send email to your phone, using your-number@theirdomain.com.)</li>
<li>Must allow monitoring of both SSL and non-SSL servers.</li>
<li>A minimum of 4 monitors (we needed to monitor playingwithwire.com, wireload.net, yippiemove.com [with and without SSL]), but it would also be great if we could monitor our mail-server.</li>
<li>The more frequent the pings the better.</li>
<li>No back-links required.</li>
</ul>
<p>One of the most impressive sites we found was <a href="http://www.pingdom.com" >Pingdom</a>, a small Swedish firm that is trusted by companies such as IBM, Loopt and Twitter (wow, they must spend more bandwidth on alerts than pings with Twitter for sure). What we really liked about Pingdom was the general look and feel of their site. It feels fresh, responsive and reliable. The pricing is definitely within reason: they charge $9.95 for their Basic plan, which includes 5 checks and 20 SMS. </p>
<p>The next site we stumbled upon was <a href="http://www.siteuptime.com" >SiteUptime</a>. The site has a decent look and feel (but does not come close to Pingdom). After examining their pricing, we realized that we needed their Advanced plan, since none of their lower plans allowed SSL monitoring. The price for this plan is $10 per month. While their site and visualization does not come close to Pingdom, they do give you 10 monitors, as apposed to 5 monitors with Pingdom, with their Advanced plan. </p>
<p>Another site we found was <a href="http://www.pingability.com" >Pingability</a>. The general look and feel of the site is OK, but the service offered was not great. The free plan requires a back-link (which we think is unacceptable for a professional site). At the same time the premium service, for $9.95, only offers one monitor. </p>
<p>Next up for review is <a href="http://www.wormly.com" >Wormly</a>. Priced at $9 per month, their Bronze-plan seems to be a reasonable alternative. The plan includes 5 monitors and they ping your server 5 times every 5 minutes, which is good enough. Unfortunately there&#8217;s a big &#8216;but&#8217; &#8212; no SSL monitoring (at least as far as we can tell). That&#8217;s a deal-breaker. To Wormly&#8217;s defense though, they do offer something that sets them apart from the competition, namely the &#8216;Server Health Monitor.&#8217; This service is something similar to Cacti (it definitely looks <a href="http://oss.oetiker.ch/rrdtool/" >RRDTool</a>-based), that visualizes server-load. However, they will probably have a hard time selling this service to security-concerned organizations, as they require a monitoring-client to be installed on the server (it&#8217;s hard to get this data otherwise).</p>
<p><a href="http://basicstate.com/" >Basicstate</a> is the final service we will cover in this article. A lot can be said about Basicstate&#8217;s web design (it&#8217;s _really_ bad). However, they do offer a very competitive service. They ping every 15 minutes and allows you monitor as many sites as you want (including SSL). While it might not be a very pleasing site to browse, they do offer sufficient statistics (with graphs) on their site. In addition to that, they also send you daily reports about all your monitored sites (with time data for dns, connect, request, ttfb, ttlb). The only drawback we discovered with Basicstate is that you cannot monitor the same domain-name with SSL and non-SSL (sub-domains is fine though). This may or may not be an issue for you. </p>
<p>The verdict? We settled for Basicstate. Later on, as we grow, we might consider switching to Pingdom. We&#8217;re happy with Basicstate for now. Although we did experiencing some false alerts, the guy who runs the site (I assume), Spenser, did a great job on providing an in-depth explanation to the alerts by email. So if you&#8217;re on a tight budget, Basicstate is our recommendation. If you have more money to spend, go for Pingdom. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.playingwithwire.com/2008/10/survey-of-uptime-monitoring-solutions/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Monitoring Remote Hosts With Cacti, Part II</title>
		<link>http://www.playingwithwire.com/2008/08/monitoring-remote-hosts-with-cacti-part-ii/</link>
		<comments>http://www.playingwithwire.com/2008/08/monitoring-remote-hosts-with-cacti-part-ii/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 18:25:42 +0000</pubDate>
		<dc:creator>Viktor Petersson</dc:creator>
				<category><![CDATA[Cacti]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[SNMP]]></category>

		<guid isPermaLink="false">http://www.playingwithwire.com/2008/08/monitoring-remote-hosts-with-cacti-part-ii/</guid>
		<description><![CDATA[Since we started writing here at Playing With Wire, we&#8217;ve managed to write two articles about Cacti. In January 2007 we introduced Cacti in the article &#8220;What’s Your Utilization, Kenneth?&#8220;. Six months later we wrote another article about how to monitor remote hosts with Cacti. While the setup we described in these article worked out [...]]]></description>
			<content:encoded><![CDATA[<p>Since we started writing here at Playing With Wire, we&#8217;ve managed to write two articles about <a href="http://www.cacti.net" >Cacti</a>. In January 2007 we introduced Cacti in the article &#8220;<a href="http://www.playingwithwire.com/2007/01/whats-your-utilization-kenneth/" >What’s Your Utilization, Kenneth?</a>&#8220;. Six months later we wrote another article about <a href="http://www.playingwithwire.com/2007/06/monitoring-remote-hosts-with-cacti/" >how to monitor remote hosts</a> with Cacti.</p>
<p>While the setup we described in these article worked out great, there were a few things that we didn&#8217;t really like about the setup:</p>
<ol>
<li>We connected with SSH from the Cacti server to the server we wanted to monitor <strong>(security issue)</strong>.</li>
<li>We were using regular SSH tunnels. While these are great, they do have a tendency to die <strong>(reliability issue)</strong>.</li>
<li>Due to security and portability, we wanted to isolate Cacti to a separate server (or VM).</li>
</ol>
<h3>1. Turning the tunneling around</h3>
<p>The reason why we didn&#8217;t like to have the Cacti server connecting to the servers was simply that we needed one more user account on the remote servers. If these are production servers, it&#8217;s desirable to keep the publicly accessible user accounts to a minimum. </p>
<p>As it turned out, replacing the &#8216;-L&#8217; with a &#8216;-R&#8217; in the tunneling command turns the tunnel around. Instead of opening a port on the local machine, it opens a forwarded port on the remote server. By doing this, we can connect from the remote server to the Cacti server and still fulfilling the same purpose (but without creating an additional user on the remote server).</p>
<h3>2. Creating more reliable tunnels</h3>
<p>One of the major problems we were having with the setup was that the tunnels died for one reason or another. We initially solved this by writing a bash-loop that automatically reloaded the tunnel if that occurred. However, we were still experiencing some problems with dead tunnels.</p>
<p>The solution to the problem was <a hrer="http://www.harding.motd.ca/autossh/" >autossh</a>, a simple front-end to SSH that keeps the tunnel alive.</p>
<p>With autossh, we could simply launch the tunnels at boot-time on the remote server (in rc.local) without having to worrying about them dying. As we were implementing this on a number of servers, we wrote a small bash-script that launches autossh with the server-specific settings. The script looks like this:</p>
<blockquote><p>
#!/bin/sh<br/>
REMOTEPORT=2001<br/>
MONITORPORT=29001<br/>
/usr/bin/autossh -M $MONITORPORT -q -f -N -R<br/>
127.0.0.1:$REMOTEPORT:127.0.0.1:161 user@cacti.server.tld
</p></blockquote>
<p>This script creates a tunnel on port 2001 ($REMOTEPORT) on the Cacti host (cacti.server.tld) that goes to port 161 on the local machine (in this case, the server we want to monitor).</p>
<h3>Isolate Cacti</h3>
<p>In order to make our monitoring both more secure and portable, we felt that we wanted to isolate the monitoring to a separate Virtual Machine. This was easily done by creating a new VM under <a href="http://www.vmware.com/products/server/" >VMware Server</a>. If you&#8217;re lazy, there are ready-to-use VMware images to download on the <a href="http://forums.cacti.net" >Cacti forum</a>.</p>
<h3>Bonus: Monitor several hosts with one tunnel</h3>
<p>While reading the Cacti forum the other day, I ran across <a href="http://forums.cacti.net/about28175.html" >this</a> article that talks about SNMP Proxies. By adding an extra entry in the SNMP config file, it&#8217;s possible for a single host to relay SNMP information about the other hosts on the network. This is very useful if you&#8217;re trying to monitor more than one host on the same network, as you don&#8217;t need one tunnel per server (beware that this creates a single-point-of-failure though).</p>
<h3>Conclusion</h3>
<p>After implementing these changes, we feel much more comfortable with our Cacti setup. Not only is it more reliable with more robust tunnels, but it&#8217;s also more secure.</p>
<p>The next Cacti-related task we will be looking at is to design custom plug-ins to monitor our own apps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.playingwithwire.com/2008/08/monitoring-remote-hosts-with-cacti-part-ii/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Monitoring Remote Hosts With Cacti</title>
		<link>http://www.playingwithwire.com/2007/06/monitoring-remote-hosts-with-cacti/</link>
		<comments>http://www.playingwithwire.com/2007/06/monitoring-remote-hosts-with-cacti/#comments</comments>
		<pubDate>Thu, 21 Jun 2007 19:00:57 +0000</pubDate>
		<dc:creator>Viktor Petersson</dc:creator>
				<category><![CDATA[guide]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.playingwithwire.com/2007/06/monitoring-remote-hosts-with-cacti/</guid>
		<description><![CDATA[A while back we wrote an article called What&#8217;s Your Utilization, Kenneth. In that article we talked about a really cool web-app called Cacti. Today we will take this one step further by describing how to monitor remote servers using SSH tunnels. In the scope of this article, we assume that you already have one [...]]]></description>
			<content:encoded><![CDATA[<p>A while back we wrote an article called <em><a href="http://www.playingwithwire.com/2007/01/whats-your-utilization-kenneth/" >What&#8217;s Your Utilization, Kenneth</a></em>. In that article we talked about a really cool web-app called <a href="http://www.cacti.net" >Cacti</a>. Today we will take this one step further by describing how to monitor remote servers using SSH tunnels. </p>
<p>In the scope of this article, we assume that you already have one Linux or Unix server configured with Cacti running. Moreover, we also assume that you have another remote server that you want to monitor (why else would you read this article?). </p>
<p>First we start by setting up the remote server. The first thing we need to do is to set up <a href="http://net-snmp.sourceforge.net" >Net-SNMP</a>. If you&#8217;re running FreeBSD, chances are that you already have this installed. If so, all you need to do is to change your community string and set up the daemon to bind on port 161/tcp instead of 161/udp. To do this, change/add the following lines in your snmpd.conf (/usr/local/share/snmp/snmpd.conf in FreeBSD):</p>
<blockquote><p>
com2sec local     localhost       public<br/>
agentaddress tcp:161
</p></blockquote>
<p>Once this is done, go on and restart the daemon.</p>
<p>To test that the SNMP daemon is working properly, try to run the following command:</p>
<blockquote><p>
# snmpwalk -v 1 -c public tcp:localhost:161
</p></blockquote>
<p>If your screen gets flooded with information, it worked. If not, please look over your log-files to find out what went wrong.</p>
<p>Next we need to create a secure user which we will be able to use to login from the Cacti-machine onto the remote machine. To maximize security, we suggest that that user has &#8216;nologin&#8217; as shell and uses public key authentication instead of password. However, we will not cover how to create this user in this guide. Ask Google for help if you need it.</p>
<p>Repeat this for all hosts you want to remotely monitor.</p>
<p>That&#8217;s it for the remote server, now let&#8217;s move on to the Cacti host.</p>
<p>First we want to create a script that sets up the tunnel to the remote server. We suggest that you create a new user that will be running these tunnels (i.e. snmp). In order to make it easier to manage the tunnel (or tunnels if you have several hosts), we will create a bash-script that initializes the tunnel(s). In the home directory of the the user you created, create a file called tunnels.sh with the following contents:</p>
<blockquote><p>
#!/bin/sh<br/>
rm /home/snmp/tunnel.log</p>
<p># server1.xyz.net<br/>
ssh  -N -L 16000:127.0.0.1:161 snmp@server1.xyz.net >> /home/snmp/tunnel.log &#038;</p>
<p># server2.xyz.net<br/>
ssh  -N -L 16001:127.0.0.1:161 snmp@server2.xyz.net >> /home/snmp/tunnel.log &#038;
</p></blockquote>
<p>Note that this initalize two tunnels, one to server 1 (on port 16000)  and one to server 2 (on port 16001. Also, don&#8217;t forget to chmod the file so that you can execute it, by typing <em>chmod +x tunnels.sh</em>.</p>
<p>Next we want to start up the tunnels using the snmp-user we created earlier. To do this run:</p>
<blockquote><p>
#sudo -u snmp /home/snmp/tunnels.sh
</p></blockquote>
<p>If everything went fine, you should now have two tunnels running; one on port 16000 and one on port 16001. Now let&#8217;s test the tunnels before we move on to Cacti. </p>
<blockquote><p>
# snmpwalk -v 1 -c public tcp:localhost:16000<br/>
# snmpwalk -v 1 -c public tcp:localhost:16001
</p></blockquote>
<p>This should hopefully give you the the same output as you previously received when executing snmpwalk locally on the remote hosts. If this went well, all you need to do now is to add the hosts to Cacti.</p>
<p>First you need to log into Cacti with an administrative account. Then got to &#8220;Create Device.&#8221; In the Create Device field, as shown in the screenshot bellow.<br/>
<a href="http://www.playingwithwire.com/wp-content/uploads/2007/06/server1.png"  title="Create Device" ><img hspace="auto"  src="http://www.playingwithwire.com/wp-content/uploads/2007/06/server1_thumb.png"  alt="Create Device"  class="aligncenter"   style="display: block; margin-left: auto; margin-right: auto;"/></a></p>
<blockquote><p>
Description: server1.xyz.net<br/>
Hostname: tcp:127.0.0.1<br/>
Host Template: ucd/net SNMP Host<br/>
SNMP Community: public<br/>
SNMP Version: Version 1<br/>
SNMP Port: 16000
</p></blockquote>
<p>After you&#8217;ve filled out the proper data, hit &#8216;Create.&#8217; At the next page, just select the data you want to graph, and then hit &#8216;Next.&#8217;</p>
<p>That should be all you need to graph remote hosts. Now you may want to go ahead and add the host to a tree so that you can display it in the &#8216;Graph&#8217; tab.</p>
<div id="imatterlinks" >
<a href="http://www.playingwithwire.com/cuzimatter/"  target="_blank"  style="white-space: nowrap;" ><img src="http://www.playingwithwire.com/cuzimatter/images/cuzimatter.gif" /></a> &nbsp;<a href="http://digg.com/submit?phase=2&amp;url=http://www.playingwithwire.com/2007/06/monitoring-remote-hosts-with-cacti/&amp;title=Monitoring%20Remote%20Hosts%20With%20Cacti"  style="white-space: nowrap;" ><img src="http://digg.com/img/badges/16x16-digg-guy.gif"  alt="Digg This!" /> </a>&nbsp;<a href="http://reddit.com/submit?url=http://www.playingwithwire.com/2007/06/monitoring-remote-hosts-with-cacti/&amp;title=Monitoring%20Remote%20Hosts%20With%20Cacti"  style="white-space: nowrap;" ><img src="http://www.playingwithwire.com/cuzimatter/images/reddithead4.gif"  alt="Reddit!" /> </a>&nbsp;<a href="http://del.icio.us/post?url=http://www.playingwithwire.com/2007/06/monitoring-remote-hosts-with-cacti/;title=Monitoring%20Remote%20Hosts%20With%20Cacti"  style="white-space: nowrap;" ><img src="http://www.playingwithwire.com/cuzimatter/images/delicious.png"  alt="Add to del.icio.us" /> </a>&nbsp;<a href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Description=&amp;Url=http://www.playingwithwire.com/2007/06/monitoring-remote-hosts-with-cacti/&amp;Title=Monitoring%20Remote%20Hosts%20With%20Cacti"  style="white-space: nowrap;" ><img src="http://www.playingwithwire.com/cuzimatter/images/BlinkList.png"  alt="Blink This!" /> </a>&nbsp;<a href="http://www.furl.net/storeIt.jsp?t=Monitoring%20Remote%20Hosts%20With%20Cacti&amp;u=http://www.playingwithwire.com/2007/06/monitoring-remote-hosts-with-cacti/"  target="_blank" ><img src="http://www.playingwithwire.com/cuzimatter/images/furl.gif"  alt="Add to Furl" /> </a>&nbsp;<a href="http://myweb.yahoo.com/myresults/bookmarklet?t=Monitoring%20Remote%20Hosts%20With%20Cacti&amp;u=http://www.playingwithwire.com/2007/06/monitoring-remote-hosts-with-cacti/&amp;ei=UTF-8"  target="_blank" ><img src="http://www.playingwithwire.com/cuzimatter/images/yahoo.png"  alt="Add to Yahoo! My Web" /> </a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.playingwithwire.com/2007/06/monitoring-remote-hosts-with-cacti/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Stop Wasting Money on Computers!</title>
		<link>http://www.playingwithwire.com/2007/04/stop-wasting-money-on-computers/</link>
		<comments>http://www.playingwithwire.com/2007/04/stop-wasting-money-on-computers/#comments</comments>
		<pubDate>Thu, 05 Apr 2007 20:27:19 +0000</pubDate>
		<dc:creator>Viktor Petersson</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.playingwithwire.com/2007/04/stop-wasting-money-on-computers/</guid>
		<description><![CDATA[If you&#8217;re a regular reader of our blog, you may remember an article a while back about a piece of software called Cacti. It&#8217;s a nifty little web-based program that gathers information from a variety of hardware using SNMP. Cacti then presents the data in easily readable graphs. At the time of the article, I [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re a regular reader of our blog, you may remember an <a href="http://www.playingwithwire.com/2007/01/whats-your-utilization-kenneth/" >article a while back</a> about a piece of software called <a href="http://cacti.net/" >Cacti</a>. It&#8217;s a nifty little web-based program that gathers information from a variety of hardware using <a href="http://en.wikipedia.org/wiki/Snmp" >SNMP</a>. Cacti then presents the data in easily readable graphs.</p>
<p>At the time of the article, I installed Cacti for one of the organizations that I administrate the IT infrastructure for. Not only did I get a better idea of the utilization of bandwidth and hardware on the servers, but I could also see how much CPU resources the workstations were consuming. Although I knew that the CPU usage on the servers was quite low, I didn&#8217;t anticipate that the CPU usage on the workstations was quite as low as it was. </p>
<p>The organization is quite a typical office environment with 20-some workstations running mainly our own software plus web, e-mail, word-processing and spreadsheet applications. The hardware is quite modern with CPUs ranging from 1.8 Ghz to 2.7 Ghz Celerons and RAM between 256 MB to 512 MB. All workstations are running Windows 2000 Professional. Before I installed Cacti, I thought that the CPU usage during day use would average maybe 30-40%, with some significant peaks pushing up the average. However, I was quite surprised to find out how wrong my estimate was. It turned out that the average CPU usage on these workstations was less then 10% for all machines, and less than 5% for most of the machines with only few significant spikes. It&#8217;s true that Cacti only polls information from the workstations every 5th minute, but it should still give a quite accurate value these passed months as I&#8217;ve been running it. </p>
<p><img hspace="auto"  src="http://www.playingwithwire.com/wp-content/uploads/2007/04/cacti_monthly.png"  alt="Cacti Monthly"  class="aligncenter"   style="display: block; margin-left: auto; margin-right: auto;"/><center><em>Sample of the monthly view in Cacti</em></center></p>
<p>With this data on hand it&#8217;s quite obvious that we&#8217;ve been over-investing in hardware for the workstations. Even though I would rather overestimate a little bit than underestimate, it seems my estimates were far too high. Even so, when purchasing new workstations, we&#8217;ve pretty much bought the cheapest Celeron available from the major PC vendors, so maybe it would have been hard to adjust the purchases even with these figures on hand. </p>
<p>After some thinking I came up with three possible ways to deal with this problem:<br/>
<strong>1. Ignore it</strong><br/>
I guess this is what most companies does. Maybe the feeling of being &#8216;future-proof&#8217; is valued more than the fact that you have a lot of idle-time. The benefit of doing this is that you have modern hardware that is less likely to break than old hardware. </p>
<p><strong>2. Buy used hardware</strong><br/>
Most people in power would be scared of just thinking about this. However, since there is no really new low-end hardware available, this appears to be the only way. The first problem you will be facing is probably to find uniform hardware. As an administrator, you know how much easier it is to administrate 20 identical workstations, rather than 20 different workstations, both in terms of drivers and hardware maintenance. </p>
<p>The second problem I came thinking of is the reliability problem. Obviously 5-10 years old hardware is more likely to break than brand new hardware, and if it does, there is no warranty to cover it. However, if you buy used hardware your budget will likely afford you to buy a couple of replacement computers. </p>
<p>There are also security implications of buying used computers. Every modern company with an intelligent IT staff is really concerned about security, both software and hardware. If you buy used hardware, there is a chance that it might be compromised (hardware sniffers etc.) I guess the only way to deal with this problem is to carefully physically inspect all the hardware you purchase. </p>
<p>If you or your company do choose to buy used hardware, there are plenty of sources to do so. One of the more interesting pages I found was a company in Australia, called <a href="https://greenpc.infoxchange.net.au/shopcart/browse.chtml" >Green PC</a>, which sells a variety of computers and peripherals for a reasonable price. </p>
<p><strong>3. Donate idle-time (to internal or external use)</strong><br/>
With the rise of clusters, distributed computing and virtualization, there are today plenty of ways to put idle-time to good use. One of the more famous projects that deal with this is <a href="http://folding.stanford.edu" >Folding@Home</a>, which is a project at Stanford University that uses the participants&#8217; idle-CPU/GPU time to do medical research. More recently a project at Berkeley called <a href="http://boinc.berkeley.edu/" >BOINC</a> created a program that lets the user choose between a variety of distributed computing projects within the same application. By participating in such project, the company will create positive publicity (if the participation is significant).</p>
<p>If your company isn&#8217;t interested in donating idle-time to charity/research, they might still be able to use the idle-time. If all your workstations are connected with a high-speed connection (preferably gigabit), you might be able to use the computers in a virtualization environment. However, this is doable in theory, but I don&#8217;t know how well this would work in reality. Another alternative might be to use the idle-time to internal computations. If your company is in the software-business, distributed compiling might be one way to use the CPUs more efficiently. If this is not interesting, there are plenty of distributed computing solutions that might be used for intranets for various calculations that the company might else use a 3rd party company to compute. </p>
<p>Hopefully you have a better idea of how you can use your idle-time more efficiently, but you should be careful though. Some people argue that today&#8217;s computers are not built to run at 100% utilization 24/7. This is a very valid point, since neither the components on the motherboard, nor the fans is likely to stand a 100% utilization for very long without breaking. Therefore it is recommended to try to find an optimal distribution algorithm that spreads the calculation over the nodes without pushing the individual workstations until they break. I have to admit that I don&#8217;t have any available data on how the life-time of the workstations will be affected by running these type of softwares, but I would guess that it will have some impact on the life-time. </p>
<p>To round up this article, I would like to discuss one question that is highly relevant: <strong>&#8220;Why are there no low-end, cheap computers available?&#8221;</strong></p>
<p>If you go to Dell or HP&#8217;s homepage and look for their cheapest &#8216;office&#8217; hardware, it&#8217;s still far more than what is required for most office use. So why is it this way? As I see it, there are several reasons for this, involving both the software and hardware manufacturers in a mutual effort to stimulate sales. Obviously, the hardware manufacturers want us to replace our computers as often as possible, since this is how they make their profits. The software manufacturers on the other hand, want to sell new versions of their softwares by implementing new fancy features, that is unlikely to add to productivity, but requires hardware upgrades to run properly. </p>
<p>Let&#8217;s say you&#8217;re onboard with my ideas, and that you decide to look for cheaper hardware, but still feel like used hardware is too risky. One possibility might be to go for some kind of <a href="http://en.wikipedia.org/wiki/Mini-ITX" >ITX</a>-solution. These comes with a less powerful CPU, and often includes everything you need for desktop usage, but costs less than regular computers. One benefit of using ITX boxes is that they are very tiny and light, which makes them cheap to store and ship internally.</p>
<div id="imatterlinks" >
<a href="http://www.playingwithwire.com/cuzimatter/"  target="_blank"  style="white-space: nowrap;" ><img src="http://www.playingwithwire.com/cuzimatter/images/cuzimatter.gif" /></a> &nbsp;<a href="http://digg.com/submit?phase=2&amp;url=http://www.playingwithwire.com/2007/04/stop-wasting-money-on-computers/&amp;title=Stop%20Wasting%20Money%20on%20Computers!"  style="white-space: nowrap;" ><img src="http://digg.com/img/badges/16x16-digg-guy.gif"  alt="Digg This!" /> </a>&nbsp;<a href="http://reddit.com/submit?url=http://www.playingwithwire.com/2007/04/stop-wasting-money-on-computers/&amp;title=Stop%20Wasting%20Money%20on%20Computers!"  style="white-space: nowrap;" ><img src="http://www.playingwithwire.com/cuzimatter/images/reddithead4.gif"  alt="Reddit!" /> </a>&nbsp;<a href="http://del.icio.us/post?url=http://www.playingwithwire.com/2007/04/stop-wasting-money-on-computers/;title=Stop%20Wasting%20Money%20on%20Computers!"  style="white-space: nowrap;" ><img src="http://www.playingwithwire.com/cuzimatter/images/delicious.png"  alt="Add to del.icio.us" /> </a>&nbsp;<a href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Description=&amp;Url=http://www.playingwithwire.com/2007/04/stop-wasting-money-on-computers/&amp;Title=Stop%20Wasting%20Money%20on%20Computers!"  style="white-space: nowrap;" ><img src="http://www.playingwithwire.com/cuzimatter/images/BlinkList.png"  alt="Blink This!" /> </a>&nbsp;<a href="http://www.furl.net/storeIt.jsp?t=Stop%20Wasting%20Money%20on%20Computers!&amp;u=http://www.playingwithwire.com/2007/04/stop-wasting-money-on-computers/"  target="_blank" ><img src="http://www.playingwithwire.com/cuzimatter/images/furl.gif"  alt="Add to Furl" /> </a>&nbsp;<a href="http://www.plugim.com/submit?url=http://www.playingwithwire.com/2007/04/stop-wasting-money-on-computers/&amp;title=Stop%20Wasting%20Money%20on%20Computers!&amp;trackback="  style="white-space: nowrap;" ><img src="http://www.playingwithwire.com/cuzimatter/images/plugim.png"  alt="Plug This!" /> </a>&nbsp;<a href="http://myweb.yahoo.com/myresults/bookmarklet?t=Stop%20Wasting%20Money%20on%20Computers!&amp;u=http://www.playingwithwire.com/2007/04/stop-wasting-money-on-computers/&amp;ei=UTF-8"  target="_blank" ><img src="http://www.playingwithwire.com/cuzimatter/images/yahoo.png"  alt="Add to Yahoo! My Web" /> </a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.playingwithwire.com/2007/04/stop-wasting-money-on-computers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s Your Utilization, Kenneth?</title>
		<link>http://www.playingwithwire.com/2007/01/whats-your-utilization-kenneth/</link>
		<comments>http://www.playingwithwire.com/2007/01/whats-your-utilization-kenneth/#comments</comments>
		<pubDate>Tue, 30 Jan 2007 03:57:15 +0000</pubDate>
		<dc:creator>Viktor Petersson</dc:creator>
				<category><![CDATA[guide]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.playingwithwire.com/2007/01/whats-your-utilization-kenneth/</guid>
		<description><![CDATA[Once in a while it happens. You know what I&#8217;m talking about, that &#8216;wow&#8217;-experience when you try out some new software. This happened to us a couple of weeks ago. We were looking for a way to keep track of the server utilization. We needed to find out the usage during peak hours, to determine [...]]]></description>
			<content:encoded><![CDATA[<p>Once in a while it happens. You know what I&#8217;m talking about, that &#8216;wow&#8217;-experience when you try out some new software.</p>
<p>This happened to us a couple of weeks ago. We were looking for a way to keep track of the server utilization. We needed to find out the usage during peak hours, to determine if it was time to upgrade to new hardware or buy another server soon or not.</p>
<p>After a bunch of hours googling and searching the <a href="http://forums.gentoo.org" >Gentoo forum</a> (guys, we&#8217;re still friends, right?), I found a thread that discussed this exact problem. After looking through a couple of the applications listed,  I found <i>it</i>. The answer to all my problems was spelled <a href="http://www.cacti.net" ><b>Cacti</b></a>.</p>
<p>Cacti is simply a web-based SNMP-client that uses RRDTool to generate nice graphs. Sounds quite simple, right? Why am I so impressed and excited? Because Cacti is really SNMP made easy. </p>
<p>I&#8217;ve been looking at similar solutions before, but everything I found felt very Beta / &#8220;Hack it to make it work on your system.&#8221; Cacti on the other hand was really easy to install and configure. It probably took me about 10 minutes to configure it for my needs, and then another 10 minutes to get a local SNMP daemon to run (even though this is not necessary).</p>
<p><strong>Cacti requires the following:</strong><br/>
- Apache (might work with other webservers)<br/>
- PHP<br/>
- RRDTool<br/>
- MySQL<br/>
- A crontab-job</p>
<p>After configuring the database-settings for Cacti, you just add a crontab to execute a given PHP-page (poller.php) on a given interval (5 minutes), and you&#8217;re set. Now you can start adding your other SNMP-enabled devices to your Cacti page.</p>
<div style="text-align: center;" ><a href="http://www.bigspring.k12.pa.us/cacti/graph_view.php?action=tree&#038;tree_id=33&#038;leaf_id=411" ><img src="http://www.playingwithwire.com/uploaded_images/screen.png"  alt="Screnshot of a site running Cacti" /></a><br/>
<i>One of the demo-sites listed on Cacti.net</i></div>
<p></p>
<p>So let&#8217;s say you have this cool device that supports SNMP, but you don&#8217;t really feel like writing a custom template for the device. Well, just head over to the <a href="http://forums.cacti.net" >Cacti forum</a> and search for the device. Chances are you&#8217;ll find that someone already wrote a template for the device. Take a look at the forum and you&#8217;ll find that people have written templates for all kinds of random stuff.</p>
<p><strong>Things that we use Cacti to monitor:</strong><br/>
- CPU usage<br/>
- Memory usage<br/>
- Network usage (both servers, routers and APs)<br/>
- Individual daemons (Apache, MySQL etc.)<br/>
- Laser printers (to monitor toner level)<br/>
- UPSes (with a plugin to get info from <a href="http://www.networkupstools.org" >NUT</a>)</p>
<p><strong>Some of our graphs:</strong></p>
<div style="text-align: center;" ><a href="http://www.playingwithwire.com/uploaded_images/cpu.png" ><img src="http://www.playingwithwire.com/uploaded_images/cpu_thumb.png"  alt="CPU usage in Cacti" /></a><br/>
<i>CPU Usage when PlayingWithWire.com got Slashdotted</i></div>
<p></p>
<div style="text-align: center;" ><a href="http://www.playingwithwire.com/uploaded_images/traffic.png" ><img src="http://www.playingwithwire.com/uploaded_images/traffic_thumb.png"  alt="Traffic usage in Cacti" /></a><br/>
<i>Bandwidth status on one of our routers</i></div>
<p></p>
<div style="text-align: center;" ><a href="http://www.playingwithwire.com/uploaded_images/tuner.png" ><img src="http://www.playingwithwire.com/uploaded_images/tuner_thumb.png"  alt="Toner status in Cacti" /></a><br/>
<i>The status of my HP Color LaserJet</i></div>
<p>It&#8217;s very convenient to just browse into Cacti to get a quick overview of your network/server utilization. In addition to that you can also select what specific time-span (daily, weekly, monthly etc.) you want to see. I love it.</p>
<p>If those things listed aren&#8217;t enough, just head over to the <a href="http://cacti.net/additional_scripts.php" >additional script-page</a> where you find tons of other script for other purposes. By default, Cacti comes with templates for the most common SNMP-setups.</p>
<p>So did we need to upgrade our server? Nope, as it turned out, we were doing fine.</p>
<p>By the way, due to security reasons you might want to disable the guest account in cacti.</p>
<p><strong>Update 1</strong>: As the Cacti Developer Tony Roman points out, regardless if you use Cactid or not, you will still need a crontab job. The article previously stated that if you use cactid, you won&#8217;t need a crontab job, which was wrong.</p>
<div id="imatterlinks" >
<a href="http://www.playingwithwire.com/cuzimatter/"  target="_blank"  style="white-space: nowrap;" ><img src="http://www.playingwithwire.com/cuzimatter/images/cuzimatter.gif" /></a> &nbsp;<a href="http://digg.com/submit?phase=2&amp;url=http://www.playingwithwire.com/2007/01/whats-your-utilization-kenneth/&amp;title=What%E2%80%99s%20Your%20Utilization,%20Kenneth?"  style="white-space: nowrap;" ><img src="http://digg.com/img/badges/16x16-digg-guy.gif"  alt="Digg This!" /> </a>&nbsp;<a href="http://reddit.com/submit?url=http://www.playingwithwire.com/2007/01/whats-your-utilization-kenneth/&amp;title=What%E2%80%99s%20Your%20Utilization,%20Kenneth?"  style="white-space: nowrap;" ><img src="http://www.playingwithwire.com/cuzimatter/images/reddithead4.gif"  alt="Reddit!" /> </a>&nbsp;<a href="http://del.icio.us/post?url=http://www.playingwithwire.com/2007/01/whats-your-utilization-kenneth/;title=What%E2%80%99s%20Your%20Utilization,%20Kenneth?"  style="white-space: nowrap;" ><img src="http://www.playingwithwire.com/cuzimatter/images/delicious.png"  alt="Add to del.icio.us" /> </a>&nbsp;<a href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Description=&amp;Url=http://www.playingwithwire.com/2007/01/whats-your-utilization-kenneth/&amp;Title=What%E2%80%99s%20Your%20Utilization,%20Kenneth?"  style="white-space: nowrap;" ><img src="http://www.playingwithwire.com/cuzimatter/images/BlinkList.png"  alt="Blink This!" /> </a>&nbsp;<a href="http://www.furl.net/storeIt.jsp?t=What%E2%80%99s%20Your%20Utilization,%20Kenneth?&amp;u=http://www.playingwithwire.com/2007/01/whats-your-utilization-kenneth/"  target="_blank" ><img src="http://www.playingwithwire.com/cuzimatter/images/furl.gif"  alt="Add to Furl" /> </a>&nbsp;<a href="http://www.plugim.com/submit?url=http://www.playingwithwire.com/2007/01/whats-your-utilization-kenneth/&amp;title=What%E2%80%99s%20Your%20Utilization,%20Kenneth?&amp;trackback="  style="white-space: nowrap;" ><img src="http://www.playingwithwire.com/cuzimatter/images/plugim.png"  alt="Plug This!" /> </a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.playingwithwire.com/2007/01/whats-your-utilization-kenneth/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Database Caching using apc
Object Caching 360/407 objects using apc

Served from: playingwithwire.* @ 2012-05-17 08:33:20 -->
