[hobbit] https monitoring
henrik at hswn.dk
Wed Jan 26 21:53:06 CET 2005
On Wed, Jan 26, 2005 at 07:18:04PM +0000, Jon Bjorn Njalsson wrote:
> Is it possible to let hobbit log on to a https protected webpage, that
> is POSTing username and password to a form on the webpage and let hobbit
> monitor server respond ?
> if so, how is it done ?
Yes, but it can be a bit tricky to setup.
There's an example in the bb-hosts man-page, in the "HTTP Tests"
If you have a form:
<form action="/cgi-bin/form.cgi" method="post">
<p>Given name<input type="text" name="givenname"></p>
<p>Surname<input type="text" name="surname"></p>
<input type="submit" value="Send">
and it must return the string "Welcome" when you post it, then you can
test it with this in bb-hosts (simulating that you put "Henrik
Stoerner" in the form fields):
Hobbit handles both "http" and "https" URL's as long as you compile it
with SSL support enabled.
The method does require that it's a genuine HTML form that is being
posted; you may be able to figure out what data to send for e.g. a
capture a session, or some knowledge of how the form is supposed to
More information about the Xymon