<?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>Jonathan Delgado's Weblog</title>
	<atom:link href="http://www.techno-obscura.com/~delgado/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techno-obscura.com/~delgado/blog</link>
	<description>Jonathan's periodic postings of varying importance</description>
	<lastBuildDate>Thu, 13 Aug 2009 16:07:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Nagios Plugin Repository</title>
		<link>http://www.techno-obscura.com/~delgado/blog/2009/07/nagios-plugin-repository/</link>
		<comments>http://www.techno-obscura.com/~delgado/blog/2009/07/nagios-plugin-repository/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 18:42:50 +0000</pubDate>
		<dc:creator>Jonathan Delgado</dc:creator>
				<category><![CDATA[Comp Stuff]]></category>
		<category><![CDATA[nagios]]></category>

		<guid isPermaLink="false">http://www.techno-obscura.com/~delgado/blog/?p=59</guid>
		<description><![CDATA[It seems I have missed out on some drama related to Nagios recently. I went to take a look at the listing for the Nagios plugins I have put out there on nagiosexchange.org only to discover that they have now rebranded themselves as monitoringexchange.org and are run by a group that is now dedicated to [...]]]></description>
			<content:encoded><![CDATA[<p>It seems I have missed out on some drama related to Nagios recently. I went to take a look at the listing for the Nagios plugins I have put out there on <a href="http://www.nagiosexchange.org/">nagiosexchange.org</a> only to discover that they have now rebranded themselves as <a href="http://www.monitoringexchange.org/">monitoringexchange.org</a> and are run by a group that is now dedicated to a fork of Nagios called <a href="http://www.icinga.org/">Icinga</a>. How confusing&#8230; and now there is a new plugin site at <a href="http://exchange.nagios.org/">exchange.nagios.org</a>.</p>
<p>I have no clue about which of these two sites is going to end up being the de facto source for Nagios plugins, but I have claimed what is mine on the Nagios branded one and will probably maintain things in parallel for the time being. Here are the links there for my LSI MegaRAID SAS (Dell PERC5 &amp; PERC6) plugin, <a href="http://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/RAID-Controllers/check_megaraid_sas/details">check_megaraid_sas</a>, and my Perforce license plugin, <a href="http://exchange.nagios.org/directory/Plugins/License-Management/check_p4_license--3A-Perforce-license-checker/details">check_p4_license</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techno-obscura.com/~delgado/blog/2009/07/nagios-plugin-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Cheapo Pen</title>
		<link>http://www.techno-obscura.com/~delgado/blog/2009/06/new-cheapo-pen/</link>
		<comments>http://www.techno-obscura.com/~delgado/blog/2009/06/new-cheapo-pen/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 21:51:23 +0000</pubDate>
		<dc:creator>Jonathan Delgado</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[pens]]></category>

		<guid isPermaLink="false">http://www.techno-obscura.com/~delgado/blog/?p=49</guid>
		<description><![CDATA[I think it is probably fair to say that I have a &#8220;thing&#8221; for pens and paper. Not fetish level&#8230; why don&#8217;t we just say &#8220;penchant&#8221;.
Anyways, I had to pop in to Bob Slate Stationer today. On my own. I probably shouldn&#8217;t do this too often. I think at least 50% of the time I [...]]]></description>
			<content:encoded><![CDATA[<p>I think it is probably fair to say that I have a &#8220;thing&#8221; for pens and paper. Not fetish level&#8230; why don&#8217;t we just say &#8220;penchant&#8221;.</p>
<p>Anyways, I had to pop in to Bob Slate Stationer today. On my own. I probably shouldn&#8217;t do this too often. I think at least 50% of the time I end up in a shop with pens, unsupervised, I come home with something. This time I escaped relatively cheaply with a new pen, a Pelikan &#8220;Pelikano Junior&#8221;. Here are some pics:</p>
<p><a href="http://www.techno-obscura.com/~delgado/blog/wp-content/uploads/2009/06/pelikanojr1.jpg"><img src="http://www.techno-obscura.com/~delgado/blog/wp-content/uploads/2009/06/pelikanojr1-279x300.jpg" alt="Pelican Junior (capped)" width="279" height="300" class="alignnone size-medium wp-image-50" /></a></p>
<p><a href="http://www.techno-obscura.com/~delgado/blog/wp-content/uploads/2009/06/pelikanojr2.jpg"><img src="http://www.techno-obscura.com/~delgado/blog/wp-content/uploads/2009/06/pelikanojr2-300x152.jpg" alt="Pelikano Junior (uncapped)" width="300" height="152" class="alignnone size-medium wp-image-51" /></a></p>
<p>The pen was $10.35 and came in a variety of colors, at least green, orange a blue ones were available (I picked up a blue as well, but sent it straight off as a gift to someone). The pen is all plastic (except for the nib of course) and translucent in color, but seems quite sturdy. The yellow grip is somewhat rubbery. The nib has an &#8220;A&#8221; on it, the meaning of which I do not understand (I should have checked if the blue one was similar), and I would say it is roughly a medium size. Slightly larger than the medium on my LAMYs.</p>
<p>I like the pen. It is a sturdy little guy that I think I will be able to just throw in my bad without too many concerns. Fun and chunky with a simple design.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techno-obscura.com/~delgado/blog/2009/06/new-cheapo-pen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nagios plugin for Perforce license</title>
		<link>http://www.techno-obscura.com/~delgado/blog/2009/04/nagios-plugin-for-perforce-license/</link>
		<comments>http://www.techno-obscura.com/~delgado/blog/2009/04/nagios-plugin-for-perforce-license/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 18:31:48 +0000</pubDate>
		<dc:creator>Jonathan Delgado</dc:creator>
				<category><![CDATA[Comp Stuff]]></category>
		<category><![CDATA[nagios]]></category>

		<guid isPermaLink="false">http://www.techno-obscura.com/~delgado/blog/?p=46</guid>
		<description><![CDATA[I feel like whatever code I write, no matter how simple or seemingly insignificant, eventually ends up becoming useful to someone else at some point. So here is a quick Nagios plugin that I whipped up today, check_p4_license.
I have a server running Perforce at work and it seems that every other year I have managed [...]]]></description>
			<content:encoded><![CDATA[<p>I feel like whatever code I write, no matter how simple or seemingly insignificant, eventually ends up becoming useful to someone else at some point. So here is a quick Nagios plugin that I whipped up today, <a href="/~delgado/code/check_p4_license">check_p4_license</a>.</p>
<p>I have a server running <a href="http://www.perforce.com/">Perforce</a> at work and it seems that every other year I have managed to not realize the license needed renewing until someone said to me, &#8220;Hey, is there any reason Perforce isn&#8217;t working?&#8221;</p>
<p>This year my spider-senses started tickling earlier on and I caught it in time, but I told myself I needed to count on more than just an odd sense of doom and foreboding in April. So I wrote a quickly Perl script that calls the Perforce p4 CLI tool and looks at your server&#8217;s license info and gripes back to you if it is going to be expiring any time soon.</p>
<p>I have also placed this plugin up on <a href="http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F3033.html;d=1">NagiosExchange</a>, because I have found that it is better for me to do so earlier on than to have someone else find my stuff and upload then abandon it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techno-obscura.com/~delgado/blog/2009/04/nagios-plugin-for-perforce-license/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache Proxy for Filemaker 10 Advanced Server IWP</title>
		<link>http://www.techno-obscura.com/~delgado/blog/2009/04/proxy-for-filemaker-10-iwp/</link>
		<comments>http://www.techno-obscura.com/~delgado/blog/2009/04/proxy-for-filemaker-10-iwp/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 19:41:02 +0000</pubDate>
		<dc:creator>Jonathan Delgado</dc:creator>
				<category><![CDATA[Comp Stuff]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[filemaker]]></category>

		<guid isPermaLink="false">http://www.techno-obscura.com/~delgado/blog/?p=38</guid>
		<description><![CDATA[This isn&#8217;t any major ground breaking discover, not even a minor hack. What it is, however, is a simple solution to a question that didn&#8217;t  turn up any good results when I tried to Google it earlier on.
The Problem: I have a user with a Filemaker database that they want to quickly share via the [...]]]></description>
			<content:encoded><![CDATA[<p>This isn&#8217;t any major ground breaking discover, not even a minor hack. What it is, however, is a simple solution to a question that didn&#8217;t  turn up any good results when I tried to Google it earlier on.</p>
<p><strong>The Problem</strong>: I have a user with a Filemaker database that they want to quickly share via the Internet, which is generally easy to do using the Instant Web Publishing (IWP). I don&#8217;t, however, want to have the Filemaker server exposed through the firewall. I want to be able to use an Apache server I have sitting on the edge of the network to proxy for it instead.</p>
<p><span id="more-38"></span></p>
<p><strong>The (old) Solution</strong>: With the old Filemaker Server 7 we were able to using the basic Apache mod_proxy using the <code>ProxyPass</code> and <code>ProxyPassReverse</code> directives worked fine. There was a trick though, and that was that you had to proxy back to a specific port on the Filemaker server, port 16080, otherwise your request for http://external.server/fmi/iwp/ would keep redirecting to http://internal.server/fmi/iwp/. So in short our Apache conf would work with: <code><br />
    ProxyPass /fmi/iwp http://internal.server:16080/fmi/iwp<br />
    ProxyPassReverse /fmi/iwp http://internal.server:16080/fmi/iwp<br />
</code></p>
<p>Unfortunately this approach no longer worked when we installed a new Filemaker 10 Advanced Server system. The port 16080 solution no longer existed and the same problems with just doing a straight reverse proxy still existed.</p>
<p><strong>The (new) Solution</strong>: So some simple digging in the Apache config on the Filemaker server showed that Filemaker is simply inserting their own version of mod_jk (they are calling it mod_jk_fm) into Apache and then talking back to their own Tomcat server they installed as part of the package. Right at the end of the httpd.conf they have: <code><br />
Include '/Library/FileMaker Server/Admin/admin-helper/WEB-INF/conf/mod_jk.conf'<br />
</code><br />
and said mod_jk.conf looks like: <code><br />
LoadModule jk_fm_module '/Library/FileMaker Server/Web Publishing/publishing-engine/web-server-support/apache-2.2/mod_jk_fm.so'<br />
JkFmWorkersFile '/Library/FileMaker Server/Admin/admin-helper/WEB-INF/conf/workers.properties'<br />
JkFmLogFile '/Library/FileMaker Server/Logs/web_server_module_log.txt'<br />
JkFmShmFile '/Library/FileMaker Server/Logs/mod_jk_shm.txt'<br />
JkFmLogLevel error<br />
JkFmLogStampFormat "[%a %b %d %H:%M:%S %Y]"<br />
JkFmOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories<br />
JkFmRequestLogFormat "%w %V %T"<br />
JkFmMount /fmi/config config<br />
JkFmMount /fmi/config/* config<br />
JkFmMount /fmi/iwp wpc<br />
JkFmMount /fmi/iwp/* wpc<br />
JkFmMount /fmi/xml/* wpc<br />
JkFmMount /fmi/xsl/cnt/* cwpe<br />
JkFmMount /fmi/xsl/relay/* cwpe<br />
JkFmMount /fmi/xsl/*.xsl cwpe<br />
</code><br />
and the workers.properties file is just: <code><br />
worker.list=wpc,cwpe,config<br />
worker.config1.host=127.0.0.1<br />
worker.config1.type=ajp13<br />
worker.config1.port=16018<br />
worker.config1.lbfactor=1<br />
worker.config2.host=127.0.0.1<br />
worker.config2.type=ajp13<br />
worker.config2.port=16018<br />
worker.config2.lbfactor=1<br />
worker.cwpe1.host=127.0.0.1<br />
worker.cwpe1.type=ajp13<br />
worker.cwpe1.port=16018<br />
worker.cwpe1.lbfactor=1<br />
worker.cwpe2.host=127.0.0.1<br />
worker.cwpe2.type=ajp13<br />
worker.cwpe2.port=16018<br />
worker.cwpe2.lbfactor=1<br />
worker.wpc1.host=127.0.0.1<br />
worker.wpc1.type=ajp13<br />
worker.wpc1.port=16016<br />
worker.wpc1.lbfactor=1<br />
worker.wpc1.retries=20<br />
worker.wpc2.host=127.0.0.1<br />
worker.wpc2.type=ajp13<br />
worker.wpc2.port=16016<br />
worker.wpc2.lbfactor=1<br />
worker.wpc2.retries=20<br />
worker.config.type=lb<br />
worker.config.balance_workers=config1,config2<br />
worker.cwpe.type=lb<br />
worker.cwpe.balance_workers=cwpe1,cwpe2<br />
worker.wpc.type=lb<br />
worker.wpc.balance_workers=wpc1,wpc2<br />
</code></p>
<p>As it turns out, the naive approach/solution is the one that works. FM 10 Server&#8217;s instance of Tomcat is listening on all of the network interfaces, not just the localhost, and will happily accept AJP13 connections from other systems. What I did on my external (proxying) Apache server was to install my own copy of mod_jk and then include my own modified version of the the mod_jk.conf into the man httpd.conf: <code></p>
<p>        JkWorkersFile etc/apache2/workers.properties<br />
        JkLogFile  /var/log/jk.log<br />
        JkShmFile  /var/log/jk-runtime-status<br />
        JkLogLevel error</p>
<p>        JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"<br />
        JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories<br />
        JkRequestLogFormat "%w %V %T"</p>
<p></code><br />
I trimmed down my own workers.properties (using the IP adress of the internal FM server for the host field) to: <code><br />
worker.list=wpc<br />
worker.wpc1.host=###.###.###.###<br />
worker.wpc1.type=ajp13<br />
worker.wpc1.port=16016<br />
worker.wpc1.lbfactor=1<br />
worker.wpc1.retries=20<br />
worker.wpc2.host=###.###.###.###<br />
worker.wpc2.type=ajp13<br />
worker.wpc2.port=16016<br />
worker.wpc2.lbfactor=1<br />
worker.wpc2.retries=20<br />
worker.wpc.type=lb<br />
worker.wpc.balance_workers=wpc1,wpc2<br />
</code><br />
and then in my VirtualHost definition for the proxying site I have:<code><br />
###<br />
# Filemaker 10 server Instant Web Publishing Proxy<br />
###</p>
<p>        JkMount /fmi/iwp wpc<br />
        JkMount /fmi/iwp/* wpc</p>
<p></code></p>
<p>That was it. I think I spent far more time trying to Google an answer to the initial problem than I did in actually solving it once I finally decided to take my own look at things. I am sure there is some sort of life lesson in there, but for the sake of those who don&#8217;t want to learn them themselves, I have provided you with my solution.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techno-obscura.com/~delgado/blog/2009/04/proxy-for-filemaker-10-iwp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switch</title>
		<link>http://www.techno-obscura.com/~delgado/blog/2009/04/switch/</link>
		<comments>http://www.techno-obscura.com/~delgado/blog/2009/04/switch/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 17:59:36 +0000</pubDate>
		<dc:creator>Jonathan Delgado</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.techno-obscura.com/~delgado/blog/?p=34</guid>
		<description><![CDATA[It has been a long time since my last blog post, and I couldn&#8217;t say how long since the blog software was updated. I typically use the time of posting a new blog entry as a window to look at updating the blog software as well. This time I decided to not just update the [...]]]></description>
			<content:encoded><![CDATA[<p>It has been a long time since my last blog post, and I couldn&#8217;t say how long since the blog software was updated. I typically use the time of posting a new blog entry as a window to look at updating the blog software as well. This time I decided to not just update the software, but to switch platforms as well.</p>
<p>So I have decided to go over to WordPress from Movable Type. It is GPL and all other sorts of good stuff, plus a friend of mine who uses his own blog far more frequently described it as moving from &#8220;Outhouse to Flush Toilet&#8221;. That seems like qualifications enough to me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techno-obscura.com/~delgado/blog/2009/04/switch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
