[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] urlplus.pl http/https monitoring extension script
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] urlplus.pl http/https monitoring extension script
- From: "Ralph Mitchell" <ralphmitchell (at) gmail.com>
- Date: Mon, 28 Jan 2008 10:57:44 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=g8Rrn02rENeNDvdOXSvT3/2u2ziaUfxg0zPutIECZgY=; b=wcivey7W+4q/kgeKY0/1UecUcCdPyWnuvJjKGjferOKyB8nYgCqSxoyfRNgZ7pzc+eKkdkNCZTNsTMX7xUqpAWTNeseOggQwKPMsOzyxJQGNAlltg7qPyukVSKrMrpRxQnf+7uMcL80zbtmI3zRw8OOIVsx/9CWrdRw3iblK4KA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=rZ88Xu/by1Y9Y46FOA8/lc4F0Yw30OkW1CJHaoOjnCkXKqHieFwLvl0+tQR9YiReFUbgw5COPGANSXu0HiDg7G8juU3sg4H4rNag7BWovjkkup/5GErXPyGGxH6oJbQ0rITCLKg7HrX8cH1HChgP1y35id6ydrGrYh/RuZQjCTQ=
- References: <29f517690801280754x304aee2u5acfd303523037a7 (at) mail.gmail.com>
On Jan 28, 2008 9:54 AM, Gary Baluha <gumby3203 (at) gmail.com> 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).
That looks like the kind of thing I've been doing in bash scripts using
curl. I've thought about switching to a different language, but I don't
know enough Perl to get started. Maybe I'll take another look... :)
Ralph Mitchell