<?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>Parkingdenied</title>
	<atom:link href="http://www.parkingdenied.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.parkingdenied.com</link>
	<description>Redline is just a suggestion</description>
	<lastBuildDate>Wed, 24 Feb 2010 05:26:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>mRemote</title>
		<link>http://www.parkingdenied.com/2010/02/24/mremote/</link>
		<comments>http://www.parkingdenied.com/2010/02/24/mremote/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 05:06:29 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.parkingdenied.com/?p=239</guid>
		<description><![CDATA[Just a quick post for anyone looking for mRemote downloads and/or source code as the latest wasn&#8217;t easily found on their page.
mRemote as their website says is &#8220;a full-featured, multi-tab remote connections manager&#8221;. I use it for accessing RDP/VNC/SSH services on a variety of hosts so that I can keep it all neat and in [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick post for anyone looking for mRemote downloads and/or source code as the latest wasn&#8217;t easily found on their page.</p>
<p>mRemote as their website says is &#8220;a full-featured, multi-tab remote connections manager&#8221;. I use it for accessing RDP/VNC/SSH services on a variety of hosts so that I can keep it all neat and in one interface. However the developer has since merged the project into a paid for application so at some point the current 1.5.0 may no longer be on his site.</p>
<p>For now I have uploaded the current latest source code and binary for anyone looking for a copy. Long live mRemote. However I will note the paid for application is pretty good so if your feeling generous grab a copy <img src='http://www.parkingdenied.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
Note: There is a file embedded within this post, please visit this post to download the file.
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;"><big>mRemote is a <strong>full-featured</strong>, <strong>multi-tab</strong> remote  connections manager.</big></div>
]]></content:encoded>
			<wfw:commentRss>http://www.parkingdenied.com/2010/02/24/mremote/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP WMI Library for Linux</title>
		<link>http://www.parkingdenied.com/2010/02/24/php-wmi-library-linux/</link>
		<comments>http://www.parkingdenied.com/2010/02/24/php-wmi-library-linux/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 04:39:33 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false">http://www.parkingdenied.com/?p=220</guid>
		<description><![CDATA[I&#8217;ve just released a WMI/PHP library which will allow you to easily WMI query Windows machines from your Linux server via PHP. It is somewhat of an extension of the CactiWMI project as it used that code base as a reference for the query and processing of the returned data. Whilst there are a number [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just released a WMI/PHP library which will allow you to easily WMI query Windows machines from your Linux server via PHP. It is somewhat of an extension of the CactiWMI project as it used that code base as a reference for the query and processing of the returned data. Whilst there are a number of libraries in existence for this purpose on Windows there appeared to be none for when running PHP on Linux.</p>
<p>So why has this all come about. In my job I&#8217;ve been working on a small helpdesk type application written in PHP. The idea being that it presents all the information about the user, computer and helpdesk ticket that we are working on in one place. It also provides a quicker interface for searching information than the existing systems on their own. For this I needed to be able to hook into Active Directory, the MSSQL job tracking DB and of course WMI data for the remote PC. All this from the Linux based server.</p>
<p>So I branched off some code from the CactiWMI project and initially wrote it as a simple wmi() type function to run basic queries against remote machines. This quickly became a bit of a pain as I needed to add more arguments to allow filters and then more code to decide if a filter had been supplied or not etc so dumped it and rewrote it into a WMI object.</p>
<p>Now what we have is a reasonably simple library which you can include into your project, create the WMI object and throw some queries at hosts. The data returned at the moment is a little rough as its just a numerically indexed multi dimensional array but should make iteration very easy. I&#8217;ll be looking for suggestions as to what I can improve as it&#8217;s the first library like this I have had to write and I&#8217;ve probably made plenty of rookie mistakes.</p>
<p>I&#8217;ve attached a copy of the current stable release and an example file which should get people started until I can add some documentation. I may look at releasing the helpdesk app as well as it&#8217;s come in quite useful <img src='http://www.parkingdenied.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>SVN Repository is located here <a href="http://svn.parkingdenied.com/PHPWMILib/">http://svn.parkingdenied.com/PHPWMILib/</a></p>
Note: There is a file embedded within this post, please visit this post to download the file.
]]></content:encoded>
			<wfw:commentRss>http://www.parkingdenied.com/2010/02/24/php-wmi-library-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automated VirtualBox + LVM Snapshot VM Provisioning</title>
		<link>http://www.parkingdenied.com/2009/07/12/automated-virtualbox-lvm-snapshot-vm-provisioning/</link>
		<comments>http://www.parkingdenied.com/2009/07/12/automated-virtualbox-lvm-snapshot-vm-provisioning/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 09:14:32 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[LVM]]></category>
		<category><![CDATA[Snapshots]]></category>
		<category><![CDATA[Virtualbox]]></category>

		<guid isPermaLink="false">http://www.parkingdenied.com/2009/07/12/automated-virtualbox-lvm-snapshot-vm-provisioning/</guid>
		<description><![CDATA[Just a quick follow-up to my previous post about using LVM to clone logical volumes to create new VM’s. I’ve written up a quick script to help automate the process which allows you to rapidly deploy a fleet of test VM’s without having to mess about.
The script is attached below and requires PHP. Configure the [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick follow-up to my previous post about using LVM to clone logical volumes to create new VM’s. I’ve written up a quick script to help automate the process which allows you to rapidly deploy a fleet of test VM’s without having to mess about.</p>
<p>The script is attached below and requires PHP. Configure the config options within the script and then to provision a new VM you simply sudo ./makevm.php &lt;vmname&gt; and it will take care of everything.</p>
<ul>
<li>Creates the snapshot of the original logical volume</li>
<li>Sets the permissions on the device so that the user can access it</li>
<li>Creates the raw VMDK file and registers it with VirtualBox</li>
<li>Creates the base VM with the name provided</li>
<li>And finally it configures the VM to use the correct disk and network setting etc</li>
</ul>
<p>That’s all there is to it <img src='http://www.parkingdenied.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
Note: There is a file embedded within this post, please visit this post to download the file.
]]></content:encoded>
			<wfw:commentRss>http://www.parkingdenied.com/2009/07/12/automated-virtualbox-lvm-snapshot-vm-provisioning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>0.0.6 Release of CactiWMI</title>
		<link>http://www.parkingdenied.com/2009/05/21/006-release-of-cactiwmi/</link>
		<comments>http://www.parkingdenied.com/2009/05/21/006-release-of-cactiwmi/#comments</comments>
		<pubDate>Thu, 21 May 2009 11:35:25 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Cacti]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false">http://www.parkingdenied.com/2009/05/21/006-release-of-cactiwmi/</guid>
		<description><![CDATA[I posted this on the forums some time ago and realised I had not posted here. This is the latest version, the mini change log is below.

Update templates to suit new input method
Backwards compatibility for old argument input method
Overhaul how arguments are passed to wmi.php
Debug mode via console option
Add support for alternate namespaces
Use isset() instead [...]]]></description>
			<content:encoded><![CDATA[<p>I posted this on the forums some time ago and realised I had not posted here. This is the latest version, the mini change log is below.</p>
<ul>
<li>Update templates to suit new input method</li>
<li>Backwards compatibility for old argument input method</li>
<li>Overhaul how arguments are passed to wmi.php</li>
<li>Debug mode via console option</li>
<li>Add support for alternate namespaces</li>
<li>Use isset() instead of is not null</li>
<li>Prevent passwords from showing up in process list</li>
<li>Fix data template MIN &amp; MAX</li>
<li>Enterprise Vault Templates</li>
</ul>
<p>I have added support for additional namespaces and overhauled how  input arguments are passed to support this. As you can see below the cmd line help details how input is now passed.</p>
<blockquote><p>Usage:<br />
-h &lt;hostname&gt;         Hostname of the server to query.<br />
-u &lt;credential path&gt;  Path to the credential file. See format below.<br />
-n &lt;namespace&gt;        What namespace to use. (optional, defaults to root\CIMV2)<br />
-w &lt;wmi class&gt;        WMI Class to be used.<br />
-c &lt;columns&gt;          What columns to select. (optional, defaults to *)<br />
-k &lt;filter key&gt;       What key to filter on. (optional, default is no filter)<br />
-v &lt;filter value&gt;     What value for the key. (required, only when using filter key)<br />
-d &lt;debug level&gt;      Debug level. (optional, default is none, levels are 1 &amp; 2)</p>
<p>All special characters and spaces must be escaped or enclosed in single quotes!</p>
<p>Example: wmi.php -h 10.0.0.1 -u /etc/wmi.pw -w Win32_ComputerSystem -c PrimaryOwnerName,NumberOfProcessors -n &#8216;root\CIMV2&#8242;</p>
<p>Password file format: Plain text file with the following 3 lines replaced with your details.</p>
<p>username=&lt;your username&gt;<br />
password=&lt;your password&gt;<br />
domain=&lt;your domain&gt; (can be WORKGROUP if not using a domain)</p></blockquote>
<p>In addition to this there is now no longer any need for additional PHP files. The passwords are stored in a separate file and called via passing the path. This prevents passwords showing up in your process list and allows you to secure it further by limiting access to the password file to the cacti user.</p>
<p>To ease the upgrade process backwards compatibility has been maintained however there is one gotcha. You will still need to update your templates to point to the new password file instead of the reference to the key pair in wmi-logins.php. Aside from this the old templates will all work.</p>
<p>So basically this version is a bit cleaner, adds a few key features, improves security and lays the foundation for further feature upgrades. As per usual the download is attached to this post and any fault tickets can be lodged on my Mantis bug tracker page (<a href="http://mantis.parkingdenied.com" target="_blank">Link</a>) and the subversion repository in the usual spot (<a href="http://svn.parkingdenied.com/CactiWMI" target="_blank">Link</a>).</p>
Note: There is a file embedded within this post, please visit this post to download the file.
]]></content:encoded>
			<wfw:commentRss>http://www.parkingdenied.com/2009/05/21/006-release-of-cactiwmi/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Cloning VM’s with VirtualBox, LVM and Snapshots!</title>
		<link>http://www.parkingdenied.com/2009/05/15/cloning-vm%e2%80%99s-with-virtualbox-lvm/</link>
		<comments>http://www.parkingdenied.com/2009/05/15/cloning-vm%e2%80%99s-with-virtualbox-lvm/#comments</comments>
		<pubDate>Fri, 15 May 2009 15:10:30 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[LVM]]></category>
		<category><![CDATA[Snapshots]]></category>
		<category><![CDATA[Virtualbox]]></category>

		<guid isPermaLink="false">http://www.parkingdenied.com/?p=205</guid>
		<description><![CDATA[Recently I wanted to setup a development environment to test some Active Directory setups. Basically I wanted a whole stack of domain controllers and client machines across multiple sites, domains and forests to see how they tick and replicate between each other. Easy enough to do, just create a bunch of virtual machines using your [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I wanted to setup a development environment to test some Active Directory setups. Basically I wanted a whole stack of domain controllers and client machines across multiple sites, domains and forests to see how they tick and replicate between each other. Easy enough to do, just create a bunch of virtual machines using your favourite virtualization package, I prefer VirtualBox but you could do the same with VirtualPC or VMWare. But say you want to quickly deploy this and be able to easily tear down machines and bring new ones up, again easy enough just clone the disks and create new VM’s. All pretty straight forward. However there is a much neater and more elegant way of doing this which allows you to quickly snapshot a VM and redeploy in a matter of a seconds rather than minutes to hours copying full disk images around.</p>
<p>So how does one accomplish this task, well it’s really quite simple, LVM snapshots. If you have never heard or used LVM before it is a logical volume manager. It’s job is to take a bunch of physical volumes such as hard disks or raid arrays and combine them into a storage group. From this storage group you can then create multiple logical volumes (similar to luns in the Netapp world) which act like standard disk devices allowing you to easily carve up your storage in a more logical way. Now LVM is really quite a powerful tool and has many extra features which are outside of the scope of this article but see my links at the end to find out more on the specifics.</p>
<p>Anyway the feature we are going to use as I already mentioned is snapshots, what these are is an instantaneous snapshot of a volume which we can then mount separate to the real volume and use as a normal disk. The beauty of this is that your original volume remains completely untouched and any changes that are written to the snapshot are stored as just that changes or differences between that and the original volume. This means for our VM’s that only a few hundred meg or so will change that our disk usage is significantly reduced. You can see now just how useful this can be. The other big advantage is that they are fast, you can create a snapshot in a matter of seconds whereas to copy a vmdk or vdi file it takes a lot longer for it to copy, especially if using a dynamic disk as it locates all the used blocks.</p>
<p>Now lets get down to using it in the real world.</p>
<p>First things first get your VM installed using a raw device mapping.</p>
<blockquote><p>lvcreate -L20G -nvbox_win2003std_base storage /dev/md2<br />
Logical volume &#8220;vbox_win2003_base&#8221; created</p></blockquote>
<p>In this instance I have created a 20gb volume called “vbox_win2003_base” on my storage volume group and forced it to allocate all its extents on /dev/md2. I prefer to do this just to make sure no logical volumes cross over physical volumes unless absolutely needed.</p>
<p>Now you have your volume ready you will need to create a disk for VirtualBox to use.</p>
<blockquote><p>VBoxManage internalcommands createrawvmdk -filename &#8220;win2003_base.vmdk&#8221; -rawdisk /dev/storage/vbox_win2003std_base -register<br />
VirtualBox Command Line Management Interface Version 2.2.2<br />
(C) 2005-2009 Sun Microsystems, Inc.<br />
All rights reserved.</p>
<p>RAW host disk access VMDK file win2003_base.vmdk created successfully.</p></blockquote>
<p>This creates a vmdk file with a raw mapping to the logical volume and automatically registers it for use within VirtualBox.</p>
<p>Now prepare your VM like you would any other Windows machine being cloned. Preinstall all your OS, applications, software, any patches or tweaks and get it configured just the way you like. However try to keep things reasonably simple, this means don’t promote the machine to a DC or any other service which when cloned will break. For my builds I have been testing with Windows 2003 Standard edition. So this means you need to extract the deploy.cab from your Windows 2003 CD to c:\sysprep and run the setupmgr.exe app to generate a sysprep.inf. If you want to avoid problems don’t set a password for the admin account in the sysprep if you have already set one for the machine as it appears to fail when updating it. So you have generated your sysprep.inf, do a quick check to ensure everything is in it’s place and run sysprep.exe –reseal –mini –pnp. The machine will do its bit and then shut down meaning it is ready to be cloned.</p>
<p>Now the fun part, time to make a snapshot of your logical volume.</p>
<blockquote><p>lvcreate -L5G -s -nvbox_vodka_dc /dev/storage/vbox_win2003std_base<br />
Logical volume &#8220;vbox_vodka_dc&#8221; created</p></blockquote>
<p>Now in the blink of an eye it has created a snapshot of your base VM’s logical volume with a maximum growth of 5gb. This means the VM can have a maximum of 5gb of changes before it runs out of space. You will need to fine tune this depending on your VM’s and workload. To keep an eye on it simply use lvdisplay as per normal.</p>
<blockquote><p>lvdisplay storage/vbox_vodka_dc<br />
&#8212; Logical volume &#8212;<br />
LV Name                /dev/storage/vbox_vodka_dc<br />
VG Name                storage<br />
LV UUID                IOFUF4-Bxze-Xpij-Qd5b-nH7k-FeEx-k6936B<br />
LV Write Access        read/write<br />
LV snapshot status     active destination for /dev/storage/vbox_win2003std_base<br />
LV Status              available<br />
# open                 0<br />
LV Size                20.00 GB<br />
Current LE             5120<br />
COW-table size         5.00 GB<br />
COW-table LE           1280<br />
Allocated to snapshot  0.00%<br />
Snapshot chunk size    4.00 KB<br />
Segments               1<br />
Allocation             inherit<br />
Read ahead sectors     auto<br />
- currently set to     256<br />
Block device           253:4</p></blockquote>
<p>Now that we have the snapshot volume all we need to do is create another raw device vmdk.</p>
<blockquote><p>VBoxManage internalcommands createrawvmdk -filename &#8220;Vodka_DC.vmdk&#8221; -rawdisk /dev/storage/vbox_vodka_dc<br />
VirtualBox Command Line Management Interface Version 2.2.2<br />
(C) 2005-2009 Sun Microsystems, Inc.<br />
All rights reserved.</p>
<p>RAW host disk access VMDK file Vodka_DC.vmdk created successfully.</p></blockquote>
<p>And that’s it, you now have a complete clone of that machine ready to load into a new VM within VirtualBox and boot. It will run through the mini-setup as per normal for any cloned machine and that’s it. All done!</p>
<p>With a few batch commands you can quickly automate the creating of a whole fleet of VM’s ready to plug into your dev environment.</p>
<p>Hope this helps a few people out there <img src='http://www.parkingdenied.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Links:</p>
<ul>
<li><a href="http://tldp.org/HOWTO/LVM-HOWTO/index.html" target="_blank">LVM</a> (<a href="http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29" target="_blank">wiki</a>)<a href="http://tldp.org/HOWTO/LVM-HOWTO/index.html" target="_blank"><br />
</a></li>
<li><a href="http://www.virtualbox.org" target="_blank">VirtualBox</a> (<a href="http://en.wikipedia.org/wiki/VirtualBox" target="_blank">wiki</a>)<a href="http://www.virtualbox.org" target="_blank"><br />
</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.parkingdenied.com/2009/05/15/cloning-vm%e2%80%99s-with-virtualbox-lvm/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mmmmmm Beeeer&#8230;</title>
		<link>http://www.parkingdenied.com/2009/04/18/mmmmmm-beeeer/</link>
		<comments>http://www.parkingdenied.com/2009/04/18/mmmmmm-beeeer/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 04:49:58 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[Shenanigans]]></category>
		<category><![CDATA[Beer]]></category>
		<category><![CDATA[Brewing]]></category>

		<guid isPermaLink="false">http://www.parkingdenied.com/?p=151</guid>
		<description><![CDATA[Wow it has been a while since I have posted&#8230; an in that time I&#8217;ve been coding, building a house and brewing some beer   For a first time brewer i&#8217;ve posted up the basic steps required to get started as it had been a little difficult to find just simple pics and descriptions [...]]]></description>
			<content:encoded><![CDATA[<p>Wow it has been a while since I have posted&#8230; an in that time I&#8217;ve been coding, building a house and brewing some beer <img src='http://www.parkingdenied.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  For a first time brewer i&#8217;ve posted up the basic steps required to get started as it had been a little difficult to find just simple pics and descriptions when I started.</p>
<p>&#160;</p>
<p>This is how you start out with the fermenter ready to go and sanitized! I can not stress this enough <strong>SANITISE EVERYTHING</strong> that will come in contact with the mix.</p>
<p><a href="http://www.parkingdenied.com/wp-content/uploads/2009/04/brew11.jpg"><img title="brew1" style="display: inline" height="446" alt="brew1" src="http://www.parkingdenied.com/wp-content/uploads/2009/04/brew1-thumb1.jpg" width="595" /></a> </p>
<p>And your basic ingredients&#8230; time, dextrose, yeast and the magic mix (which you can also make yourself). You may notice the pager so yes I was on call and since I can&#8217;t drink on call it was the perfect time to brew. This time I am brewing Ginger Beer which should be nice on a hot sunny day.</p>
<p><a href="http://www.parkingdenied.com/wp-content/uploads/2009/04/brew21.jpg"><img title="brew2" style="display: inline" height="595" alt="brew2" src="http://www.parkingdenied.com/wp-content/uploads/2009/04/brew2-thumb1.jpg" width="446" /></a> </p>
<p>This is the mix which you heat up in some hot water before hand then mix with hot water to make it dissolve.</p>
<p><a href="http://www.parkingdenied.com/wp-content/uploads/2009/04/brew31.jpg"><img title="brew3" style="display: inline" height="595" alt="brew3" src="http://www.parkingdenied.com/wp-content/uploads/2009/04/brew3-thumb1.jpg" width="446" /></a> </p>
<p>At this stage you have a couple litres of hot liquid you start to mix in your dextrose. Make sure you thoroughly mix this through.</p>
</p>
</p>
</p>
</p>
<p><a href="http://www.parkingdenied.com/wp-content/uploads/2009/04/brew41.jpg"><img title="brew4" style="display: inline" height="446" alt="brew4" src="http://www.parkingdenied.com/wp-content/uploads/2009/04/brew4-thumb1.jpg" width="595" /></a> </p>
<p>Now at this stage you are basically filling it up till your defined level which in my case was 23L. Make sure if you can to use filtered or boiled (and cooled) water.</p>
<p>&#160;<a href="http://www.parkingdenied.com/wp-content/uploads/2009/04/brew61.jpg"><img title="brew6" style="display: inline" height="446" alt="brew6" src="http://www.parkingdenied.com/wp-content/uploads/2009/04/brew6-thumb1.jpg" width="446" /></a>&#160;<a href="http://www.parkingdenied.com/wp-content/uploads/2009/04/brew51.jpg"><img title="brew5" style="display: inline" height="446" alt="brew5" src="http://www.parkingdenied.com/wp-content/uploads/2009/04/brew5-thumb1.jpg" width="334" /></a></p>
<p>And now your done you seal it up put water in your air lock (filtered) and then let her sit for a week. I would suggest somewhere that doesn’t get too hot as you want it to stay within your temperature range as much as possible.</p>
<p>&#160;<a href="http://www.parkingdenied.com/wp-content/uploads/2009/04/brew71.jpg"><img title="brew7" style="display: inline" height="595" alt="brew7" src="http://www.parkingdenied.com/wp-content/uploads/2009/04/brew7-thumb1.jpg" width="446" /></a> </p>
</p>
<p>I’ll do up a post when I am bottling it which should be in a few days hopefully. Next batch will be a keg <img src='http://www.parkingdenied.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.parkingdenied.com/2009/04/18/mmmmmm-beeeer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>0.0.5 Release of CactiWMI</title>
		<link>http://www.parkingdenied.com/2009/02/23/005-release-of-cactiwmi/</link>
		<comments>http://www.parkingdenied.com/2009/02/23/005-release-of-cactiwmi/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 09:33:41 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Cacti]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false">http://www.parkingdenied.com/?p=133</guid>
		<description><![CDATA[It&#8217;s been a while since I released an update and there have been a number of templates since 0.0.4 so packaged them up ready for consumption  
Below are some examples of what we now have!
So we have some standard Windows stats such as system calls, context switches and process/processor stats.




We can now also monitor [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since I released an update and there have been a number of templates since 0.0.4 so packaged them up ready for consumption <img src='http://www.parkingdenied.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Below are some examples of what we now have!</p>
<p>So we have some standard Windows stats such as system calls, context switches and process/processor stats.</p>
<p><img class="alignnone size-full wp-image-139" title="windows-processes" src="http://www.parkingdenied.com/wp-content/uploads/2009/02/windows-processes.png" alt="windows-processes" width="603" height="227" /></p>
<p><img class="alignnone size-full wp-image-138" title="windows-contextswitches" src="http://www.parkingdenied.com/wp-content/uploads/2009/02/windows-contextswitches.png" alt="windows-contextswitches" width="603" height="227" /></p>
<p><img class="alignnone size-full wp-image-137" title="windows-processorqueuelength" src="http://www.parkingdenied.com/wp-content/uploads/2009/02/windows-processorqueuelength.png" alt="windows-processorqueuelength" width="603" height="227" /></p>
<p><img class="alignnone size-full wp-image-136" title="windows-systemcalls" src="http://www.parkingdenied.com/wp-content/uploads/2009/02/windows-systemcalls.png" alt="windows-systemcalls" width="603" height="227" /></p>
<p>We can now also monitor processes themselves on an individual basis.</p>
<p><img class="alignnone size-full wp-image-141" title="processstats-memory" src="http://www.parkingdenied.com/wp-content/uploads/2009/02/processstats-memory.png" alt="processstats-memory" width="587" height="241" /></p>
<p><img class="alignnone size-full wp-image-142" title="processstats-general" src="http://www.parkingdenied.com/wp-content/uploads/2009/02/processstats-general.png" alt="processstats-general" width="587" height="241" /></p>
<p>And some new Exchange graphs including the much requested SMTP graphs.</p>
<p><img class="alignnone size-full wp-image-144" title="smtp-performance" src="http://www.parkingdenied.com/wp-content/uploads/2009/02/smtp-performance.png" alt="smtp-performance" width="603" height="255" /></p>
<p><img class="alignnone size-full wp-image-145" title="smtp-queue" src="http://www.parkingdenied.com/wp-content/uploads/2009/02/smtp-queue.png" alt="smtp-queue" width="603" height="241" /></p>
<p><img class="alignnone size-full wp-image-143" title="exchange-clientrpclatency" src="http://www.parkingdenied.com/wp-content/uploads/2009/02/exchange-clientrpclatency.png" alt="exchange-clientrpclatency" width="953" height="243" /></p>
<p>And here is the download. Any questions or suggestions let me know and feel free to stop by the thread on the Cacti forums (<a href="http://forums.cacti.net/viewtopic.php?t=30438" target="_blank">Link!</a>).</p>
Note: There is a file embedded within this post, please visit this post to download the file.
]]></content:encoded>
			<wfw:commentRss>http://www.parkingdenied.com/2009/02/23/005-release-of-cactiwmi/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Painting the 300ZX</title>
		<link>http://www.parkingdenied.com/2009/02/10/painting-the-300zx/</link>
		<comments>http://www.parkingdenied.com/2009/02/10/painting-the-300zx/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 10:41:53 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[Cars]]></category>
		<category><![CDATA[300zx]]></category>
		<category><![CDATA[Painting]]></category>

		<guid isPermaLink="false">http://www.parkingdenied.com/?p=131</guid>
		<description><![CDATA[So I have finally started painting the Zed and figured I would give a bit of an update seeing as after the site redesign I didn’t port any of the old posts across.
Picked up a stack of supplies.
&#160; 
Hooked up the air compressor.
&#160; 
Got out the sander.
&#160; 
And got to work!
&#160; 
Then with the help [...]]]></description>
			<content:encoded><![CDATA[<p>So I have finally started painting the Zed and figured I would give a bit of an update seeing as after the site redesign I didn’t port any of the old posts across.</p>
<p>Picked up a stack of supplies.</p>
<p>&#160;<a href="http://www.parkingdenied.com/wp-content/uploads/2009/04/zedpaint1.jpg"><img title="zedpaint1" style="display: inline" height="446" alt="zedpaint1" src="http://www.parkingdenied.com/wp-content/uploads/2009/04/zedpaint1-thumb.jpg" width="595" /></a> </p>
<p>Hooked up the air compressor.</p>
<p>&#160;<a href="http://www.parkingdenied.com/wp-content/uploads/2009/04/zedpaint2.jpg"><img title="zedpaint2" style="display: inline" height="446" alt="zedpaint2" src="http://www.parkingdenied.com/wp-content/uploads/2009/04/zedpaint2-thumb.jpg" width="595" /></a> </p>
<p>Got out the sander.</p>
<p>&#160;<a href="http://www.parkingdenied.com/wp-content/uploads/2009/04/zedpaint3.jpg"><img title="zedpaint3" style="display: inline" height="446" alt="zedpaint3" src="http://www.parkingdenied.com/wp-content/uploads/2009/04/zedpaint3-thumb.jpg" width="595" /></a> </p>
<p>And got to work!</p>
<p>&#160;<a href="http://www.parkingdenied.com/wp-content/uploads/2009/04/zedpaint4.jpg"><img title="zedpaint4" style="display: inline" height="446" alt="zedpaint4" src="http://www.parkingdenied.com/wp-content/uploads/2009/04/zedpaint4-thumb.jpg" width="595" /></a> </p>
<p>Then with the help of the big boy 2 stage filtration setup.</p>
<p>&#160;<a href="http://www.parkingdenied.com/wp-content/uploads/2009/04/zedpaint5.jpg"><img title="zedpaint5" style="display: inline" height="446" alt="zedpaint5" src="http://www.parkingdenied.com/wp-content/uploads/2009/04/zedpaint5-thumb.jpg" width="595" /></a> </p>
<p>Put down a nice coat of etching primer.</p>
<p>&#160;<a href="http://www.parkingdenied.com/wp-content/uploads/2009/04/zedpaint6.jpg"><img title="zedpaint6" style="display: inline" height="446" alt="zedpaint6" src="http://www.parkingdenied.com/wp-content/uploads/2009/04/zedpaint6-thumb.jpg" width="595" /></a> </p>
<p>The next stage will be lightly sanding the etching primer and then lay down a few coats of high build primer. Once that’s done I can start blocking it back and get it nice and smooth before the colour and clear.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.parkingdenied.com/2009/02/10/painting-the-300zx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New release with Exchange Monitoring!</title>
		<link>http://www.parkingdenied.com/2009/01/16/new-release-with-exchange-monitoring/</link>
		<comments>http://www.parkingdenied.com/2009/01/16/new-release-with-exchange-monitoring/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 14:24:04 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Cacti]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false">http://www.parkingdenied.com/?p=104</guid>
		<description><![CDATA[It’s been a little while since I have released anything but after a bit of work I have a new version which now supports monitoring Exchange! Previously I had monitored Exchange myself via WMI using a custom PHP script but now this can all be done with a reasonably straight forward set of templates and [...]]]></description>
			<content:encoded><![CDATA[<p>It’s been a little while since I have released anything but after a bit of work I have a new version which now supports monitoring Exchange! Previously I had monitored Exchange myself via WMI using a custom PHP script but now this can all be done with a reasonably straight forward set of templates and the generic wmi.php <img src='http://www.parkingdenied.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Aside from just supporting Exchange here are the changes below:</p>
<ul>
<li>Now parses out spaces and replaces with an underscore (needed for anything that has a name with spaces in it)</li>
<li>Included new debug mode which logs detailed information to a per host text file</li>
<li>Code cleanup, should make it a bit easier to configure</li>
<li>General tweaking</li>
</ul>
<p>The biggest issue with Exchange that I encountered was that the store names could have spaces which would throw off Cacti when it interpreted the data being passed to it. But as you can see from below the changes have fixed this issue and allow for some useful monitoring.</p>
<p><img class="alignnone size-full wp-image-105" title="004-exchange-activelogons" src="http://www.parkingdenied.com/wp-content/uploads/2009/01/004-exchange-activelogons.png" alt="004-exchange-activelogons" width="837" height="313" /></p>
<p><img class="alignnone size-full wp-image-106" title="004-exchange-messages-per-sec" src="http://www.parkingdenied.com/wp-content/uploads/2009/01/004-exchange-messages-per-sec.png" alt="004-exchange-messages-per-sec" width="853" height="299" /></p>
<p>The templates are included in the attached tar file, please note however that the active client logons will need tweaking to suit your system. For me I created two graphs based on the template then removed the template so that the name of each store could be displayed on the graph. You can do this or alternatively do per store graphs however I found it to be overkill and used two graphs of 5 stores each.</p>
<p>The new debug mode logs by default to /tmp but you can adjust this to wherever you like so long as it has the correct permissions. Effectively what you will end up with is a log file per host of the filename dbug_xx.xx.xx.xx where the x&#8217;s are your IP. Inside it will contain basically all the variables being passed in and out as well as the direct output from wmic etc. With this you should be able to track whats going on and debug any issues.</p>
<p>So there you have it everything you need to get started. I will have some additional Exchange templates over the next few weeks so stay tuned! For now if you need help leave a message or drop by the Cacti forums. Also one last note you can browse the latest code and check out any build you like from the web based Subversion repository. Check it out at <a href="http://svn.parkingdenied.com/">http://svn.parkingdenied.com/</a></p>
Note: There is a file embedded within this post, please visit this post to download the file.
]]></content:encoded>
			<wfw:commentRss>http://www.parkingdenied.com/2009/01/16/new-release-with-exchange-monitoring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First CactiWMI release! (0.0.3)</title>
		<link>http://www.parkingdenied.com/2008/12/24/first-cactiwmi-release-003/</link>
		<comments>http://www.parkingdenied.com/2008/12/24/first-cactiwmi-release-003/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 10:25:39 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Cacti]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false">http://www.parkingdenied.com/?p=98</guid>
		<description><![CDATA[Yer yer I know it&#8217;s not the first actual release but it&#8217;s the first one I am posting up publicly.
CactiWMI is the project I have been working on as a method to monitor Windows servers and applications such as Exchange and SQL from a Linux based Cacti install. To do this it uses a combination [...]]]></description>
			<content:encoded><![CDATA[<p>Yer yer I know it&#8217;s not the first actual release but it&#8217;s the first one I am posting up publicly.</p>
<p>CactiWMI is the project I have been working on as a method to monitor Windows servers and applications such as Exchange and SQL from a Linux based Cacti install. To do this it uses a combination of some PHP scripting and the WMI client for Linux which just so happens to be available as a Debian package <img src='http://www.parkingdenied.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Anyway I&#8217;ve posted up some previous examples of what can be done and they were pretty rough. So here are a few examples of what can be done and what templates are available in the package.</p>
<p>Here we can monitor memory usage, this one showing the physical memory usage compared against the commit limit and the current commited bytes.</p>
<p><img class="alignnone size-full wp-image-97" title="002-windows-memory" src="http://www.parkingdenied.com/wp-content/uploads/2008/12/002-windows-memory.png" alt="002-windows-memory" width="703" height="241" /></p>
<p>Simple disk space monitor. It also does not suffer from the SNMP remapping problem where when you add a new disk the OID&#8217;s are remapped and thus your stats break.</p>
<p><img class="alignnone size-full wp-image-96" title="002-windows-diskspace" src="http://www.parkingdenied.com/wp-content/uploads/2008/12/002-windows-diskspace.png" alt="002-windows-diskspace" width="703" height="227" /></p>
<p>Pretty straight forward, disk I/O so you can see what is really going on when you have load problems.</p>
<p><img class="alignnone size-full wp-image-95" title="002-windows-diskio" src="http://www.parkingdenied.com/wp-content/uploads/2008/12/002-windows-diskio.png" alt="002-windows-diskio" width="703" height="241" /></p>
<p>CPU usage, available with templates for 1, 2 and 4 core machines. I will do one for an 8 core machine shortly.</p>
<p><img class="alignnone size-full wp-image-94" title="002-windows-cpu" src="http://www.parkingdenied.com/wp-content/uploads/2008/12/002-windows-cpu.png" alt="002-windows-cpu" width="703" height="255" /></p>
<p>SQL performance. Tested against SQL 2005.</p>
<p><img class="alignnone size-full wp-image-93" title="002-sql-performance" src="http://www.parkingdenied.com/wp-content/uploads/2008/12/002-sql-performance.png" alt="002-sql-performance" width="703" height="227" /></p>
<p>Domain controller LDAP stats. If you use a lot of query based distribution groups or use LDAP for external authentication this can be invaluable to see when there are performance problems.</p>
<p><img class="alignnone size-full wp-image-92" title="002-ntds-ldap-connections" src="http://www.parkingdenied.com/wp-content/uploads/2008/12/002-ntds-ldap-connections.png" alt="002-ntds-ldap-connections" width="703" height="255" /></p>
<p><img class="alignnone size-full wp-image-91" title="002-ntds-ldap" src="http://www.parkingdenied.com/wp-content/uploads/2008/12/002-ntds-ldap.png" alt="002-ntds-ldap" width="687" height="269" /></p>
<p>NT Domain Controller stats. Both authentications per second as well as the read/write/searches against your domain. Good for performance troubleshooting and detecting rogue applications.</p>
<p><img class="alignnone size-full wp-image-90" title="002-ntds-ds" src="http://www.parkingdenied.com/wp-content/uploads/2008/12/002-ntds-ds.png" alt="002-ntds-ds" width="703" height="255" /></p>
<p><img class="alignnone size-full wp-image-89" title="002-ntds-auth" src="http://www.parkingdenied.com/wp-content/uploads/2008/12/002-ntds-auth.png" alt="002-ntds-auth" width="703" height="241" /></p>
<p>Pretty useful no?</p>
<p>So how to set them up&#8230; Grab the package attached to this post. It will contain two PHP scripts and a number of templates. Extract the two files to your Cacti scripts folder and then start editing the wmi-logins.php file. In this file are listed the username/password pairs which are referenced by the script. This separates the credential itself from Cacti meaning your Cacti admins don&#8217;t actually need to know your WMI user which you are using to pull the stats. In any case add the credential as per the file which should be pretty self explanitory.</p>
<p>Before we go too much further there are some gotcha&#8217;s that need to be taken care of regarding the user you have selected to do the WMI queries. This user needs to both have access to remotely query WMI but also to be able to query the subsystems from WMI. What this means in our case is that the user needs have remote access to WMI, be allowed to remote query and then also to be allowed to access perfmon. From my understanding this is due to perfmon being a subsystem which WMI is accessing and thus the credential being used must also have access to the perfmon counters in order to be able to graph anything. For the WMI portion of things you can get most of the information from this MSDN link <a href="http://msdn2.microsoft.com/en-us/library/aa393266.aspx" target="_blank">http://msdn2.microsoft.com/en-us/library/aa393266.aspx</a>. The basics are you grant the user permission to remote WMI as discussed, you then need to grant the user access to the appropriate WMI namespace, in our case this is CIMV2 and then add the user to the perfmon group which by default the 2003 server and up machines should have. This should grant it all the permission it requires, however if you do have problems test with an admin credential and see if you get results. If you do get results as admin but not as your non-admin user then you have a permission issue.</p>
<p>Ok so thats out of the way now you may need to update the wmi.php file to ensure the correct path to your wmic binary so edit that and ensure it is correct. Additionally you can redirect the location of the wmi-logins.php by editing the appropriate variable. Most of the code should be commented to help explain what it is doing, basically its acting as the glue between Cacti and the wmic results. So everything is in place, all that you need to do is import the templates included and attach them to the hosts you want to graph. The slack way I have been doing things is simply adding the graph to the device or the host template which will auto generate the required data sources when you add the graph however your more than welcome to do the the manual way by adding the data source and then the graph and linking the two. Make sure if you used a different credential name to update the data templates as I have not set them to be a per data source credential reference, you will understand once you take a look. It&#8217;s up to you if you need the ability to do per data source credentials for different servers but the option is there should it need to be enabled.</p>
<p>So that should cover everything, add your graphs and start monitoring those hosts! If there are any questions feel free to leave a comment or drop me a PM on the Cacti forums <img src='http://www.parkingdenied.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
Note: There is a file embedded within this post, please visit this post to download the file.
]]></content:encoded>
			<wfw:commentRss>http://www.parkingdenied.com/2008/12/24/first-cactiwmi-release-003/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
