Archive for April, 2009

Nagios plugin for Perforce license

Wednesday, April 8th, 2009

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 to not realize the license needed renewing until someone said to me, “Hey, is there any reason Perforce isn’t working?”

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’s license info and gripes back to you if it is going to be expiring any time soon.

I have also placed this plugin up on NagiosExchange, 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.

Apache Proxy for Filemaker 10 Advanced Server IWP

Monday, April 6th, 2009

This isn’t any major ground breaking discover, not even a minor hack. What it is, however, is a simple solution to a question that didn’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 Internet, which is generally easy to do using the Instant Web Publishing (IWP). I don’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.

(more…)

Switch

Monday, April 6th, 2009

It has been a long time since my last blog post, and I couldn’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.

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 “Outhouse to Flush Toilet”. That seems like qualifications enough to me.