<?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>sperrgebiet&#039;s world</title>
	<atom:link href="http://www.sperrgebiet.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sperrgebiet.org</link>
	<description>penguins (and ducks) are friends, no food</description>
	<lastBuildDate>Mon, 07 May 2012 19:54:35 +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>Exchange 2010 ActiveSync &#8211; HTTP 500 Internal Server Error – DeviceNotProvisioned_Mbx</title>
		<link>http://www.sperrgebiet.org/2010/12/exchange-2010-activesync-http-500-internal-server-error-devicenotprovisioned_mbx/</link>
		<comments>http://www.sperrgebiet.org/2010/12/exchange-2010-activesync-http-500-internal-server-error-devicenotprovisioned_mbx/#comments</comments>
		<pubDate>Mon, 20 Dec 2010 20:50:24 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Active Sync]]></category>
		<category><![CDATA[Exchange 2010]]></category>

		<guid isPermaLink="false">http://www.sperrgebiet.org/?p=410</guid>
		<description><![CDATA[Exchange 2010 ActiveSync - HTTP 500 Internal Server Error – DeviceNotProvisioned_Mbx]]></description>
			<content:encoded><![CDATA[<p>Since Beta 2 I have MXS2010 running on a private machine to get in touch with it. Since a couple of weeks I have MXS2010 SP1 running in my company so we can test everything in a larger environment. It&#8217;s running parallel to our MXS2003 environment and just a few Mailboxes where moved to MXS2010. Recently we had the problem that some Mobile Devices weren&#8217;t able to sync via ActiveSync. At the beginning it seemed that just Nokia Mobiles with MFE (Mail for Exchange) were affected. But today I figured out that this also happened with an Android Phone.
</p>
<p>On the mobiles we just got an HTTP 500 (Internal Server Error). Also in the IIS-Log file I didn&#8217;t get that much information. Also just HTTP 500. But within the request I found the following information &#8220;<strong>DeviceNotProvisioned_Mbx</strong>:&lt;MBX-Servername&gt;.
</p>
<p>So, provisioned where? OK, through the ECP I checked if the authenticated user account has a mobile device associated to it. But there was no association. So after a moment of thinking I remembered that I saw &#8220;something&#8221; time ago within Active Directory. Because I always use &#8220;<em>Advanced Features</em>&#8221; and especially &#8220;<em>Users, Contacts, Groups, and Computers as containers</em>&#8221; within dsa.msc I just switched to that MMC and changed to a user account where I knew that ActiveSync is working.
</p>
<p>So first, if not already done, activate the above mentioned features (you&#8217;ll need both).
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/12/122010_2049_Exchange2011.png" alt=""/>
	</p>
</p>
<p>So, beyond an ActiveSync enabled user account (which already synced with a device) you&#8217;ll find a new container called &#8220;<strong>ExchangeActiveSyncDevices</strong>&#8220;. Within that container you&#8217;ll find entries for every device this user is currently syncing or synced once in the life time (unless the device was removed within ECP or so).
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/12/122010_2049_Exchange2012.png" alt=""/>
	</p>
</p>
<p>So, nice, but how does that help with the above error? Actually the error occurs because Exchange isn&#8217;t able to create this container. This can happen if someone played around with the Active Directory permissions (like it happened in my company BEFORE I started there, of course) <img src='http://www.sperrgebiet.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />
</p>
<p>So within the Properties of a user account at the Security Tab (if you can&#8217;t see that one you have so enable the &#8220;<em>Advanced Features</em>&#8221; within View) -&gt; Advanced the Check Box &#8220;<em>Include inheritable permission from this object&#8217;s parent</em>&#8221; should be checked.
</p>
</p>
<p>Exchange 2010 grants special permissions to the group &#8220;<strong>Exchange Servers</strong>&#8221; at the Domain Level. Actually it grants &#8220;<strong>Create/Delete msExchActiveSyncDevices objects</strong>&#8220;.
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/12/122010_2049_Exchange2013.png" alt=""/>
	</p>
</p>
<p>So if Exchange isn&#8217;t able to create this container beyond a user object it can&#8217;t create the device object and so now association between the mobile device and the user and finally as consequence of that no Active Sync is working <span style="font-family:Wingdings">J</span>
	</p>
<p><span style="font-size:14pt"><strong>Conclusion: Don&#8217;t mess with Active Directory Permissions unless you really know what you do (for now and for the future) <span style="font-family:Wingdings">J</span><br />
			</strong></span></p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sperrgebiet.org/2010/12/exchange-2010-activesync-http-500-internal-server-error-devicenotprovisioned_mbx/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Upgrading Windows Edition</title>
		<link>http://www.sperrgebiet.org/2010/11/upgrading-windows-edition/</link>
		<comments>http://www.sperrgebiet.org/2010/11/upgrading-windows-edition/#comments</comments>
		<pubDate>Sun, 31 Oct 2010 23:09:55 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>

		<guid isPermaLink="false">http://www.sperrgebiet.org/?p=397</guid>
		<description><![CDATA[Upgrade Windows Server 2008 R2 Editions]]></description>
			<content:encoded><![CDATA[<p>I just needed to upgrade a Windows Server 2008 R2 Standard Box to Enterprise. So after searching around I found DISM.exe, the Deployment Image Servicing and management tool, which gives you the possibility to change the Edition of a Server 2008R2 (or Win 7) without reinstalling it and also without the need for a media.
</p>
<p>It&#8217;s really a quick and easy task:
</p>
<p>Open a command line and type
</p>
<p><strong>Dism /Online /GetTargetEditions<br />
</strong></p>
<p>You will get the current installed Windows Edition, in my case ServerStandard
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/11/103110_2309_UpgradingWi1.png" alt=""/>
	</p>
<p>You get a list with available upgrade options with:
</p>
<p><strong>dism /online /get-targeteditions<br />
</strong></p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/11/103110_2309_UpgradingWi2.png" alt=""/>
	</p>
<p>So, to upgrade to Enterprise you have just to type:
</p>
<p><strong>dism /online /set-edition:serverenterprise /productkey:&lt;your productkey&gt;<br />
</strong></p>
<p>The key I used for the command is a KMS-Key. If you just own MAK&#8217;s you have to specify one of your Multiple Activation Key&#8217;s of course. I&#8217;ve added a link to all KMS-Keys at the end of this post.
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/11/103110_2309_UpgradingWi3.png" alt=""/>
	</p>
<p>After the reboot we can check if the upgrade worked.
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/11/103110_2309_UpgradingWi4.png" alt=""/>
	</p>
</p>
<p><span style="text-decoration:underline"><em>Here are some useful links:<br />
</em></span></p>
<p><strong>Technet Library for DISM</strong><br/><a href="http://technet.microsoft.com/en-us/library/dd744380(WS.10).aspx">http://technet.microsoft.com/en-us/library/dd744380(WS.10).aspx</a>
	</p>
<p><strong>KMS Keys</strong><br/><a href="http://technet.microsoft.com/en-us/library/ff793406.aspx">http://technet.microsoft.com/en-us/library/ff793406.aspx</a>
	</p>
<p><strong>And a more detailed blog post</strong><br/><a href="http://blogs.technet.com/b/server_core/archive/2009/10/14/upgrading-windows-server-2008-r2-without-media.aspx">http://blogs.technet.com/b/server_core/archive/2009/10/14/upgrading-windows-server-2008-r2-without-media.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sperrgebiet.org/2010/11/upgrading-windows-edition/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Exchange Management Console – Initialization failed after renaming/removing a server</title>
		<link>http://www.sperrgebiet.org/2010/11/exchange-management-console-initialization-failed-after-renaming-or-removin-a-server/</link>
		<comments>http://www.sperrgebiet.org/2010/11/exchange-management-console-initialization-failed-after-renaming-or-removin-a-server/#comments</comments>
		<pubDate>Sun, 31 Oct 2010 22:49:49 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2010]]></category>

		<guid isPermaLink="false">http://www.sperrgebiet.org/?p=391</guid>
		<description><![CDATA[Exchange Management Console - Initialization failed]]></description>
			<content:encoded><![CDATA[</p>
<p>After renaming a server and reinstalling Exchange 2010 i got the following error while launching EMC: The following error occurred while attempting to connect to the specified Exchange server ‚&lt;OLD SERVERNAME&#8217;.
</p>
<p>The problem was that EMC still tries to connect to the old server name, and I found no option to specify the new one.
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/11/103110_2249_ExchangeMan1.png" alt=""/>
	</p>
</p>
<p>So I looked around in the Registry and TaTa, there is one value which still includes the old value. Just too bad that it&#8217;s a Binary value. So if you want you can also just rename the server to the new and right value. The easier solution (which I did) is just deleting the value &#8220;<strong>NodeStructureSettings</strong>&#8220;.
</p>
<p>BTW: It&#8217;s within the following Hive: HKCU\Software\Microsoft\Exchangeserver\v14\AdminTools
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/11/103110_2249_ExchangeMan2.png" alt=""/>
	</p>
</p>
<p>After firing up EMC again it will discover the local Exchange Installation again and running fine again <span style="font-family:Wingdings">J</span>
	</p>
<p>BTW: With EMS (<span style="font-family:Wingdings">à</span>PowerShell) you won&#8217;t get this error <img src='http://www.sperrgebiet.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/11/103110_2249_ExchangeMan3.png" alt=""/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sperrgebiet.org/2010/11/exchange-management-console-initialization-failed-after-renaming-or-removin-a-server/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Setup cannot use domain controller ‚</title>
		<link>http://www.sperrgebiet.org/2010/10/setup-cannot-use-domain-controller/</link>
		<comments>http://www.sperrgebiet.org/2010/10/setup-cannot-use-domain-controller/#comments</comments>
		<pubDate>Sun, 31 Oct 2010 21:15:38 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2010]]></category>

		<guid isPermaLink="false">http://www.sperrgebiet.org/?p=386</guid>
		<description><![CDATA[Setup cannot use domain controller 'dcname.fqdn' because an override is set in the registry. Run Setup again, and specify '/DomainController:<other dc fqdn>']]></description>
			<content:encoded><![CDATA[<p>Hy
</p>
<p>I&#8217;ve the got the following error after reinstalling an Exchange 2010 Server.
</p>
<p>Setup cannot use domain controller &#8216;&lt;dcname.fqdn&gt;&#8217; because an override is set in the registry. Run Setup again, and specify &#8216;/DomainController:&lt;other dc fqdn&#8217;.
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/10/103110_2115_Setupcannot1.png" alt=""/>
	</p>
</p>
<p>The problem was that i statically assigned a domain controller to this Exchange Server after the old installation.
</p>
<p>So I tried to hint the setup brought up and ran setup.com with the /domaincontroller Parameter. But I got the same error.
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/10/103110_2115_Setupcannot2.png" alt=""/>
	</p>
</p>
<p>After a short search in the registry, i saw that there was still some stuff from the old installation. Especially the configuration from the &#8220;MSExchangeADTopology&#8221; Service, which provides the AD informations to Exchange services, was still there and caused this problem.
</p>
<p>So after deleting &#8220;<strong>ConfigDCHostName</strong>&#8221; and running setup again, everything worked fine.
</p>
<p>You will find this value within &#8220;HKLM\SYSTEM\ControlSet001\services\MSExchange ADAccess\Instance0&#8243;
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/10/103110_2115_Setupcannot3.png" alt=""/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sperrgebiet.org/2010/10/setup-cannot-use-domain-controller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Journey to Tehran</title>
		<link>http://www.sperrgebiet.org/2010/10/journey-to-tehran/</link>
		<comments>http://www.sperrgebiet.org/2010/10/journey-to-tehran/#comments</comments>
		<pubDate>Sat, 02 Oct 2010 16:59:48 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Private]]></category>
		<category><![CDATA[Iran]]></category>
		<category><![CDATA[Journey]]></category>
		<category><![CDATA[Tehran]]></category>

		<guid isPermaLink="false">http://www.sperrgebiet.org/?p=381</guid>
		<description><![CDATA[This week i had a business trip to Tehran. Two colleagues from Austria and one from Turkey were with me to implement our IT equipment in a new factory. In beginning it looked like a normal boring business trip. But it was really fun. First because we four were a quite good team Most things&#8230;]]></description>
			<content:encoded><![CDATA[<p>This week i had a business trip to Tehran. Two colleagues from Austria and one from Turkey were with me to implement our IT equipment in a new factory. In beginning it looked like a normal boring business trip.
</p>
<p>But it was really fun. First because we four were a quite good team <img src='http://www.sperrgebiet.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Most things worked out as planned. So we&#8217;ve got our job done in a timely fashion. But the really exciting and fun part was pushed from our main host, the Assistant of the Managing Director of our factory. She was so helpful and kind and showed us a lot of the city. Thanks again Parisa <span style="font-family:Wingdings">J</span>
	</p>
<p>I think we&#8217;ve got a really good impression of this city and Iran itself. And honestly, don&#8217;t believe everything you read in the newspaper or hear on TV about Iran. As every time you should get an impression by yourself and after that make create your opinion. For me this journey was eye-opening, because I personally had a wrong impression before.
</p>
<p>I hope I can visit this city and especially the whole country again in future.
</p>
<p>You can find some pictures we took <a href="/gallery/tehran-2010/">here</a>.
</p>
<p>_Hans</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sperrgebiet.org/2010/10/journey-to-tehran/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Websites offline</title>
		<link>http://www.sperrgebiet.org/2010/09/websites-offline/</link>
		<comments>http://www.sperrgebiet.org/2010/09/websites-offline/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 20:08:16 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Dedicated Server]]></category>

		<guid isPermaLink="false">http://www.sperrgebiet.org/?p=365</guid>
		<description><![CDATA[Sites offline because of a Hetzner.de - failure]]></description>
			<content:encoded><![CDATA[<p>Hy</p>
<p>I&#8217;m sorry. Most of my sites were offline today for a couple of hours. There are some issues with my hoster.</p>
<p>I&#8217;m currently working on the problem to solve it asap. In the meantime some services are down.</p>
<p>I&#8217;m sorry. But i hope that that does not happen again.</p>
<p>Kind regards<br />
_Hans</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sperrgebiet.org/2010/09/websites-offline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Exchange Schema, Organization and Domain Version with PowerShell</title>
		<link>http://www.sperrgebiet.org/2010/09/get-exchange-schema-organization-and-domain-version-with-powershell/</link>
		<comments>http://www.sperrgebiet.org/2010/09/get-exchange-schema-organization-and-domain-version-with-powershell/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 22:50:57 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Schema]]></category>

		<guid isPermaLink="false">http://www.sperrgebiet.org/?p=361</guid>
		<description><![CDATA[Get Exchange Schema, Organization and Domain Version with Powershell. Also for multiple DC's at once.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sure you already know that an Exchange Server heavily integrates into your Active Directory and that it can&#8217;t work without it. So it&#8217;s also necessary to prepare your Active Directory for that. By default, the setup does this job for you automatically. Also during a Service Pack the Schema is sometimes updated. So especially in an larger environment you want to have more control and want to wait that all Domain Controllers have time to replicate the Schema before you prepare the Exchange Organization and so on.
</p>
<p>To make it&#8217;s easier to monitor all your DC&#8217;s if the replication is working and if all DC&#8217;s already have the up to date Schema I&#8217;ve wrote a small PowerShell Script which does exactly that <img src='http://www.sperrgebiet.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />
</p>
<p>So, let&#8217;s start two screen shots.
</p>
</p>
<p>The first one shows an older version of the script (did basically the same, but with the help of dsget.exe. Furthermore the output wasn&#8217;t that nice <img src='http://www.sperrgebiet.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />
</p>
<p>But you see, I made that screenshot during our live update and you can see that not all DC&#8217;s have the new Schema already.
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/09/090710_2250_GetExchange1.png" alt=""/>
	</p>
</p>
<p>This screen shot was made after running the current version and after everything is up to date.
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/09/090710_2250_GetExchange2.png" alt=""/>
	</p>
</p>
<p>I think the Script is quite self-explaining.
</p>
<p>When you fire it up the without any parameter it will help you <img src='http://www.sperrgebiet.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />
</p>
<p>I also made a little error handling. But I&#8217;m sure I&#8217;ve missed some circumstances.
</p>
<p>But it&#8217;s no problem, because I just read the Active Directory. So you can also run it as unprivileged user without problem.
</p>
<p>You can view the file via my web-based SVN at <a href="https://svn.sperrgebiet.org/public-web/public/PowerShell/Get-MXSVersion.ps1?view=markup">https://svn.sperrgebiet.org/public-web/public/PowerShell/Get-MXSVersion.ps1?view=markup</a>
	</p>
<p>or directly grab a copy at <a href="https://svn.sperrgebiet.org/public/PowerShell/Get-MXSVersion.ps1">https://svn.sperrgebiet.org/public/PowerShell/Get-MXSVersion.ps1</a>
	</p>
<p>Hope it&#8217;s helpful for you.
</p>
</p>
<p>Please let me know if something isn&#8217;t working like expected or if you have troubles with it. I&#8217;m sure it can be improved <span style="font-family:Wingdings">J</span>
	</p>
<p>_Hans</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sperrgebiet.org/2010/09/get-exchange-schema-organization-and-domain-version-with-powershell/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>NagStatus (Windows Sidebar Gadget) with Icinga/Nagios</title>
		<link>http://www.sperrgebiet.org/2010/08/nagstatus-windows-sidebar-gadget-with-icinganagios/</link>
		<comments>http://www.sperrgebiet.org/2010/08/nagstatus-windows-sidebar-gadget-with-icinganagios/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 12:28:50 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Icinga]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.sperrgebiet.org/?p=356</guid>
		<description><![CDATA[Display the current Icinga/Nagios Status in a Windows Sidebar Gadget]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sure the most people already know <a href="http://nagstamon.sourceforge.net/" target="_blank">Nagstamon</a> which is a small handy tool to display the overall Nagios/Icinga on different platforms.
</p>
<p>But because I mainly use Windows 7 at the office and at home (have a Debian-Dualboot at home, but mainly use Win7) I wanted a Windows Sidebar Gadget to display the Icinga Status.
</p>
</p>
<p>After a short web search I&#8217;ve found <a href="http://nagstatus.com/">Nagstatus</a>, which is a very nice look Windows Sidebar Gadget which grabs the status from a XML-Stream which is provided by an own CGI.
</p>
<p>There are just a few steps to get it up and running.
</p>
</p>
<p>First download the most current version from <a href="http://nagstatus.com/pages/category/release">http://nagstatus.com/pages/category/release</a> . Currently it is 1.5.3. Just open the ZIP-File. Inside the folder &#8220;XMLProviderScript&#8221; you&#8217;ll find the nagxmlstatus.cgi, which must be copied inside the CGI-BIN-Directory from your Icinga/Nagios Installation. CGI-BIN it just the alias, in the file systems it&#8217;s the sbin folder. On a default installation you&#8217;ll find it at:
</p>
<p><strong><em>/usr/local/icinga/sbin/<br/></em></strong>or<br/><strong><em>/usr/local/nagios/sbin/</em></strong>
	</p>
<p>Furthermore you have to change the permissions so it&#8217;s executable for your webserver. (Yes, I know that I permit more than is really necessary, but I&#8217;m not so paranoid as some people are <img src='http://www.sperrgebiet.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />   )
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/08/082210_1228_NagStatusWi1.png" alt=""/>
	</p>
<p>As mentioned on the website from Nagstatus it&#8217;s Perl and use the LibXML-Libraries. If you don&#8217;t have installed those libraries already, do it by run:
</p>
<p><strong><em>aptitude install libxml-perl libxml-libxml-perl<br />
</em></strong></p>
<p>After the installation is completed you must provide the path to your status.dat file.
</p>
<p>So just open the nagxmlstatus.cgi with your favorite editor and edit the $STATUSFILE-Variable on Line 15.
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/08/082210_1228_NagStatusWi2.png" alt=""/>
	</p>
</p>
<p>To try that it works correctly just run the following inside Bash
</p>
<p><strong><em> ./nagxmlstatus.cgi -n host -e current_state<br />
</em></strong></p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/08/082210_1228_NagStatusWi3.png" alt=""/>
	</p>
<p>An XML-Stream should be displayed with the current state of your hosts.
</p>
</p>
<p>So, the last step is just to configure the Nagstatus-Gadget to point to your server.
</p>
<p>Just rename the before downloaded ZIP-File to *.gadget and double-click it.
</p>
<p>You should choose &#8216;Install&#8217; <img src='http://www.sperrgebiet.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/08/082210_1228_NagStatusWi4.png" alt=""/>
	</p>
</p>
<p>The newly installed gadget will appear somewhere on your desktop. Just look around <img src='http://www.sperrgebiet.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  In the default-state it will give you a hint what we have to do next =&#8221;XML Provider URL is unset. Please enter a valid URL in settings.&#8221;
</p>
<p>So we&#8217;ll do that.
</p>
<p>Move your mouse onto the gadget and a small screw wrench will appear. Click on it so the options will pop up.
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/08/082210_1228_NagStatusWi5.png" alt=""/>
	</p>
<p>Just enter the missing information and confirm the settings with OK.
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/08/082210_1228_NagStatusWi6.png" alt=""/>
	</p>
</p>
<p><strong>And voila<br />
</strong></p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/08/082210_1228_NagStatusWi7.png" alt=""/>
	</p>
<p>When clicking on the gadget a more detailed windows hovers up.
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/08/082210_1228_NagStatusWi8.png" alt=""/>
	</p>
<p>In my opinion it&#8217;s a real cool looking gadget and at least for Windows a good replacement (or addition) to Nagstamon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sperrgebiet.org/2010/08/nagstatus-windows-sidebar-gadget-with-icinganagios/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Simple Covering Window for Windows ;)</title>
		<link>http://www.sperrgebiet.org/2010/08/simple-covering-window-for-windows/</link>
		<comments>http://www.sperrgebiet.org/2010/08/simple-covering-window-for-windows/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 21:49:08 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Misc IT Stuff]]></category>
		<category><![CDATA[VB.net]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.sperrgebiet.org/?p=344</guid>
		<description><![CDATA[Using a 'Covering Window' to hide areas on normal Windows]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently trying to learn the <a href="http://colemak.com/" target="_blank">Colemak Keyboard Layout</a>. For that, I&#8217;ve installed <a href="http://www.typefastertypingtutor.com/" target="_blank">TypeFaster</a>, which is a cool Tool to learn whatever keyboard layout you want. You have just to choose a  Lesson and then start typing <span style="font-family:Wingdings">J</span>
	</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/08/080810_2148_SimpleCover1.png" alt=""/>
	</p>
</p>
<p>But there&#8217;s one drawback (in my opinion). The onscreen-keyboard is too large. Especially after a lesson where I saw the right location of the key&#8217;s I want to run a lession without the onscreen keyboard. But there is no option to do that. First I started to move the window out of the screen, but that isn&#8217;t the way an IT-Guy should solve such a problem <img src='http://www.sperrgebiet.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />
</p>
<p>OK, the better solution would be to modify the source code so it fit&#8217;s one requirement, but I choose the easier way <img src='http://www.sperrgebiet.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />
</p>
<p>Just build a small VB.net Tool which just creates and empty form and keep it in front of other windows.
</p>
<p>You can switch the behavior of the Window with the top button. There are just two options <img src='http://www.sperrgebiet.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/08/080810_2148_SimpleCover2.png" alt=""/>
	</p>
<p>It&#8217;s just an simple 19KB Binary without any features like saving it&#8217;s last position or so. It&#8217;s always starts with its default values.
</p>
<p>You can download it at: <a href="http://www.sperrgebiet.org/wp-content/uploads/2010/08/CoveringWindow.zip">http://www.sperrgebiet.org/wp-content/uploads/2010/08/CoveringWindow.zip</a>
	</p>
<p>Or with the source code at: <a href="http://www.sperrgebiet.org/wp-content/uploads/2010/08/CoveringWindow_withSource.zip">http://www.sperrgebiet.org/wp-content/uploads/2010/08/CoveringWindow_withSource.zip</a>
	</p>
</p>
<p>Hope someone finds it useful too <img src='http://www.sperrgebiet.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sperrgebiet.org/2010/08/simple-covering-window-for-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nabaztag as a MPCB (Music Playback Control Bunny)</title>
		<link>http://www.sperrgebiet.org/2010/08/nabaztag-as-a-mpcb-music-playback-control-bunny/</link>
		<comments>http://www.sperrgebiet.org/2010/08/nabaztag-as-a-mpcb-music-playback-control-bunny/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 22:53:49 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Nabaztag]]></category>
		<category><![CDATA[Winamp]]></category>

		<guid isPermaLink="false">http://www.sperrgebiet.org/?p=335</guid>
		<description><![CDATA[Listen to music on a computer is quite nice. Specially with a new JBL Creature III Sound System J But how to Stop/Start the playback in a cool way? I mean, just to click Play/Stop is so &#8220;old-fashion&#8221;. Puh, I though it&#8217;s time for a new purpose of my Nabaztag-Bunnies. So I&#8217;ve solved this problem&#8230;]]></description>
			<content:encoded><![CDATA[<p>Listen to music on a computer is quite nice. Specially with a new JBL Creature III Sound System <span style="font-family:Wingdings">J</span> But how to Stop/Start the playback in a cool way? I mean, just to click Play/Stop is so &#8220;old-fashion&#8221;.
</p>
<p>Puh, I though it&#8217;s time for a new purpose of my Nabaztag-Bunnies. So I&#8217;ve solved this problem with the following steps. You can see the result at: <a href="http://www.youtube.com/watch?v=DyhCD34xJNo">http://www.youtube.com/watch?v=DyhCD34xJNo</a>
	</p>
</p>
<p>First and the most important part: Winamp. Furthermore I need something to easily access the controls of it. So I&#8217;ve found a very cool plugin called Winamp Web Interface (v.7.5.10).
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/08/080510_2253_Nabaztagasa1.png" alt=""/>
	</p>
</p>
<p>This minimalistic web interface is also cool on the Mobile. Tested it with HTC HD Mini and HTC Touch Diamond (Win Mobile 6.5 and Win Mobile 6.1) <span style="font-family:Wingdings">J</span>
	</p>
<p>But it isn&#8217;t useable for Nabaztag <span style="font-family:Wingdings">L</span>
	</p>
<p>So first I started to write a small PHP Script which parses the output of the &#8216;original&#8217; Web Interface and provide me a smaller and easier view.  OK, I have not the full functionality, but because I can control it with GET-Requests it&#8217;s easier to handle with Nabaztag.
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/08/080510_2253_Nabaztagasa2.png" alt=""/>
	</p>
</p>
<p>So, I have included also a small logic which queries the current status and if the playback is stopped it will be started and vice versa. So it&#8217;s possible to use the same URL for Nabaztag, because there I can use configure a simple URL where it will execute a GET on it.
</p>
<p><img src="http://www.sperrgebiet.org/wp-content/uploads/2010/08/080510_2253_Nabaztagasa3.png" alt=""/>
	</p>
<p>So basically when a Nano:ztag (the little Bunnies) come in the near of the real Nabaztag&#8217;s it&#8217;s sending a GET-Request to the above URL with a parameter. If this parameter is specified I send a GET from PHP to the Winamp-Webserver, parse the Output and so I&#8217;ll find out which is the current state. And whatever state it is, I make a new GET to the Winamp-Webserver with the opposite task <img src='http://www.sperrgebiet.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />
</p>
<p>So all in all quite simple <span style="font-family:Wingdings">J</span>
	</p>
</p>
<p>I&#8217;ll attach the PHP-Script later on. But I think I should rewrite it. Currently it&#8217;s not a nice coding style <img src='http://www.sperrgebiet.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />
</p>
<p>So let the force be with you <span style="font-family:Wingdings">J</span>
	</p>
<p>_Hans</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sperrgebiet.org/2010/08/nabaztag-as-a-mpcb-music-playback-control-bunny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

