?>
<?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>Matt Gibson &#187; Software</title>
	<atom:link href="http://www.mattgibson.ca/topics/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mattgibson.ca</link>
	<description>I'm one of those people radio shows call for obscure shit.</description>
	<lastBuildDate>Sat, 03 Dec 2011 19:30:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Office 2007 and the Live Office Popup window keeps popping up. Here&#8217;s how to remove it.</title>
		<link>http://www.mattgibson.ca/2009/07/22/office-2007-and-the-live-office-popup-window-keeps-popping-up-heres-how-to-remove-it/</link>
		<comments>http://www.mattgibson.ca/2009/07/22/office-2007-and-the-live-office-popup-window-keeps-popping-up-heres-how-to-remove-it/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 03:38:06 +0000</pubDate>
		<dc:creator>Matt G</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Office 2007]]></category>
		<category><![CDATA[Registry Fix]]></category>

		<guid isPermaLink="false">http://www.mattgibson.ca/?p=174</guid>
		<description><![CDATA[Have office? Want to get rid of that annoying &#8220;have you tried live office yet?&#8221; popup, that just doesn&#8217;t go away? Create a new file on your desktop, called &#8220;officefix.txt&#8221; Paste this into it; Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\OfficeLive] &#34;FirstRunCredsDeleted&#34;=dword:00000001 &#34;FirstRunDontShow&#34;=dword:00000001 Then rename that file to &#8220;officefix.reg&#8221; Double click it to add it to [...]]]></description>
			<content:encoded><![CDATA[<p>Have office? Want to get rid of that annoying &#8220;have you tried live office yet?&#8221; popup, that just doesn&#8217;t go away?</p>
<p>Create a new file on your desktop, called &#8220;officefix.txt&#8221;</p>
<p>Paste this into it;</p>
<blockquote><p>Windows Registry Editor Version 5.00</p>
<p>[HKEY_CURRENT_USER\Software\Microsoft\OfficeLive]<br />
&quot;FirstRunCredsDeleted&quot;=dword:00000001<br />
&quot;FirstRunDontShow&quot;=dword:00000001</p>
</blockquote>
<p>Then rename that file to &#8220;officefix.reg&#8221;</p>
<p>Double click it to add it to your registry.</p>
<p>Re-run word, powerpoint, or whatever.</p>
<p>Thank me in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattgibson.ca/2009/07/22/office-2007-and-the-live-office-popup-window-keeps-popping-up-heres-how-to-remove-it/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fixing MySQL Error 1064 with PHPList when selecting new criteria</title>
		<link>http://www.mattgibson.ca/2009/01/29/fixing-mysql-error-1064-with-phplist-when-selecting-new-criteria/</link>
		<comments>http://www.mattgibson.ca/2009/01/29/fixing-mysql-error-1064-with-phplist-when-selecting-new-criteria/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 22:04:51 +0000</pubDate>
		<dc:creator>Matt G</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[PHPList]]></category>

		<guid isPermaLink="false">http://www.mattgibson.ca/?p=172</guid>
		<description><![CDATA[Today we had to fix a clients PHPlist. There was an error in their mysql select statement for whatever reason &#8211; whether it was their setup (they had some really weird group names and country names) or something with PHPList. Took us a while to figure it out, but as it turns out someone else [...]]]></description>
			<content:encoded><![CDATA[<p>Today we had to fix a clients PHPlist. There was an error in their mysql select statement for whatever reason &#8211; whether it was their setup (they had some really weird group names and country names) or something with PHPList. Took us a while to figure it out, but as it turns out someone <a href="http://mantis.phplist.com/view.php?id=15182">else had the same issue</a>.</p>
<p>Basically the fix is this:</p>
<p># nano /lists/admin/send_core.php</p>
<p>Find this</p>
<p>if (is_array($_POST["criteria_values"])) {<br />
$values = join(&#8220;, &#8220;,$_POST["criteria_values"]);<br />
} else {<br />
$values = $_POST["criteria_values"];<br />
}</p>
<p>and replace it with this</p>
<p>if (is_array($_POST["criteria_values"])) {<br />
# The following code checks for null values in the criteria_attribute array and removes them<br />
$values = $_POST["criteria_values"];<br />
foreach ($values as $key=&gt;$value) {<br />
if (!$value) {<br />
array_splice($values, $key, 1); // Remove null value from array<br />
}<br />
}<br />
$values = join(&#8220;, &#8220;,$values);<br />
#  $values = join(&#8220;, &#8220;,$_POST["criteria_values"]);<br />
} else {<br />
$values = $_POST["criteria_values"];<br />
}</p>
<p>Now everything should work, with no more mysql errors!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattgibson.ca/2009/01/29/fixing-mysql-error-1064-with-phplist-when-selecting-new-criteria/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Illustrator or Photoshop &#8220;Unknown Error&#8221; when saving or can&#8217;t use type tool. Fixed!</title>
		<link>http://www.mattgibson.ca/2008/11/03/illustrator-or-photoshop-unknown-error-when-saving-or-cant-use-type-tool-fixed/</link>
		<comments>http://www.mattgibson.ca/2008/11/03/illustrator-or-photoshop-unknown-error-when-saving-or-cant-use-type-tool-fixed/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 05:43:24 +0000</pubDate>
		<dc:creator>Matt G</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Ramblings]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mattgibson.ca/2008/11/03/illustrator-or-photoshop-unknown-error-when-saving-or-cant-use-type-tool-fixed/</guid>
		<description><![CDATA[No thanks to Adobe, even after numerous complaints going all the way back to Creative Suite 1, if you have a bad font on your system, you may have issues saving as an .ai in Illustrator. You&#8217;ll get the dreaded &#8220;an unknown error has occured&#8221;. If you disable PDF compatibility, it will save, but that&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>No thanks to Adobe, even after numerous complaints going all the way back to Creative Suite 1, if you have a bad font on your system, you may have issues saving as an .ai in Illustrator. You&#8217;ll get the dreaded &#8220;an unknown error has occured&#8221;.</p>
<p>If you disable PDF compatibility, it will save, but that&#8217;s not good enough!</p>
<p>You may also have a problem in Photoshop, where whenever you try and type on the canvas, it says an unknown error has occured in the font rendering engine or something to that effect. Again, similar error, stupid Adobe.</p>
<p>Turns out if you go to your fonts directory, hit CTRL-A to select all items, then go to the file menu, &#8220;copy fonts to&#8221; and select a folder on your desktop. Copy all the fonts to this folder, wait till it&#8217;s done.</p>
<p>Now go ahead and download a free trial of <a href="http://www.insidersoftware.com/">Font Agent</a> for Windows. And let it analyze all your fonts. It will tell you which fonts are bad.</p>
<p>Go back to your windows font directory, delete the bad fonts. Restart Photoshop, or illustrator, and you should be able to save again.</p>
<p>This comes after probably 6 hours of trying different fixes with the transparancy settings, the font cache, font .lst files, adobe presets deleting, app setttings deleting, etc this is the only thing that fixed it.</p>
<p>Maybe it&#8217;d be nice if Adobe included a little &#8220;verify my fonts&#8221; checkbox and alerted us to bad fonts. That&#8217;d probably be too easy though.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattgibson.ca/2008/11/03/illustrator-or-photoshop-unknown-error-when-saving-or-cant-use-type-tool-fixed/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The Gimp is better than Photoshop when it comes to Arabic or other Right to Left typefaces.</title>
		<link>http://www.mattgibson.ca/2008/11/02/the-gimp-is-better-than-photoshop-when-it-comes-to-arabic-or-other-right-to-left-typefaces/</link>
		<comments>http://www.mattgibson.ca/2008/11/02/the-gimp-is-better-than-photoshop-when-it-comes-to-arabic-or-other-right-to-left-typefaces/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 03:58:58 +0000</pubDate>
		<dc:creator>Matt G</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Ramblings]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mattgibson.ca/2008/11/02/the-gimp-is-better-than-photoshop-when-it-comes-to-arabic-or-other-right-to-left-typefaces/</guid>
		<description><![CDATA[Recently we had to do some work in Arabic for a client of ours. We had never used Arabic in Adobe Photoshop or Adobe Illustrator before. So when the client asked &#8220;you can do Arabic&#8221; the response was &#8220;oh yeah of course&#8221; without giving it a second thought. Windows supports Arabic, so in turn Adobe [...]]]></description>
			<content:encoded><![CDATA[<p>Recently we had to do some work in Arabic for a client of ours. We had never used Arabic in <a href="http://www.adobe.com/">Adobe Photoshop</a> or <a href="http://www.adobe.com/">Adobe Illustrator</a> before. So when the client asked &#8220;you can do Arabic&#8221; the response was &#8220;oh yeah of course&#8221; without giving it a second thought. Windows supports Arabic, so in turn Adobe will right?</p>
<p><strong>Wrong.</strong></p>
<p>Adobe does not support Right to left languages like Hebrew or Arabic. Instead you must purchase the separate &#8220;<a href="http://www.fontworld.com/me/photoshopme.html">Middle Eastern</a>&#8221; version of Creative Suite, Photoshop or Illustrator. There are also a couple plugins available that we found that claim to enable Right to Left typefaces in Photoshop. When we actually found them, it turns out that most are for Mac, or just dont&#8217; work past Photoshop 7. We use CS3, so we were out of luck.</p>
<p>So, after much searching, trying, etc. What did we end up doing? What we should have done in the first place.</p>
<p>We downloaded <a href="http://www.gimp.org/windows/">The Gimp</a> for Windows, created a new artwork, typed our arabic text in, and used a proper Arabic font. Then we saved the item as a 600 DPI psd file and imported it into photoshop. It&#8217;s not editable like real text, but, it&#8217;s good enough for us.</p>
<p>Might save someone else some hours of frustration. Good luck.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattgibson.ca/2008/11/02/the-gimp-is-better-than-photoshop-when-it-comes-to-arabic-or-other-right-to-left-typefaces/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to add a &#8220;Go To Nagios&#8221; button to nagios administrator</title>
		<link>http://www.mattgibson.ca/2008/10/02/how-to-add-a-go-to-nagios-button-to-nagios-administrator/</link>
		<comments>http://www.mattgibson.ca/2008/10/02/how-to-add-a-go-to-nagios-button-to-nagios-administrator/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 23:35:24 +0000</pubDate>
		<dc:creator>Matt G</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.mattgibson.ca/2008/10/02/how-to-add-a-go-to-nagios-button-to-nagios-administrator/</guid>
		<description><![CDATA[It&#8217;s easy, once you have nagiosadministrator installed, you&#8217;ll probably notice there&#8217;s no easy way to actually reach nagios. To add a quick button to the toolbar to do this, follow these steps: &#160; 1. SSH to server running nagios/nagiosadministrator 2. Go to your nagios administrator directory, ours is /var/www/nagiosadmin 3. Now, edit the menu file [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s easy, once you have nagiosadministrator installed, you&#8217;ll probably notice there&#8217;s no easy way to actually reach nagios. To add a quick button to the toolbar to do this, follow these steps:</p>
<p>&nbsp;</p>
<p>1. SSH to server running nagios/nagiosadministrator</p>
<p>2. Go to your nagios administrator directory, ours is /var/www/nagiosadmin</p>
<p>3. Now, edit the menu file</p>
<p># nano apps/backend/lib/topMenu.class.php</p>
<p>4. Now, change the first class topMenu from this</p>
<p>class topMenu<br />
{<br />
protected static $items = array(<br />
&#8216;contact&#8217; =&gt; &#8216;Contacts&#8217;,<br />
&#8216;contactgroup&#8217; =&gt; &#8216;Contact Groups&#8217;,<br />
&#8216;os&#8217; =&gt; &#8216;Operating Systems&#8217;,<br />
&#8216;service&#8217; =&gt; &#8216;Services&#8217;,<br />
&#8216;hostgroup&#8217; =&gt; &#8216;Host Groups&#8217;,<br />
&#8216;host&#8217; =&gt; &#8216;Hosts&#8217;,<br />
&#8216;command&#8217; =&gt; &#8216;Commands&#8217;,<br />
&#8216;template&#8217; =&gt; &#8216;Templates&#8217;,<br />
&#8216;generator&#8217; =&gt; &#8216;Generator&#8217;<br />
);</p>
<p>to this</p>
<p>class topMenu<br />
{<br />
protected static $items = array(<br />
&#8216;contact&#8217; =&gt; &#8216;Contacts&#8217;,<br />
&#8216;contactgroup&#8217; =&gt; &#8216;Contact Groups&#8217;,<br />
&#8216;os&#8217; =&gt; &#8216;Operating Systems&#8217;,<br />
&#8216;service&#8217; =&gt; &#8216;Services&#8217;,<br />
&#8216;hostgroup&#8217; =&gt; &#8216;Host Groups&#8217;,<br />
&#8216;host&#8217; =&gt; &#8216;Hosts&#8217;,<br />
&#8216;command&#8217; =&gt; &#8216;Commands&#8217;,<br />
&#8216;template&#8217; =&gt; &#8216;Templates&#8217;,<br />
&#8216;generator&#8217; =&gt; &#8216;Generator&#8217;,<br />
&#8216;nagios&#8217; =&gt; &#8216;Go To Nagios&#8217;<br />
);</p>
<p>5. Refresh the Nagios Administrator web interface, and you&#8217;ll see a fancy new button you can click on to take you right to nagios.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattgibson.ca/2008/10/02/how-to-add-a-go-to-nagios-button-to-nagios-administrator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up Split-Split DNS with Windows SBS 2003 DNS Services, easily.</title>
		<link>http://www.mattgibson.ca/2008/07/13/setting-up-split-split-dns-with-windows-sbs-2003-dns-services-easily/</link>
		<comments>http://www.mattgibson.ca/2008/07/13/setting-up-split-split-dns-with-windows-sbs-2003-dns-services-easily/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 09:23:33 +0000</pubDate>
		<dc:creator>Matt G</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Mobile]]></category>
		<category><![CDATA[howto setup]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[mobile devices]]></category>
		<category><![CDATA[outlook web access]]></category>
		<category><![CDATA[windows 2003 server]]></category>

		<guid isPermaLink="false">http://www.mattgibson.ca/2008/07/13/setting-up-split-split-dns-with-windows-sbs-2003-dns-services-easily/</guid>
		<description><![CDATA[Have you ever wondered how you could access your external hostnames, internal to your network connected via wifi, mobile devices or just plain old desktops? Today we found out we needed to. Our mobile devices require the use of external hostnames to sync data against. And it&#8217;s nice being able to use our external hostname [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever wondered how you could access your external hostnames, internal to your network connected via wifi, mobile devices or just plain old desktops? Today we found out we needed to. Our mobile devices require the use of external hostnames to sync data against. And it&#8217;s nice being able to use our external hostname for Outlook Web Access, and debugging internally.</p>
<p><strong>For example:</strong></p>
<ul>
<li>Billy wants to visit <a href="http://www.mattgibson.ca">http://www.mycompanyname.com</a></li>
<li>Billy can&#8217;t because that particular site is hosted off the external IP of the network he&#8217;s on. Gosh, what to do?</li>
<li>Billy Reads the Howto Setup SPLIT-SPLIT DNS with SBS 2003 DNS Server below</li>
<li>Billy can now visit <a href="http://www.mattgibson.ca">http://www.mycompanyname.com</a> because it&#8217;s mapped to the internal ip of 192.168.1.1 or whatever your networking scheme is.</li>
<li>Billy is now happy.</li>
</ul>
<p>Off we went to Google, to try and find out what we needed; DNS Redirection? No, IP Port Redirection? No, Redirect External IP to Local IP, No. Tiresom it was, searching for this.</p>
<p>Then we decided to try and jump right in to figuring it out. First, we tried doing it at the router level, but none of us are IOS guru&#8217;s so this quickly became out of the question. Next we tried running a secondary DNS server on the SBS2K3 Server, and transferring the domain from our live server at the Datacenter in Seattle. This also didn&#8217;t work because once the domain was transferred into our secondary DNS on the Windows 2003 Server we weren&#8217;t able to edit any of the records. Pitty.</p>
<p>So, on we were to IRC. Ahhh, IRC. Not too many people use it anymore, but usually really cool people are available to help out. After asking in a couple channels we figured out that what we needed to do was set up something called <a href="http://www.isaserver.org/tutorials/You_Need_to_Create_a_Split_DNS.html">Split-Split DNS</a>. Basically all this is, is the method of running two DNS Servers. One inside your network, and one external to your network. Here&#8217;s a Microsoft Article on the subject of <a href="http://www.microsoft.com/technet/solutionaccelerators/wssra/raguide/NetworkServices/ignsbp_2.mspx#EYDAG">Enterprise DNS Design</a> which involves Split-Split DNS. This allows for internal hosts behind NAT networks to see external hostnames as if they are on the internal network.</p>
<p>With a bit more searching we came across <a href="http://blog.gingerlime.com/windows-2003-split-dns">this excellent post</a> by Ginger Lime. Using their instructions we have created a simple howto for doing the same thing on your internal domain.</p>
<p>With our little howto, you&#8217;ll be able to get this done quickly and easily on your internal windows sbs 2003 domain name server. Please readon for the howto.</p>
<p>First, we&#8217;ll have to open the DNS control panel. This is in the main server management console, under the computer management box. Here&#8217;s a screenshot. Make sure you enter into the Forward Lookup Zones box.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/dns1.jpg" alt="dns1" width="295" height="336" /></p>
<p>Now, right click on &#8220;<strong>Forward Lookup Zones</strong>&#8221; and click on &#8220;<strong>Add New Zone</strong>&#8220;. Like This.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/dns2.jpg" alt="dns2" width="295" height="336" /></p>
<p>Now you&#8217;ll be presented with the New Zone Wizard window. Click Next.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/3-1.jpg" alt="3" width="400" height="310" /></p>
<p>Now, Select a primary Zone for this tutorial.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/4.jpg" alt="4" width="400" height="309" /></p>
<p>Disable the storage of the information in Active Directory. Click Next.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/5-1.jpg" alt="5" width="400" height="37" /></p>
<p>Now type in your domain name that you want to resolve internally. Some common ones might be dev.yourdomain.com or www.yourdomain.com or similar. Click Next.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/6-1.jpg" alt="6" width="400" height="308" /></p>
<p>This window will be automatically filled out for you. Just click Next.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/7-1.jpg" alt="7" width="400" height="308" /></p>
<p>Now, make sure you don&#8217;t allow dynamic updates. This record is something you should be manually updating only. Click Next.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/8-1.jpg" alt="8" width="400" height="309" /></p>
<p>Your new zone is complete. Click Finish.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/9-1.jpg" alt="9" width="400" height="307" /></p>
<p>Now, Right Click your new zone (external.hostname.com), and select to &#8220;New Host (A)&#8221;. Let go of your mouse button now. <img src='http://www.mattgibson.ca/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/dns3-1.jpg" alt="dns3" width="295" height="336" /></p>
<p>Now, add your internal IP address to the host, but leave the Name blank. Like this. Also leave the PTR record one un-checked since we don&#8217;t need it. Click Add Host.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/last.jpg" alt="last" width="353" height="330" /></p>
<p>You should see a message like this pop up.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/11-1.jpg" alt="11" width="400" height="121" /></p>
<p>Click on the Done button to leave this window.</p>
<p align="center"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/12-1.jpg" alt="12" width="188" height="91" /></p>
<p>Now you should see a blank host, with the internal IP address you specified during the last section of this tutorial.</p>
<p align="center"><a href="http://www.mattgibson.ca/wp-content/uploads/2008/07/13-1-1.jpg"><img src="http://www.mattgibson.ca/wp-content/uploads/2008/07/13-1-1-small.jpg" alt="13" width="339" height="19" /></a></p>
<p>Now you&#8217;re finished setting up a SPLIT-SPLIT DNS server using SBS2k3.</p>
<p>Go over to a different computer on your network that uses the Windows 2003 SBS Server as it&#8217;s DNS Controller, and try a nslookup or ping against the external hostname you&#8217;ve just added. If you get ping returns you&#8217;re good to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattgibson.ca/2008/07/13/setting-up-split-split-dns-with-windows-sbs-2003-dns-services-easily/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Missing out on free Jabber/Google Talk Notifications from your Kayako Installation?</title>
		<link>http://www.mattgibson.ca/2008/07/03/missing-out-on-free-jabbergoogle-talk-notifications-from-your-kayako-installation/</link>
		<comments>http://www.mattgibson.ca/2008/07/03/missing-out-on-free-jabbergoogle-talk-notifications-from-your-kayako-installation/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 00:42:43 +0000</pubDate>
		<dc:creator>Matt G</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[jabber]]></category>
		<category><![CDATA[kayako]]></category>
		<category><![CDATA[notifications]]></category>
		<category><![CDATA[patches]]></category>
		<category><![CDATA[xmpp]]></category>

		<guid isPermaLink="false">http://www.mattgibson.ca/2008/07/03/missing-out-on-free-jabbergoogle-talk-notifications-from-your-kayako-installation/</guid>
		<description><![CDATA[Not anymore you&#8217;re not. Today we released a little set of patches for Kayako SupportSuite that will allow you to send ticket alerts, and any other alert that Kayako supports through Google Talk, XMPP, Jabber whatever you want to call it. The modification is free, and easy to install with our handy documentation. What are [...]]]></description>
			<content:encoded><![CDATA[<p>Not anymore you&#8217;re not.</p>
<p>Today we released a little set of patches for <a href="http://www.kayako.com/">Kayako SupportSuite</a> that will allow you to send ticket alerts, and any other alert that <a href="http://www.kayako.com/">Kayako</a> supports through <a href="http://www.google.com/talk/">Google Talk</a>, <a href="http://www.jabber.org/">XMPP</a>, <a href="http://www.jabber.org/">Jabber</a> whatever you want to call it.</p>
<p>The modification is free, and easy to install with our handy documentation.</p>
<p>What are you waiting for? Download it from <a href="http://www.flewid.ca/software/">Flewid&#8217;s software page</a> and send us your feedback!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattgibson.ca/2008/07/03/missing-out-on-free-jabbergoogle-talk-notifications-from-your-kayako-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using SSL POP3 (Google Apps/Gmail) with Kayako SupportSuite</title>
		<link>http://www.mattgibson.ca/2008/06/19/using-ssl-pop3-google-appsgmail-with-kayako-supportsuite/</link>
		<comments>http://www.mattgibson.ca/2008/06/19/using-ssl-pop3-google-appsgmail-with-kayako-supportsuite/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 04:02:25 +0000</pubDate>
		<dc:creator>Matt G</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[kayako supportsuite]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[microsoft exchange server]]></category>
		<category><![CDATA[microsoft small business]]></category>
		<category><![CDATA[pop3 service]]></category>
		<category><![CDATA[small business server]]></category>
		<category><![CDATA[stunnel]]></category>
		<category><![CDATA[support software]]></category>

		<guid isPermaLink="false">http://www.mattgibson.ca/archives/115</guid>
		<description><![CDATA[Many of us need to run Support Software to keep on top of client needs and requests, as well as remove some of the burden from our support staff. Because of this need, we are using Kayako SupportSuite for our helpdesk application. While setting it up, we noticed that the latest release has a little [...]]]></description>
			<content:encoded><![CDATA[<p>Many of us need to run <a href="http://www.kayako.com/">Support Software</a> to keep on top of client needs and requests, as well as remove some of the burden from our support staff.</p>
<p>Because of this need, we are using <a href="http://www.kayako.com/">Kayako SupportSuite</a> for our helpdesk application. While setting it up, we noticed that the latest release has a little bit of an issue with fetching mail using <a href="http://mail.google.com/">google&#8217;s pop3 service</a>.</p>
<p>We haven&#8217;t looked into the problem too much, but we have noted that there is mention of it on the <a href="http://www.kayako.com/">Kayako</a> Forums that other users are experiencing the same difficulties.</p>
<p>Of course, we made sure our PHP installation was indeed compiled with SSL and IMAP and IMAP-SSL support, but this still did not fix the problem. So far, this is the only &#8220;solution&#8221; given by the <a href="http://www.kayako.com/">Kayako</a> support representatives.</p>
<p>Well, we actually wanted it to work, so we dug a little furthur into it. As it turns out, it&#8217;s not actually Kayako&#8217;s fault that this doesn&#8217;t work, but merely a not-so-great implementation of SSL/POP3 in PHP. <a href="http://www.kayako.com/">Kayako</a> could work around this, and are aware of the problem so we assume it will get fixed in future releases.</p>
<p>We did get IMAP SSL working using the <a href="http://www.kayako.com/">Kayako</a> fetching script, but IMAP is not perfect for support queues. So, we still wanted to get POP3 working. No matter what was tried, we could not get it to work.</p>
<p>Then, an ephinany hit &#8211; we also use <a href="http://www.microsoft.com/windowsserver2003/sbs/default.mspx">Microsoft Small Business Server </a> on our Intranet, and we ran into this problem previously with <a href="http://www.microsoft.com/windowsserver2003/sbs/default.mspx">Exchange server</a> not being able to communicate with SSL enabled mail hosts.</p>
<p>So, we introduced the same hack that we did on the <a href="http://www.microsoft.com/windowsserver2003/sbs/default.mspx">Microsoft Exchange Server</a>, to our <a href="http://www.kayako.com/">Kayako SupportSuite</a> Linux Server.</p>
<p>We used <a href="http://www.stunnel.org/">Stunnel</a>.</p>
<p>Elegant? No. Best Solution Ever? No. Does it work? So far, flawlessly.</p>
<p>It&#8217;s very easy to setup, and get going. Here is what we had to do under <a href="http://www.gentoo.org/">Gentoo Linux</a>.</p>
<p>First we made sure our use flags were proper</p>
<blockquote><p># emerge -pv stunnel</p></blockquote>
<p>Which outputs this</p>
<blockquote><p><em>net-misc/stunnel-4.21-r1 USE=&#8221;ssl tcpd -ipv6 (-selinux)&#8221;</em></p></blockquote>
<p>This looks fine, we need tcpd, and ssl. Now we install stunnel.</p>
<blockquote><p># emerge stunnel</p></blockquote>
<p>Then we have to configure some options, which are very straight forward</p>
<blockquote><p># nano /etc/stunnel/stunnel.conf</p></blockquote>
<p>Now we make the file look like this</p>
<blockquote><p>setuid = stunnel<br />
setgid = stunnel<br />
pid = /var/run/stunnel/stunnel.pid<br />
socket = l:TCP_NODELAY=1<br />
socket = r:TCP_NODELAY=1<br />
output = stunnel.log<br />
client = yes<br />
debug = 7</p>
<p>[pop3s]<br />
accept = 127.0.0.1:1109<br />
connect = pop.gmail.com:995</p>
<p>[smtps]<br />
accept = 127.0.0.1:259<br />
connect = smtp.gmail.com:465</p></blockquote>
<p>Save and exit the file. These lines will make the SMTP-SSL server listen on localhost port 259, and connect out to gmail at port 465. The POP-SSL will be listening on localhost port 1109, connecting out to gmail on port 995.</p>
<p>That&#8217;s it for the stunnel configuration. You can start it up like so.</p>
<blockquote><p># /etc/init.d/stunnel start</p></blockquote>
<p>Now add it to your defaults so it will auto start</p>
<blockquote><p># rc-update add stunnel default</p></blockquote>
<p>So, we&#8217;re done with the stunnel configuration. Now we&#8217;ll need to configure Kayako so make use of this.</p>
<div style="margin-left: 2em">
<ol>
<li>Login to your Kayako Administration Interface</li>
<li>Click on Settings on the left menu</li>
<li>Click on CPU Optimization &amp; Server</li>
<li>Scroll down to &#8220;SMTP Settings&#8221; and make sure it&#8217;s the following:Enable SMTP: Yes<br />
SMTP Host: 127.0.0.1<br />
SMTP Port: 259<br />
Use SMTP Authentication: Yes<br />
SMTP Username: <a href="mailto:youraddress@gmail.com">youraddress@gmail.com</a> (or <a href="mailto:youraddress@yourdomain.com">youraddress@yourdomain.com</a>)<br />
SMTP Password: yourpassword</li>
<li>Click Update Settings.</li>
</ol>
</div>
<p>Now we&#8217;re done with the SMTP setup, so we&#8217;ll have to setup your email queues with the proper information. We&#8217;ll assume you&#8217;ve already read the <a href="https://members.kayako.net/">Kayako documentation</a> on email queues and will not go into them here.</p>
<div style="margin-left: 2em; MARGIN-RIGHT: 0px" dir="ltr">
<ol>
<li>Still in the Kayako Administration Interface Click Mail Parser on the left menu</li>
<li>Now click on Manage E-mail Queues from the dropdown menu</li>
<li>Click on your Email Queue (for example: <a href="mailto:support@yourdomain.com">support@yourdomain.com</a>) or create a new one</li>
<li>Scroll down to Login Information and ensure these settings are configured:Host: 127.0.0.1<br />
Port: 1109<br />
Username:  <a href="mailto:youraddress@gmail.com">youraddress@gmail.com</a> (or <a href="mailto:youraddress@yourdomain.com">youraddress@yourdomain.com</a>)<br />
Password: yourpassword</li>
<li>Configure any other options for your email queue.</li>
<li>Scroll down and click on Update to save your changes.</li>
<li>Repeat with any other email queues changing the email address/password for each account.</li>
</ol>
</div>
<p>Now you are finished the <a href="http://www.kayako.com/">Kayako</a> configuration. You should be able to run your administrative cron script to check for new mail. Check the Scheduled Tasks -&gt; Task Log to verify that your mail is being fetched. If you don&#8217;t know what we&#8217;re talking about here, you haven&#8217;t read the <a href="https://members.kayako.net/">Kayako documentation</a>, and <a href="https://members.kayako.net/">should do so now</a>.</p>
<p>We&#8217;ve been using this for a few weeks now and haven&#8217;t had an issue. It&#8217;s cronned to check mail every 2 minutes, and we have the added benefit of <a href="http://mail.google.com/">Google Apps</a> archiving all incoming mail for us automatically before <a href="http://www.kayako.com/">Kayako</a> picks it up for delivery.</p>
<p>Hope you like the tutorial, we welcome feedback in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattgibson.ca/2008/06/19/using-ssl-pop3-google-appsgmail-with-kayako-supportsuite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring Asterisk with SNMP, Nagios and Nagios Administrator using Ubuntu LTS 8.0.4 Server</title>
		<link>http://www.mattgibson.ca/2008/06/19/monitoring-asterisk-with-snmp-nagios-and-nagios-administrator-using-ubuntu-lts-804-server/</link>
		<comments>http://www.mattgibson.ca/2008/06/19/monitoring-asterisk-with-snmp-nagios-and-nagios-administrator-using-ubuntu-lts-804-server/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 09:24:17 +0000</pubDate>
		<dc:creator>Matt G</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[administration interface]]></category>
		<category><![CDATA[LTS]]></category>
		<category><![CDATA[monitoring tool]]></category>
		<category><![CDATA[nagios installation]]></category>
		<category><![CDATA[operating systems]]></category>
		<category><![CDATA[server edition]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mattgibson.ca/archives/114</guid>
		<description><![CDATA[Gone are the days of tedious console only configuration of Nagios. While it&#8217;s an excellent system monitoring tool, it can be a little daunting to configure and setup. Not to mention editing 5 or 6 configuration files when adding one host. In April 2008, Nagios Administrator was released, which promises to deliver an easy to [...]]]></description>
			<content:encoded><![CDATA[<p>Gone are the days of tedious console only configuration of <a href="http://www.nagios.org/">Nagios</a>. While it&#8217;s an excellent <a href="http://www.nagios.org/">system monitoring tool</a>, it can be a little daunting to configure and setup. Not to mention editing 5 or 6 configuration files when adding one host.</p>
<p>In April 2008, <a href="http://www.nagiosadmin.de/">Nagios Administrator</a> was released, which promises to deliver an easy to use administration interface for configuring your Nagios installation with ease. The interface allows for adding contacts, contact groups, services, operating systems, and other settings. The one thing we noticed that was missing was service groups, but we&#8217;re not sure that really matters.</p>
<p>Using this article in conjunction with our previous <a title="Monitoring Asterisk with SNMP" href="http://www.voipphreak.ca/2007/04/16/monitoring-asterisk-14-with-snmp-and-cacti-for-pretty-graphs/">Monitoring Asterisk with SNMP</a> article will yeild you great results and awesome statistics.</p>
<p>Since there is already a demo running of the <a href="http://www.nagiosadmin.de/">Nagios Administrator</a>, I don&#8217;t think I need to show you screenshots, instead here is a link from their site.</p>
<blockquote><p>NagiosAdministrator: <a href="http://demo.nagiosadmin.de">http://demo.nagiosadmin.de</a><br />
Nagios: <a href="http://demo.nagiosadmin.de/nagios">http://demo.nagiosadmin.de/nagios</a></p>
<p>Username: nagiosadmin<br />
Password: nagiosadmin</p></blockquote>
<p>We installed this on a <a href="http://www.vmware.com/">VMWare Appliance</a>, running <a href="http://www.ubuntu.com/">Ubuntu</a> <a href="http://www.ubuntu.com/getubuntu/download">Server Edition LTS 8.04</a>, so you may have to change the instructions to suit your particular flavour of <a href="http://www.linux.org/">Linux</a>. Or <a href="http://www.microsoft.com/">Microsoft Windows</a> if you&#8217;re brave enough to try this on that OS.</p>
<p>Anyhow, now on to the tutorial on getting <a href="http://www.nagios.org/">Nagios 3.0</a> running with <a href="http://www.nagiosadmin.de/">Nagios Administrator</a> on your <a href="http://www.ubuntu.com/">Ubuntu</a> <a href="http://www.ubuntu.com/getubuntu/download">Server</a>.</p>
<p>First, with the help of <a href="http://www.michel-sigloch.de/">Michel Sigloch</a>, we have this from a script of his that we&#8217;ve edited. This will install <a href="http://www.nagios.org/">Nagios</a> 3.0 from source on your ubuntu server, since the apt tree still holds an older version.</p>
<p><strong>Installing Nagios</strong></p>
<p>Start with the preliminaries:</p>
<blockquote><p># sudo apt-get install apache2 build-essential wget perl libgd2-xpm-dev openssl libssl-dev openssh-server openssh-client ntpdate snmp smbclient libldap-2.3-0 libldap2-dev mysql-server libmysqlclient15-dev qstat libnet-snmp-perl mrtg nut unzip<br />
# sudo userdel -f nagios<br />
# sudo useradd -c &#8220;Nagios Admin&#8221; nagios<br />
# sudo groupadd nagcmd<br />
# sudo usermod -G nagcmd nagios<br />
# sudo usermod -G nagcmd www-data<br />
# sudo usermod -a -G nagios www-data</p></blockquote>
<p>Then We&#8217;ll setup the <a href="http://www.nagios.org/">Nagios</a> directories and configure Nagios.</p>
<blockquote><p># sudo mkdir /usr/local/src<br />
# cd /usr/local/src<br />
# sudo wget <a href="http://nagios.sourceforge.net/download/cvs/nagios-cvs.tar.gz">http://nagios.sourceforge.net/download/cvs/nagios-cvs.tar.gz</a><br />
# sudo tar xvzf nagios-cvs.tar.gz<br />
# sudo rm nagios-cvs.tar.gz<br />
# cd nagios-cvs<br />
# sudo ./configure &#8211;with-command-group=nagcmd</p></blockquote>
<p>Now lets install <a href="http://www.nagios.org/">Nagios</a> and update the default boot programs, while restarting apache and <a href="http://www.nagios.org/">Nagios</a></p>
<blockquote><p># sudo make all<br />
# sudo make install<br />
# sudo make install-init<br />
# sudo make install-commandmode<br />
# sudo make install-config<br />
# sudo ln -sf /usr/local/nagios/etc/ /etc/nagios<br />
# sudo make install-webconf</p></blockquote>
<p>Next we&#8217;ll setup our htaccess file:</p>
<blockquote><p># sudo htpasswd -c /etc/nagios/htpasswd.users nagiosadmin<br />
# sudo chown www-data htpasswd.users<br />
# sudo chmod 600 htpasswd.users</p></blockquote>
<p>Download and configure nagios plugins. The plugins are what let you monitor things like your <a href="http://www.asterisk.org/">Asterisk PBX</a> using <a title="Monitoring Asterisk with SNMP" href="http://www.voipphreak.ca/2007/04/16/monitoring-asterisk-14-with-snmp-and-cacti-for-pretty-graphs/">SNMP</a> or other methods.</p>
<blockquote><p># cd /usr/local/src<br />
# sudo wget <a href="http://heanet.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.11.tar.gz">http://heanet.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.11.tar.gz</a><br />
# sudo tar xvzf nagios-plugins-1.4.11.tar.gz<br />
# cd nagios-plugins-1.4.11<br />
# sudo ./configure &#8211;with-nagios-user=nagios &#8211;with-nagios-group=nagios<br />
# sudo make<br />
# sudo make install</p></blockquote>
<p>Now we are pretty much done with <a href="http://www.nagios.org/">Nagios</a> setup. We can move on to setting up <a href="http://www.nagiosadmin.de/">Nagios Administrator</a>. This part of the process can be a little confusing since their <a href="http://www.nagiosadmin.de/wiki/Installation_Nagiosadmin_auf_Debian">documentation is in german</a>. I taught myself a bit of german last night reading this, but I decyphered it for us to use it. Keep reading for the <a href="http://www.nagiosadmin.de/">Nagios Administrator</a> Setup portion.</p>
<p><strong>Configuring and installing Nagios Administrator</strong></p>
<p>First, we&#8217;ll have to install any pre-requisite packages for <a href="http://www.nagiosadmin.de/">Nagios Administrator</a>:</p>
<blockquote><p># sudo apt-get install php5-common traceroute php5-cli php5-gd</p></blockquote>
<p>Now lets create our web directory</p>
<blockquote><p># sudo mkdir /var/www/nagiosadmin</p></blockquote>
<p>Now we can download our <a href="http://www.nagiosadmin.de/">Nagios Administrator</a> files and drop them into the web directory on our server.</p>
<blockquote><p># cd /usr/src<br />
# sudo wget <a href="http://www.nagiosadmin.de/nagiosadmin-0.9.1.tar.bz2">http://www.nagiosadmin.de/nagiosadmin-0.9.1.tar.bz2</a><br />
# sudo tar xjpf nagiosadmin-0.9.1.tar.bz2 -C /var/www/nagiosadmin/</p></blockquote>
<p>Now we&#8217;ll create the mysql database. Like this</p>
<blockquote><p># mysqladmin -u root -p create nagiosadmin<br />
# mysql -u root -p</p>
<p>mysql&gt; GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,ALTER,INDEX,DROP<br />
ON nagiosadmin.*<br />
TO <a href="mailto:'nagiosadmin'@'localhost'">&#8216;nagiosadmin&#8217;@'localhost&#8217;</a><br />
IDENTIFIED BY &#8216;somepassword&#8217;;</p></blockquote>
<p>Now we have to configure <a href="http://www.nagiosadmin.de/">Nagios Administrator</a> to connect to our Database.</p>
<blockquote><p># cd /var/www/nagiosadmin<br />
# nano config/propel.ini</p></blockquote>
<p>and set</p>
<blockquote><p>propel.database.url        = mysql://nagiosadmin:yourpassword@localhost/nagiosadmin</p></blockquote>
<p>Now we edit the databases file and enter our database settings</p>
<blockquote><p># sudo nano config/databases.yml</p></blockquote>
<p>and set</p>
<blockquote><p>database:           nagiosadmin<br />
username:           nagiosadmin<br />
password:           yourpassword</p></blockquote>
<p>Now we have to make sure our Nagios shell commands are set properly in <a href="http://www.nagiosadmin.de/">Nagios Administrator</a>.</p>
<blockquote><p># sudo nano apps/backend/modules/generator/config/module.yml</p></blockquote>
<p>and make sure your paths are correct for these two lines</p>
<blockquote><p>config_check_command:           /usr/local/nagios/bin/nagios -v /etc/nagios/nagios.cfg 2&gt;&amp;1<br />
reload_nagios_command:          /usr/bin/sudo /usr/bin/killall -HUP nagios</p></blockquote>
<p>Now we have to enter visudo to set up the permissions for our <a href="http://www.nagios.org/">Nagios</a> user, done like this:</p>
<blockquote><p># sudo visudo</p></blockquote>
<p>then add</p>
<blockquote><p># for nagios<br />
%nagcmd ALL= NOPASSWD: /usr/bin/killall -HUP nagios</p></blockquote>
<p>Exit visudo by hitting the ESC key, and then typing &#8220;:wq&#8221; hitting enter.</p>
<p>Now, We have to do a few things that are pretty self explanitory with the <a href="http://www.nagiosadmin.de/">Nagios Administrator</a> control file.</p>
<blockquote><p># cd /var/www/nagiosadmin<br />
# sudo ./symfony fix-perms<br />
# sudo ./symfony propel-insert-sql<br />
# sudo ./symfony propel-load-data backend<br />
# sudo ./symfony check</p></blockquote>
<p>Next we&#8217;ll have to insert our Apache virtual host.</p>
<blockquote><p># sudo nano /etc/apache2/conf.d/nagios.conf</p></blockquote>
<p>Make sure you enter this line, and change the path to match your install if you changed the above instructions</p>
<blockquote><p>Alias /nagios/images/logos/nagiosimages /var/www/nagiosadmin/web/uploads/os_images</p></blockquote>
<p>Also, in the default settings, make sure to change all of the references to the htpasswd file to the following</p>
<blockquote><p>AuthUserFile /etc/nagios/htpasswd.users</p></blockquote>
<p>Now, lets setup the new virtual host for our <a href="http://www.nagiosadmin.de/">Nagios Administrator</a> and <a href="http://www.nagios.org/">Nagios</a> site.</p>
<blockquote><p># sudo mv /etc/apache2/sites-enabled/000-default ~/000-default.backup<br />
# sudo rm /etc/apache2/sites-enabled/000-default</p></blockquote>
<p>Now we have to add our new default virtual host configuration like so</p>
<blockquote><p># sudo touch /etc/apache2/sites-enabled/nagios.conf</p></blockquote>
<p>Enter the following, changing any paths as according to your configuration if you deviated from above.</p>
<blockquote><p>&lt;VirtualHost *:80&gt;</p>
<p>ServerAdmin <a href="mailto:root@yourdomain.com">root@yourdomain.com</a><br />
ServerName monitor.yourdomain.com<br />
DocumentRoot &#8220;/var/www/nagiosadmin/web&#8221;<br />
php_admin_flag magic_quotes_gpc 0<br />
php_admin_value memory_limit &#8220;32M&#8221;</p>
<p>&lt;Directory &#8220;/var/www/nagiosadmin/web&#8221;&gt;<br />
AllowOverride All<br />
Order allow,deny<br />
Allow from all<br />
&lt;/Directory&gt;</p>
<p>&lt;Files index.php&gt;<br />
AuthType Basic<br />
AuthName &#8220;NagiosAdmin&#8221;<br />
AuthUserFile /etc/nagios/htpasswd.users<br />
require user nagiosadmin<br />
&lt;/Files&gt;</p>
<p>Alias /phpmyadmin /var/www/phpmyadmin<br />
&lt;Directory /var/www/phpmyadmin&gt;<br />
AllowOverride All<br />
Order allow,deny<br />
Allow from all<br />
&lt;/Directory&gt;<br />
&lt;/VirtualHost&gt;</p></blockquote>
<p>Now we have to enable mod rewrite like this</p>
<blockquote><p># sudo mod_rewrite aktivieren</p></blockquote>
<p>And next lets restart Apache</p>
<blockquote><p># sudo /etc/init.d/apache2 restart</p></blockquote>
<p><strong>Configuring Nagios 3.0 to work with Nagios Administrator</strong></p>
<p>Now we have to make some quick edits to the nagios configuration and we&#8217;ll be up and running in no time.</p>
<p>First lets edit the Nagios configuration file</p>
<blockquote><p># nano /etc/nagios/nagios.cfg</p></blockquote>
<p>Now make sure yours looks like the following, commenting out the ones that are on by default and adding the new <a href="http://www.nagiosadmin.de/">Nagios Administrator</a> directory at the bottom.</p>
<blockquote><p>#cfg_file=/usr/local/nagios/etc/objects/commands.cfg<br />
#cfg_file=/usr/local/nagios/etc/objects/contacts.cfg<br />
cfg_file=/usr/local/nagios/etc/objects/timeperiods.cfg<br />
#cfg_file=/usr/local/nagios/etc/objects/templates.cfg</p>
<p># Definitions for monitoring the local (Linux) host<br />
#cfg_file=/usr/local/nagios/etc/objects/localhost.cfg</p>
<p>#cfg_dir=/usr/local/nagios/etc/servers<br />
#cfg_dir=/usr/local/nagios/etc/printers<br />
#cfg_dir=/usr/local/nagios/etc/switches<br />
#cfg_dir=/usr/local/nagios/etc/routers<br />
cfg_dir=/var/www/nagiosadmin/data/nagios</p></blockquote>
<p>Now, before starting nagios for the first time, lets go into the configuration interface and set up some default values.</p>
<p>Open a web browser and hit this url:</p>
<blockquote><p><a href="http://monitor.yourdomain.com/">http://monitor.yourdomain.com/</a></p></blockquote>
<p>You should see the login box for your <a href="http://www.nagiosadmin.de/">Nagios Administrator</a> site, which you can login with &#8220;nagiosadmin&#8221; and the password you entered earlier.</p>
<p>Once you login to the site, you will have to configure the following things:</p>
<blockquote><p>contacts -&gt; create -&gt; make one or two contacts<br />
contact groups -&gt; create -&gt; create a contact group, and assign some contacts to it<br />
host groups -&gt; create -&gt; create a host group<br />
host -&gt; create -&gt; create some hosts</p></blockquote>
<p>Now, go to the &#8220;Generator&#8221; Menu, and click on &#8220;Save&#8221;.</p>
<p>Now, go back to your command prompt, and start Nagios. It should start with no errors.</p>
<blockquote><p># sudo /etc/init.d/nagios start</p></blockquote>
<p>Now, go back to the web interface, you should be able to save and generate your configuration file with no errors.</p>
<p>Finally, add Nagios to your default runlevel</p>
<blockquote><p># sudo update-rc.d nagios defaults</p></blockquote>
<p><strong>Congratulations, we&#8217;re finished!<br />
</strong><br />
We are now finished with the setup. It&#8217;s up to you to setup proper security measures for the <a href="http://www.nagiosadmin.de/">Nagios Administrator</a> and <a href="http://www.nagios.org/">Nagios</a> site.</p>
<p>You can visit the <a href="http://www.nagiosadmin.de/">Nagios Administrator</a> panel here:</p>
<blockquote><p><a href="http://monitor.yourdomain.com/">http://monitor.yourdomain.com/</a></p></blockquote>
<p>and you can visit <a href="http://www.nagios.org/">Nagios</a> here</p>
<blockquote><p><a href="http://monitor.yourdomain.com/nagios/">http://monitor.yourdomain.com/nagios/</a></p></blockquote>
<p>Remember, you can also take a look at our <a title="Monitoring Asterisk with SNMP" href="http://www.voipphreak.ca/2007/04/16/monitoring-asterisk-14-with-snmp-and-cacti-for-pretty-graphs/">Monitoring Asterisk with SNMP Howto</a> for information on getting even more statistics from your <a href="http://www.asterisk.org/">Asterisk PBX</a> than you ever thought possible. We hope you like this article, and welcome comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattgibson.ca/2008/06/19/monitoring-asterisk-with-snmp-nagios-and-nagios-administrator-using-ubuntu-lts-804-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Server LTS 8.04 VMWare VMTools Howto and Tutorial</title>
		<link>http://www.mattgibson.ca/2008/06/17/ubuntu-server-lts-804-vmware-vmtools-howto-and-tutorial/</link>
		<comments>http://www.mattgibson.ca/2008/06/17/ubuntu-server-lts-804-vmware-vmtools-howto-and-tutorial/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 05:57:26 +0000</pubDate>
		<dc:creator>Matt G</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Vmware]]></category>
		<category><![CDATA[vmware tools]]></category>
		<category><![CDATA[workstation]]></category>

		<guid isPermaLink="false">http://www.mattgibson.ca/archives/112</guid>
		<description><![CDATA[You may have some difficulty with Ubuntu Server and VMWare Tools. Here&#8217;s how we got it working in the end: start vm # sudo mount /cdrom # cd /cdrom # cp *.tgz /tmp # cd /tmp # apt-get install build-essentials # apt-get install linux-headers-`uname -r` # tar xzvf vmtools&#60;yourversion.tgz&#62; # cd vmtools&#60;yourver&#62; # perl vmware-install.pl [...]]]></description>
			<content:encoded><![CDATA[<p>You may have some difficulty with Ubuntu Server and VMWare Tools. Here&#8217;s how we got it working in the end:</p>
<ul>
<li>start vm</li>
<li># sudo mount /cdrom</li>
<li># cd /cdrom</li>
<li># cp *.tgz /tmp</li>
<li># cd /tmp</li>
<li># apt-get install build-essentials</li>
<li># apt-get install linux-headers-`uname -r`</li>
<li># tar xzvf vmtools&lt;yourversion.tgz&gt;</li>
<li># cd vmtools&lt;yourver&gt;</li>
<li># perl vmware-install.pl</li>
</ul>
<p>That&#8217;s it. You might want to modify your console settings so you can get 1024&#215;768 from VMWare Workstation, but it&#8217;s not really required if you&#8217;re just SSH&#8217;ing to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattgibson.ca/2008/06/17/ubuntu-server-lts-804-vmware-vmtools-howto-and-tutorial/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

