[hobbit] Web Page Check
Gary Baluha
gumby3203 at gmail.com
Wed Jan 10 22:34:20 CET 2007
Hobbit also supports some basic (though fairly complete) options of doing
this itself.
Look at the Hobbit man page for the bb-hosts file, and look for a section
titled "HTTP Tests".
I believe the "post" test will work.
If the options Hobbit has doesn't do enough, then you'll probably need to
use a script as below (which should also be easy enough to do).
On 1/10/07, Ralph Mitchell <ralphmitchell at gmail.com> wrote:
>
> On 1/10/07, James Wade <jkwade at futurefrontiers.com> wrote:
> >
> > Does anyone know how I can integrate hobbit with
> >
> > a test that would check web page logins?
> >
> >
> >
> > For example, We have a Web Server which connects
> >
> > to an App. Server which connects to a Database Server.
> >
> >
> >
> > To test functionality, we login to the Web Server, then enter
> >
> > data into a form, which stores the information into the database.
> >
> > This is just a test user account.
> >
> >
> >
> > I'd like to setup a test that does the same thing and have hobbit
> >
> > alert us. For example, you can an error logging in, or an error
> submitting
> >
> > your data in the form.
>
>
> I'm doing exactly that with a bunch of scripts I wrote for Big Bother,
> before switching to Hobbit. I'm using curl to fetch web pages, then
> grep, awk, or whatever to pick out interesting stuff to make sure the
> page is correct. Lather, rinse, repeat. Curl handles cookies
> properly, proxies, authenticating via Basic Auth, etc.
>
> I'm about to go to bed right now, but if you're interested I'll try to
> get some sample stuff written up when I get to work tonight.
>
> Ralph Mitchell
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070110/9e10cf7a/attachment.html>
More information about the Xymon
mailing list