<pre class="file">Whoops, forgot to include the template information...<br><br><br>==== urlplus.pl ====<br>Summary<br>  * Download:      [[monitors:monitor|monitor]]<br>  * Author:        gumby3203@gmail.com|Gary Baluha<br>
  * Compatible with: Linux, OpenBSD<br>  * Last Update:   2008-01-28<br><br>\\--------------------------------------------------------------------<br><br>====== Monitor ======<br><br>^ Compatibility | Hobbit 4.2 |<br>^ Requirements | Perl, unix, curl |<br>
^ Download | None |<br>^ Last Update | 2008-01-28 |<br><br>===== Description =====<br>Provides a slightly more robust form of URL content checking that Hobbit does out of the box.<br>Per-host user-configuration is provided.<br>
<br>===== Installation =====<br>=== Client side ===<br>N/A<br><br>=== Server side ===<br>1) Copy urlplus.pl to $BBHOME/ext<br>2) Create an new configuration file: $BBHOME/etc/cont-check.cfg<br><br>===== Source =====<br>==== Monitor ====<br>
<code><br></code><br><br>===== Known  Bugs and Issues =====<br>None at this time<br><br>===== To Do =====<br>Need more testing on a larger variety of hosts, mostly for inclusion of new features<br><br>===== Credits =====<br>
<br>===== Changelog =====<br><br>  * **2008-01-02**<br>    * Initial creation<br>  * **2008-01-28**<br>    * Initial release to The Shire<br><br></pre><br><div class="gmail_quote">On Jan 28, 2008 10:54 AM, Gary Baluha <<a href="mailto:gumby3203@gmail.com">gumby3203@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">We are in the process of replacing several sitescope monitors with Hobbit, and I have found some of the built-in Hobbit http checks inadequate.  As a result, I have been working on an extension script which at its core is essentially a wrapper for curl.  However, it provides for more robust user-customization than is easily possible with Hobbit's built-in tests.  It is still a work-in-progress, but I believe it has matured enough to be worth posting on The Shire.  I wrote it using perl, but I have a feeling that some point in the future it may need to be converted to C (mostly for the speed).  However, it seems to work pretty good for me now.<br>

<br>The main feature I required from this script was the addition of a per-host customizable timeout period.  Some of the hosts I'm testing take up to a minute to return back any data, and this is considered normal.  However, I didn't want to bump up the timeout for _all_ hosts.  Admittedly, this script uses an additional configuration file and doesn't completely integrate with the bb-hosts file, but it works for me and helps keep the bb-hosts file clean.  I'd be interested in what other people think of this script, which is the main reason I'm contributing it now.  I have attached it to this post (I haven't yet subscribed to theshire-developers, so I'm not able to upload it myself yet).<br>

</blockquote></div><br>