<?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>systemBash &#187; Programs</title>
	<atom:link href="http://systembash.com/tags/system-administration/programs/feed/" rel="self" type="application/rss+xml" />
	<link>http://systembash.com</link>
	<description>Technology and System Administration</description>
	<lastBuildDate>Mon, 16 Aug 2010 12:34:37 +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>UbunTOS &#8211; Ubuntu 9.10 + TinyOS 2.x VirtualBox Image</title>
		<link>http://systembash.com/content/ubuntos-ubuntu-9-10-tinyos-2-x-virtualbox-image/</link>
		<comments>http://systembash.com/content/ubuntos-ubuntu-9-10-tinyos-2-x-virtualbox-image/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 01:05:56 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Programs]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[tinyos]]></category>
		<category><![CDATA[ubuntos]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://systembash.com/?p=601</guid>
		<description><![CDATA[This is my admittedly minor but I hope useful contribution to the TinyOS development community. TinyOS is an Operating System and development framework for Wireless Sensor Networks and other platforms which has a small footprint and is very energy conscious. The TinyOS source code is available for free online for many operating systems, however it takes [...]]]></description>
			<content:encoded><![CDATA[<p>This is my admittedly minor but I hope useful contribution to the TinyOS development community. <a href="http://tinyos.net/">TinyOS</a> is an Operating System and development framework for Wireless Sensor Networks and other platforms which has a small footprint and is very energy conscious.</p>
<p>The TinyOS source code is available for free online for many operating systems, however it takes a long time to get the environment set up and it is not portable at all. I came across <a href="http://toilers.mines.edu/Public/XubunTOS">XubunTOS</a> but it did not seem to be in active development anymore, so I endeavored to install TinyOS 2.1 and 2.x from source into a regular Ubuntu image. The most help came from <a href="http://www.keally.org/2008/11/11/installing-tinyos-2x-on-ubuntu-with-iris-support/">Matt Keally&#8217;s Blog</a>. While doing this, I thought it might be useful to many others who wish to develop in the TinyOS framework but might not have the skills necessary to install it. Therefore, I developed this <a href="http://www.virtualbox.org/">VirtualBox</a> image so that you can install it on any system for which VirtualBox is available and supports USB passthrough for the programming of the motes. I&#8217;ve tested on Windows 7, Windows XP and it should work on any other host OS, but I would love to hear your feedback. All <a href="http://www.arsgeek.com/2007/05/10/exclusive-canonical-ltd-and-ubuntu-founder-mark-shuttleworth-announce-ubuntos/">funny business</a> aside, I present to the world UbunTOS:<span id="more-601"></span></p>
<p><a href="http://systembash.com/wp-content/uploads/2010/02/vboxubuntos.png"><img class="aligncenter size-full wp-image-605" title="vboxubuntos" src="http://systembash.com/wp-content/uploads/2010/02/vboxubuntos.png" alt="" width="453" height="230" /></a></p>
<h3>Features</h3>
<ul>
<li>Ubuntu 9.10 OS (patched through 2/5/2010)</li>
<li>Complete TinyOS development environment</li>
<li>TinyOS 2.1 Installed</li>
<li>TinyOS 2.x CVS Installed (default environment)</li>
<li>Portable for development in a variety of host environments</li>
<li>Patched motelist for MIB520 programming board</li>
</ul>
<h3>Directions</h3>
<ol>
<li>Unzip the file and import into VirtualBox. I recommend at least 768M RAM</li>
<li>Boot system</li>
<li>Enable USB passthrough for the programming board. Check off the USB device in the menu as shown:<br />
<img class="aligncenter size-full wp-image-606" title="vboxusb" src="http://systembash.com/wp-content/uploads/2010/02/vboxusb.png" alt="VirtualBox USB Passthrough" width="381" height="132" /></li>
<li>Check &#8216;motelist&#8217; to see which port it has been assigned to (motelist has been patched to see MIB520 programming board)</li>
<li>Program away! TinyOS resides in /opt/</li>
</ol>
<h3><span style="text-decoration: underline;">Download</span></h3>
<p>MD5 sum:    <strong>9a27ba7902337139c2eae0121ec6ca4e</strong></p>
<p>Download UbuntuTOS_Ubuntu-9.10_TinyOS-2.x.zip [2/8/2010]:    [ <a href="/devel/UbuntuTOS_Ubuntu-9.10_TinyOS-2.x.zip.torrent"><strong>torrent</strong></a> | <a href="http://static.systembash.com/UbuntuTOS_Ubuntu-9.10_TinyOS-2.x.zip"><strong>http</strong></a> ]</p>
<p>If you happen to have spare bandwidth, please <a href="http://systembash.com/contact/">send me a note</a> and I will link to the file via http or ftp.</p>
<h3>Notes</h3>
<ul>
<li>The default username is wcu and password is <strong>nosecurity</strong></li>
<li>The hostname is wcu-desktop, in honor of <a href="http://www.wcupa.edu">West Chester University</a> which is sponsoring my research into Wireless Sensor Networks.</li>
<li>To switch between the TinyOS 2.x and 2.1 environment, run the shell script /opt/tinyos-2.1.0/tinyos.sh or /opt/tinyos-2.x/tinyos-2.x.sh. By default the 2.x environment is loaded via ~/.bashrc/.</li>
<li>To update TinyOS 2.x with latest CVS Code:<br />
cd /opt; cvs -z3 -d:pserver:anonymous@tinyos.cvs.sourceforge.net:/cvsroot/tinyos co -P tinyos-2.x</li>
<li>I&#8217;ve testing this using <em>Mica2 </em>and<em> Micaz</em>. Let me know if you have success with other combinations as I just do not have the hardware to test.</li>
<li>Usually the programming port and the data port are on consecutive ports. In the example above, the programming device is /dev/ttyUSB0 and the data port, for serialforwarder, is /dev/ttyUSB1</li>
</ul>
<h3>Known Bugs?</h3>
<p>If you have issues while enabling USB Passthrough, such as an error like:</p>
<p>Version:1.0 StartHTML:0000000105 EndHTML:0000001970 StartFragment:0000000127 EndFragment:0000001952</p>
<p><!--StartFragment--></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="#eeeeee">
<tbody>
<tr>
<td>Result Code:</td>
<td>E_INVALIDARG (0&#215;80070057)</td>
</tr>
<tr>
<td>Component:</td>
<td>HostUSBDevice</td>
</tr>
<tr>
<td>Interface:</td>
<td>IHostUSBDevice {173b4b44-d268-4334-a00d-b6521c9a740a}</td>
</tr>
<tr>
<td>Callee:</td>
<td>IConsole {6375231a-c17c-464b-92cb-ae9e128d71c3}</td>
</tr>
</tbody>
</table>
<p>Reboot your host system. I believe this happens while reinstalling the passthrough driver for the USB device for the first time. Rebooting seems to fix this problem, and after the initial setup this problem seems to disappear.</p>
<p>If you have any other problems (or compliments!) please leave a message via the form below.</p>
]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/ubuntos-ubuntu-9-10-tinyos-2-x-virtualbox-image/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Copy Files to Many USB Drives Quickly and Easily</title>
		<link>http://systembash.com/content/copy-files-to-many-usb-drives-quickly-and-easily/</link>
		<comments>http://systembash.com/content/copy-files-to-many-usb-drives-quickly-and-easily/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 21:00:51 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Other Code]]></category>
		<category><![CDATA[Programs]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[key drive]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[usb drive]]></category>
		<category><![CDATA[usb key drive]]></category>

		<guid isPermaLink="false">http://systembash.com/?p=452</guid>
		<description><![CDATA[I was recently tasked with copying speaker&#8217;s presentations, files and handouts onto 100s of USB Drives (key drives) for a conference that work is hosting down in Washington, D.C. My first thought was that it was going to be a pain to have to copy/paste the files to each drive. I thought about creating a [...]]]></description>
			<content:encoded><![CDATA[<p><center><a href="http://systembash.com/wp-content/uploads/2009/09/photo.jpg" rel="lightbox" title="The USB Drives"><img src="http://systembash.com/wp-content/uploads/2009/09/photo-300x225.jpg" alt="photo" title="photo" width="300" height="225" class="alignnone size-medium wp-image-453" /></a></center></p>
<p>I was recently tasked with copying speaker&#8217;s presentations, files and handouts onto 100s of USB Drives (key drives) for a conference that work is hosting down in Washington, D.C. My first thought was that it was going to be a pain to have to copy/paste the files to each drive. I thought about creating a batch script to copy the files with a double click. But really, who wants to be doing all of that clicking and/or typing? Work smarter, not harder.</p>
<p>Then I remembered a neat feature that <a href="http://www.2brightsparks.com/syncback/sbse.html">SyncBackSE</a>, a program I use at home for backups, has available. The backup program &#8211; which is basically a file copy process &#8211; can be triggered based on the insert of a drive, whether that be a USB Key Drive or an External Hard Drive. Using the program, the only action you need to do to trigger the copy process is literally plug the drive in. After the machine recognizes the drive and mounts it to a drive letter, the copy process starts automatically.</p>
<p>Here are the directions on how to set this up.</p>
<ol>
<li>
<div style="float: right; padding: 15px 0 15px 15px;"><a href="http://systembash.com/wp-content/uploads/2009/09/photo-1.jpg" rel="lightbox" title="USB Hub"><img src="http://systembash.com/wp-content/uploads/2009/09/photo-1-150x150.jpg" alt="USB Hub" title="USB Hub" width="150" height="150" class="alignnone size-thumbnail wp-image-455" /></a></div>
<p><strong>Prepare your system</strong>. Install <a href="http://www.2brightsparks.com/syncback/sbse.html">SyncBackSE</a>. I have purchased the full program at home, but since I am using this for a limited task you can just install the 30-day trial. Create a folder, on your desktop or location of choice, with the files you want to be copied to the filesystem. Copy files to that folder, this is your &#8220;source directory&#8221;. Plug in as many USB drives as you can, in my case I used a USB hub with two handy top USB ports. Note which letter these drives assign themselves as. </li>
<li><strong>Set up the Source and Destination</strong>. The Source will be the &#8220;source directory&#8221; of any files you wish to copy. The Destination will be the USB Drive Letter. If you are able to plug more than one drive in at a time, you will need to create separate profiles for each one, with differing drive letters. Create them at first or just copy the first profile you make, and switch the Destination Drive on each one.</li>
<p><center>
<div style="margin-left: -20px;"><a href="http://systembash.com/wp-content/uploads/2009/09/usbdrive2.png" title="Source and Destination Settings" rel="lightbox"><img src="http://systembash.com/wp-content/uploads/2009/09/usbdrive2.png" alt="Source and Destination Settings" title="usbdrive2" width="484" height="85" class=" size-full wp-image-460" border=0/></a></div>
<p></center></p>
<li>Modify the profile. <strong>This is where the magic happens.</strong> Under profile setup, go to &#8220;Click for Options&#8221; and check off &#8220;Expert&#8221;. Select When and then &#8220;Insert&#8221;. Check off &#8220;Run this profile when:&#8221; and select the drive letter under &#8220;is inserted into drive&#8221;. Also check off &#8220;Run unattended&#8221; &#8211; this will ensure it does not prompt you when you plug in your drive each time. The other options should remain with <any label>. A summary of these settings is in the figure below.</li>
</ol>
<p><center><a href="http://systembash.com/wp-content/uploads/2009/09/usbdrive3.png" rel="lightbox" title="Settings for Auto Copy"><img src="http://systembash.com/wp-content/uploads/2009/09/usbdrive3-300x86.png" alt="Settings for Auto Copy" title="Settings for Auto Copy" width="300" height="86" class="aligncenter size-medium wp-image-461" /></a></center></p>
<p>That is it! Test by inserting a USB drive. You should see the profile change to &#8220;Running&#8221; then then &#8220;Success&#8221; after files have been completed. The screen will look as follows:</p>
<p><center><a href="http://systembash.com/wp-content/uploads/2009/09/usbdrive1.png" rel="lightbox" title="Final Product"><img src="http://systembash.com/wp-content/uploads/2009/09/usbdrive1-300x53.png" alt="Final Product" title="Final Product" width="300" height="53" class="aligncenter size-medium wp-image-462" /></a></center></p>
<p>In my experience, the part that takes the longest was Windows XP discovering the new drive and then assigning the drive letter. This PC is slow, so I imagine on a faster machine this process would actually be much quicker. I ended up having to re-copy the drives since someone added their handouts in the last minute, but the drive discovery process happened much faster the second time around.  I was able to do about 100 drives in 30 minutes, so this process is actually very speedy and works very well.</p>
]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/copy-files-to-many-usb-drives-quickly-and-easily/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Install SNMP on Tomato Router Firmware and Graph Traffic with Cacti</title>
		<link>http://systembash.com/content/how-to-install-snmp-on-tomato-router-firmware-and-graph-traffic-with-cacti/</link>
		<comments>http://systembash.com/content/how-to-install-snmp-on-tomato-router-firmware-and-graph-traffic-with-cacti/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 01:16:39 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Code Samples]]></category>
		<category><![CDATA[Configurations]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Other Code]]></category>
		<category><![CDATA[Programs]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[SNMP]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://systembash.com/?p=406</guid>
		<description><![CDATA[You&#8217;ve flashed your old WRT54G or other vanilla router with the Tomato firmware. This itself turns your router into a lean, mean routing machine with QOS, SSH and more, but let&#8217;s say we want to take it a bit further. What it we want to get some more stats out of it? In order to [...]]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ve flashed your old WRT54G or other vanilla router with the <a href="http://www.polarcloud.com/tomato">Tomato firmware</a>. This itself turns your router into a lean, mean routing machine with QOS, SSH and more, but let&#8217;s say we want to take it a bit further. What it we want to get some more stats out of it?</p>
<p>In order to do this, we first need to set up a way to pull this information from the router. The best way to do this is to install an SNMP (<strong><span style="text-decoration: underline;">S</span></strong>imple <span style="text-decoration: underline;"><strong>N</strong></span>etwork <strong><span style="text-decoration: underline;">M</span></strong>anagement <strong><span style="text-decoration: underline;">P</span></strong>rotocol) daemon on the system.</p>
<p>The main roadblock we face here is that the system mainly runs in volatile system memory, meaning that every time the system is rebooted the filesystem is reset. Fortunately Tomato provides a way to get around this using CIFS shares. Follow the steps below (as modified from <a href="http://www.linksysinfo.org/forums/showthread.php?t=51064">here</a>) to install an SNMP server on a Tomato router.</p>
<ol>
<li>Create a network (samba, CIFS) share somewhere on the network. This computer must be on all of the time in order for Tomato to run the SNMP server.</li>
<li>Download the snmpd.zip file from one of these locations:<br />
[<a href="http://bok.xs4all.nl/downloads/snmpd.zip">xs4all.nl</a>]<br />
[<a href="http://systembash.com/source/snmpd.zip">systembash</a>]</p>
<p>expand the binary and .conf file into the share or a subdirectory (for example, &lt;share name&gt;/snmp)</p>
<p>MD5 for snmpd binary is ae0d622648efdb8dceb7b3b5a63e23ac</li>
<li style="text-align: center; ">Set up the shared directory on the router. Visit Administration-&gt;CIFS Client. Add the share as follows, with your correct share information:<img class="aligncenter size-full wp-image-428" title="cifs1" src="http://systembash.com/wp-content/uploads/2009/08/cifs11.png" alt="cifs1" width="360" height="258" /></li>
<li>Log into the Tomato router via ssh, and start SNMPd on the router by issuing the command:
<pre>/cifs1/snmp/snmpd -c /cifs1/snmp/snmpd.conf &amp;</pre>
</li>
<li> Test that SNMP is running and can be accessed on another computer on the network. To test it, you can use snmpwalk like so:
<pre>snmpwalk -c public -v 2c &lt;IP Address of Router&gt;</pre>
<p>If it works properly, it will list the available OIDs from the router. You do not need to take note of these, but they will be used in the graphing software later.</li>
<li>Finally, we need to launch the SNMP server when the router is restarted. You do this by adding the command to start it in the area Administration -&gt; Scripts -&gt; Firewall:
<pre>sleep 30
/cifs1/snmp/snmpd -c /cifs1/snmp/snmpd.conf -s &amp;</pre>
<p>This launches the snmp server 30 seconds after the router is started or rebooted.</li>
</ol>
<p>Thats it! SNMP is now running on the router.</p>
<p>Now to add this SNMP host to your graphing software. For this example, I will use <a href="http://www.cacti.net/">Cacti</a>, which I will assume you have already set up. If you need to set it up, please <a href="http://www.cacti.net/documentation.php">follow the directions</a> on the Cacti site for installation.</p>
<p>First, add the router as a new device, using the information below (change IP to suite your needs):</p>
<p><center><img class="aligncenter size-full wp-image-430" title="adddevice" src="http://systembash.com/wp-content/uploads/2009/08/adddevice.png" alt="adddevice" width="338" height="768" /></center></p>
<p>After adding the device, you have several options depending on what sort of data you are looking for. For system information on the router &#8211; for example CPU usage, memory usage, etc; you can go directly to Create -&gt; New Graphs. Select your device and then add the graph you are looking for.</p>
<p>The graph will show as a broken image at first, or a blank graph with &#8220;NaN&#8221; as the data source. Give it a few minutes to update, and the information should start to flow through. The ucd/net options work best, but feel free to experiment.</p>
<p>To get traffic stats on the interface, you first need to &#8220;Walk&#8221; the device.  Go back to your device list, and edit the device you added. Under &#8220;Associated Data Queries&#8221;, Add Data Query, add &#8220;SNMP &#8211; Interface Statistics&#8221; with Re-Index period as &#8220;Uptime goes backwards&#8221;. After adding it you should see under status something like: Success [39 Items, 6 Rows].</p>
<p>Since these data sources are now added, you can go back to Add a new Graph. After selecting the device, you should see a list of these new interfaces. Select the interfaces you wish to graph, and select the graph type (I suggest In/Out bits with Total).</p>
<p>After a few minutes, the data should start filling in. After a while, you will get a graph like this:</p>
<p><center><a href="http://systembash.com/wp-content/uploads/2009/08/graph_image.php1.png"><img src="http://systembash.com/wp-content/uploads/2009/08/graph_image.php1-300x120.png" alt="graph_image.php" title="graph_image.php" width="300" height="120" class="aligncenter size-medium wp-image-435" /></a></center></p>
<p><em>In conclusion</em>, with a little work, you can get enterprise class graphing from your consumer router. The total project took me about 45 minutes, and I was trying to figure out all of the data sources and the correct way to enter everything.</p>
<p>Let me know your experiences, suggestions and corrections!</p>
]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/how-to-install-snmp-on-tomato-router-firmware-and-graph-traffic-with-cacti/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Installing And Compiling Zabbix Client / Agent</title>
		<link>http://systembash.com/content/installing-and-compiling-zabbix-client-agent/</link>
		<comments>http://systembash.com/content/installing-and-compiling-zabbix-client-agent/#comments</comments>
		<pubDate>Mon, 04 May 2009 03:12:26 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Code Samples]]></category>
		<category><![CDATA[Configurations]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programs]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[agent]]></category>
		<category><![CDATA[alerts]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[zabbix]]></category>

		<guid isPermaLink="false">http://systembash.com/?p=355</guid>
		<description><![CDATA[Zabbix is an excellent system monitoring package. It does everything from basic availability checking to detailed system resource analysis. It is capable of graphing the variables pulled from the system, and alerting admins if there is a problem or something needed for attention. Once you have the Zabbix server set up, you need to install [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-356" title="Zabbix" src="http://systembash.com/wp-content/uploads/2009/05/zabbix1.png" alt="Zabbix" width="118" height="31" /></p>
<p>Zabbix is an excellent system monitoring package. It does everything from basic availability checking to detailed system resource analysis. It is capable of graphing the variables pulled from the system, and alerting admins if there is a problem or something needed for attention.</p>
<p>Once you have the Zabbix server set up, you need to install the client on any systems you want to monitor. Windows systems have a precompiled binary to install. On linux, unix or freebsd systems you&#8217;ll need to compile binaries. If you have a range of systems that are homogeneous, you can port the binary to those or also compile it with static dependencies. Below are steps to compile, configure and install the zabbix client:</p>
<h3>Steps to install a Zabbix Client</h3>
<ol>
<li>Download zabbix source code from www.zabbix.com; decompress with &#8216;tar zxvf&#8217; and cd to directory</li>
<li>Configure the make program: ./configure &#8211;enable-agent</li>
<li>Compile and install the program: make install</li>
<li>Add zabbix group and user: groupadd zabbix; adduser -g zabbix -s /sbin/nologin -M -p RANDOMPASS zabbix</li>
<li>Create log file: touch /var/log/zabbix_agentd.log; chown zabbix.zabbix /var/log/zabbix_agentd.log</li>
<li>Copy init script to /etc/init.d. Scripts are located in ./misc/init.d/ and your distro directory.</li>
<li>Make sure bin directory in init script is where Zabbix actually compiled to.</li>
<li>chmod 755 /etc/init.d/zabbix_agentd</li>
<li>chkconfig zabbix_agentd on</li>
<li>Copy agent config script to /etc/zabbix/zabbix_agentd.conf. Current one is:
<pre># This is config file for zabbix_agentd
# To get more information about ZABBIX, go http://www.zabbix.com

# This is the ip and port of the main zabbix server
Server=10.0.0.1
ServerPort=10051
Hostname=AGENTHOSTNAME
ListenPort=10050
# ListenIP=10.0.0.2
StartAgents=5
DisableActive=1
DebugLevel=1
PidFile=/var/tmp/zabbix_agentd.pid
# LogFile=/var/log/zabbix_agentd.log
LogFileSize=1
Timeout=10</pre>
</li>
<li>Start the zabbix service: service zabbix_agentd start</li>
<li>Open firewall for zabbix port (10050) if necessary.</li>
<li>Log into Zabbix on the server, Add server to hosts &#8211; use correct templates and groups depending on what type of server it is.</li>
<li>Add monitoring and notification as appropriate.</li>
<li>Consider if all necessary services are being monitored; test that detection of down services and notifications work properly.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/installing-and-compiling-zabbix-client-agent/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing VirtualBox on a PAE Kernel System</title>
		<link>http://systembash.com/content/installing-virtualbox-pae-kernel-centos/</link>
		<comments>http://systembash.com/content/installing-virtualbox-pae-kernel-centos/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 19:58:15 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Configurations]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programs]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://systembash.com/?p=301</guid>
		<description><![CDATA[I recently got stuck while trying to install Headless Virtualbox on a Centos 5.2 server per the directions at Howtoforge here. The RPM failed with the error that it couldn&#8217;t find the kernel source. I thought I had already installed kernel-devel, and confirmed that I did. The instructions were to define the KERN_DIR variable like [...]]]></description>
			<content:encoded><![CDATA[<p>I recently got stuck while trying to install Headless Virtualbox on a Centos 5.2 server per the directions at Howtoforge <a href="http://www.howtoforge.com/vboxheadless-running-virtual-machines-with-virtualbox-2.0-on-a-headless-centos-5.2-server">here</a>. The RPM failed with the error that it couldn&#8217;t find the kernel source. I thought I had already installed kernel-devel, and confirmed that I did. The instructions were to define the KERN_DIR variable like so:</p>
<pre class="prettyprint">$ export KERN_DIR=/usr/src/kernels/2.6.18-92.1.22.el5-i686/
$ /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [  OK  ]
Removing old VirtualBox netflt kernel module [  OK  ]
Removing old VirtualBox kernel module [  OK  ]
Recompiling VirtualBox kernel module [  OK  ]
Starting VirtualBox kernel module [FAILED]
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)</pre>
<p>dmesg shows this:</p>
<pre class="prettyprint">vboxdrv: disagrees about version of symbol struct_module</pre>
<p>Interesting!</p>
<p>After several missteps, it turns out there is a separate development rpm for the PAE kernel:</p>
<pre class="prettyprint">$ yum install kernel-PAE-devel</pre>
<p>After that installs, we are good:</p>
<pre class="prettyprint">$ export KERN_DIR=/usr/src/kernels/2.6.18-92.1.22.el5-PAE-i686/
$ /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [  OK  ]
Removing old VirtualBox netflt kernel module [  OK  ]
Removing old VirtualBox kernel module [  OK  ]
Recompiling VirtualBox kernel module [  OK  ]
Starting VirtualBox kernel module [  OK  ]</pre>
<p>Golden.</p>
]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/installing-virtualbox-pae-kernel-centos/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Office 2007 Error: Compile error in hidden module: distMon</title>
		<link>http://systembash.com/content/office-2007-error-compile-error-in-hidden-module-distmon/</link>
		<comments>http://systembash.com/content/office-2007-error-compile-error-in-hidden-module-distmon/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 18:12:16 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Programs]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[dismon]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[office 2007]]></category>

		<guid isPermaLink="false">http://systembash.com/?p=262</guid>
		<description><![CDATA[If you receive this error while opening Excel or other Microsoft Office programs, it is usually caused by an Adobe PDF addon that is having problems. According to Microsoft, this can happen if: 1. The Microsoft Office Startup folder or the Microsoft Excel Startup folder contains either or both of the following Adobe Acrobat PDFMaker [...]]]></description>
			<content:encoded><![CDATA[<p>If you receive this error while opening Excel or other Microsoft Office programs, it is usually caused by an Adobe PDF addon that is having problems. According to Microsoft, this can happen if:</p>
<blockquote><p>1. The Microsoft Office Startup folder or the Microsoft Excel Startup folder contains either or both of the following Adobe Acrobat PDFMaker add-in template files:<br />
Pdfmaker.dot<br />
Pdfmaker.xla<br />
AND<br />
2. Norton AntiVirus software is installed.</p></blockquote>
<p>To fix it, delete the files from the startup Office folder. There are a few locations it might be, in my case it was in C:\Program Files\Microsoft Office\Office12\XLSTART. See this <a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;q307410">Microsoft KB Article</a> on fixing the error.</p>
]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/office-2007-error-compile-error-in-hidden-module-distmon/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Schedule a Windows Reboot at a Later Time</title>
		<link>http://systembash.com/content/how-to-schedule-a-windows-reboot-at-a-later-time/</link>
		<comments>http://systembash.com/content/how-to-schedule-a-windows-reboot-at-a-later-time/#comments</comments>
		<pubDate>Tue, 27 May 2008 20:47:15 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Programs]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://systembash.com/?p=166</guid>
		<description><![CDATA[Updated on 8/26/2008 with corrected information! Window&#8217;s simple shutdown command works well, but has some major drawbacks. The major one is that it will only schedule a reboot up to 10 minutes into the future (600 seconds). Linux&#8217;s shutdown command makes this easy, just issue the command &#8216;shutdown -r +60&#8242; for example to reboot an [...]]]></description>
			<content:encoded><![CDATA[<p><em>Updated on 8/26/2008 with corrected information!</em></p>
<p>Window&#8217;s simple <em>shutdown</em> command works well, but has some major drawbacks. The major one is that it will only schedule a reboot up to 10 minutes into the future (600 seconds). Linux&#8217;s shutdown command makes this easy, just issue the command &#8216;shutdown -r +60&#8242; for example to reboot an hour in the future.</p>
<p>No such luck in Windows, you need to download a separate program to do this. It is a <a href="http://technet.microsoft.com/en-us/sysinternals/default.aspx">sysinternals</a> program, you might remember sysinternals from such utilies like <a href="http://technet.microsoft.com/en-us/sysinternals/bb896642.aspx">FileMon</a> and <a href="http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx">ProcessMonitor</a>.</p>
<p>The program we use for this is called <a href="http://www.microsoft.com/technet/sysinternals/miscellaneous/psshutdown.mspx">PsTools</a> and more specifically the file psshutdown.exe.</p>
<p>[<a href="http://www.microsoft.com/technet/sysinternals/miscellaneous/psshutdown.mspx">Download PsTools here</a>]</p>
<p>Place psshutdown.exe into a directory for future use, for this example we will use c:\tools\.</p>
<p><strong>Easiest Method:</strong></p>
<p>Type the following command into the command prompt:<br />
<code><br />
c:\tools\psshutdown.exe -r -f -c -t 02:00 /accepteula</code></p>
<p>PSshutdown will respond with:</p>
<p><code>PsShutdown v2.52 - Shutdown, logoff and power manage local and remote systems<br />
Copyright (C) 1999-2006 Mark Russinovich<br />
Sysinternals - www.sysinternals.com</p>
<p>Local system is scheduled to reboot in 15:08:00.</code></p>
<p>If all goes will, Windows will reboot at 2:00am, or your specified time. This command will start a system service with the psstools scheduling program, PSSDNSVC.EXE.</p>
<p><strong>Alternate Method:</strong></p>
<p>Then open a command prompt and type the following command:</p>
<p><code>at 2:00am c:\tools\psshutdown.exe -r -f -c -t 10 /accepteula</code></p>
<p>This will result in:</p>
<p><code>Added a new job with ID = 1</code></p>
<p>You can verify this task has been added by looking at the Scheduled Tasks &#8211; the job name will be At1 if you haven&#8217;t scheduled any other tasks via the command line.</p>
]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/how-to-schedule-a-windows-reboot-at-a-later-time/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Firefox Blinking Cursor Issue</title>
		<link>http://systembash.com/content/firefox-blinking-cursor-issue/</link>
		<comments>http://systembash.com/content/firefox-blinking-cursor-issue/#comments</comments>
		<pubDate>Fri, 09 May 2008 01:09:00 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Configurations]]></category>
		<category><![CDATA[Programs]]></category>
		<category><![CDATA[caret]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://systembash.com/?p=164</guid>
		<description><![CDATA[For some reason, Firefox started to display a blinking cursor, like web pages I have been viewing were editable. Thinking that some errant plugin was causing this behavior, I manically disabled a few I had recently installed. However that didn&#8217;t fix the problem. Good ole Google to the rescue. Firefox has a &#8216;feature&#8217; that lets [...]]]></description>
			<content:encoded><![CDATA[<p>For some reason, Firefox started to display a blinking cursor, like web pages I have been viewing were editable. Thinking that some errant plugin was causing this behavior, I manically disabled a few I had recently installed. However that didn&#8217;t fix the problem.</p>
<p>Good ole <a href="http://beyondteck.blogspot.com/2006/05/firefox-blinking-cursor-problem.html">Google to the rescue</a>.</p>
<p><img class="alignnone size-medium wp-image-165" title="caret-browsing" src="http://systembash.com/wp-content/uploads/2008/05/caret-browsing-300x76.jpg" alt="" width="300" height="76" /></p>
<p>Firefox has a &#8216;feature&#8217; that lets you select text with more visual feedback. I guess the little one must have been hitting keys and turned this on.</p>
<p>Turning it off is easy! <strong>Press F7 to turn off caret browsing.</strong></p>
<p>Alternatively, type &#8220;<strong>about:config</strong>&#8221; in the URL area, then filter for &#8220;<strong>caret</strong>&#8220;. <strong>Change accessibility.browsewithcaret to &#8220;false&#8221;.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/firefox-blinking-cursor-issue/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Post on Makeuseof: Keeping Safe on the Web: 8 Firefox Addons for Privacy and Security</title>
		<link>http://systembash.com/content/makeuseof-post-firefox-extensions-keeping-safe-on-the-web-privacy-securit/</link>
		<comments>http://systembash.com/content/makeuseof-post-firefox-extensions-keeping-safe-on-the-web-privacy-securit/#comments</comments>
		<pubDate>Thu, 01 May 2008 00:30:46 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Programs]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[privacy]]></category>

		<guid isPermaLink="false">http://systembash.com/?p=163</guid>
		<description><![CDATA[I have a new post up on Makeuseof, regarding Firefox Addons for Privacy and Security. Maybe you won&#8217;t use all of them but even installing some of them (NoScript in particular) can really lower your chances of getting hit with a javascript exploit.]]></description>
			<content:encoded><![CDATA[<p>I have a new post up on <a href="http://www.makeuseof.com">Makeuseof</a>, regarding <a href="http://www.makeuseof.com/tag/keeping-safe-on-the-web-8-firefox-addons-for-privacy-and-security/">Firefox Addons for Privacy and Security</a>. Maybe you won&#8217;t use all of them but even installing some of them (<a href="https://addons.mozilla.org/en-US/firefox/addon/722">NoScript</a> in particular) can really lower your chances of getting hit with a javascript exploit.</p>
]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/makeuseof-post-firefox-extensions-keeping-safe-on-the-web-privacy-securit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Mobile IM and Battery Life</title>
		<link>http://systembash.com/content/windows-mobile-im-and-battery-life/</link>
		<comments>http://systembash.com/content/windows-mobile-im-and-battery-life/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 19:35:48 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Cell Phones]]></category>
		<category><![CDATA[Programs]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Windows Mobile]]></category>
		<category><![CDATA[battery]]></category>
		<category><![CDATA[battery life]]></category>
		<category><![CDATA[cell phone]]></category>
		<category><![CDATA[instant message]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://systembash.com/?p=102</guid>
		<description><![CDATA[If you are like me, as soon as you start using Instant Messaging (Octrotalk, Windows Live Messenger, IM+, Palringo) on your Windows Mobile Device &#8211; your battery life goes out the window. I&#8217;m talking, 12 hrs max. That is not a good thing for a mobile device where you need it to last at least [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://systembash.com/wp-content/uploads/2008/04/18457.png"><img class="alignleft size-full wp-image-162" title="Cell Phone Battery" src="http://systembash.com/wp-content/uploads/2008/04/18457.png" alt="A Typical Cell Phone Battery" width="200" height="125" /></a>If you are like me, as soon as you start using Instant Messaging (<a href="http://www.octro.com/">Octrotalk</a>, <a href="http://get.live.com/betas/messengermobile_betas">Windows Live Messenger</a>, <a href="http://www.shapeservices.com/en/products/details.php?product=im">IM+</a>, <a href="http://www.palringo.com/">Palringo</a>) on your Windows Mobile Device &#8211; your battery life goes out the window. I&#8217;m talking, 12 hrs max. That is not a good thing for a mobile device where you need it to last at least a full day, if not multiple days.</p>
<p>The problem is that IM networks need to remain connected &#8211; a &#8216;heartbeat&#8217; signal is sent over the network to ensure the client is still online, and so that if you receive any instant messages they are delivered to you, well, instantly.</p>
<p>The reason text messages do not eat up battery life is because the cell phone network does not require your phone to have a heartbeat data connection to the cellular network &#8211; if a text message is sent to you, your phone picks it up when it communicates with the cell phone towers over the &#8220;control connection&#8221; &#8211; which all cell phones use to keep track of which cellular tower it is in range of (for more information on how SMS text messages work, see <a href="http://http://communication.howstuffworks.com/sms.htm">Howstuffworks</a>).</p>
<p>Apparently this problem is due to <a href="http://en.wikipedia.org/wiki/IPv4">IPv4</a> and how most devices use <a href="http://en.wikipedia.org/wiki/Network_address_translation">Network Address Translation</a> to route traffic to your phone. This is where your phone has a private IP and keeps a connection open with a main server, using a keep alive signal, to maintain connectivity. According to <a href="http://www.youtube.com/watch?v=o5RbyK0m5OY">this talk</a> from Nokia, <a href="http://en.wikipedia.org/wiki/IPv6">IPv6</a> solves this problem since there are enough IP addresses to assign each device a unique one. No longer will they need to juggle this IP, meaning that there is a substantial savings in battery time.</p>
<p>It can&#8217;t come a moment too soon. This has really made me look forward to the coming IPv6 transition. Even though IPv6 is a few years away, services are slowly coming online and eventually a &#8216;critial mass&#8217; will propel adoption of the new protocol across all installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://systembash.com/content/windows-mobile-im-and-battery-life/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk (enhanced)
Database Caching 5/17 queries in 0.030 seconds using disk

Served from: systembash.com @ 2010-09-03 19:47:09 -->