<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I've added it…I'll send out an official announcement when I get
home tonight.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Gary Baluha
[mailto:gumby3203@gmail.com] <br>
<b>Sent:</b> Monday, January 28, 2008 11:07 AM<br>
<b>To:</b> hobbit@hswn.dk; Theshire-announce@lists.sourceforge.net<br>
<b>Subject:</b> [hobbit] Re: urlplus.pl http/https monitoring extension script<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<pre>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>
<br>
<o:p></o:p></pre><pre>  * 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>
<br>
<o:p></o:p></pre><pre>^ 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>
<o:p></o:p></pre><pre><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>
<br>
<o:p></o:p></pre><pre><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>
<o:p></o:p></pre><pre style='margin-bottom:12.0pt'><br>
===== Changelog =====<br>
<br>
  * **2008-01-02**<br>
    * Initial creation<br>
  * **2008-01-28**<br>
    * Initial release to The Shire<o:p></o:p></pre>

<p class=MsoNormal><o:p> </o:p></p>

<div>

<p class=MsoNormal>On Jan 28, 2008 10:54 AM, Gary Baluha <<a
href="mailto:gumby3203@gmail.com">gumby3203@gmail.com</a>> wrote:<o:p></o:p></p>

<p class=MsoNormal>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).<o:p></o:p></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

</body>

</html>