I've partially completed the end-to-end transaction monitoring part of
urlplus.pl. Currently, it only works with a 2-part test: content check
initial page, submit content, content check resulting page. I haven't yet
completed it beyond 2 pages. I've also been re-prioritized, so I'm not sure
when I'll get around to getting it to work past 2 pages. But in any case,
I've also cleaned up some of the code, making it a little more user-friendly
to modify for their own needs.
On Jan 28, 2008 10:54 AM, Gary Baluha <user-ae3e15c22de1@xymon.invalid> wrote:
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.
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).