[hobbit] Using POST to test web pages
Francisco Carmona Leon
fcarmona at cfe.gob.mx
Thu Sep 14 15:30:44 CEST 2006
have you try just this way:
http://proxy.in.case.you.need.it:8080/http://foo:bar@10.20.30.40/cacti/
On Thu, 2006-09-14 at 11:45 +0200, Frédéric Mangeant wrote:
> Hi
>
> I'm trying to monitor a web application (Cacti) which needs a
> login/password.
> Here is the form :
>
> <form name="login" method="post" action="index.php">
> <input type="text" name="login_username" size="40" style="width: 295px;">
> <input type="password" name="login_password" size="40" style="width:
> 295px;">
> <input type="submit" value="Login">
> <input type="hidden" name="action" value="login">
> </form>
>
>
> I've tried this in bb-hosts :
>
> post;http://10.20.30.40/cacti/;login_username=foo&login_password=bar;Logged
>
> The 'content' test is red, and running in debug mode gives no error but :
>
> 2006-09-14 11:16:20 Calc content color host phoenix : 2006-09-14
> 11:16:20 Content check on http://10.20.30.40/cacti/ is red
> 2006-09-14 11:16:20 Adding to combo msg: status phoenix.content red Thu
> Sep 14 11:16:20 2006: Content match failed
>
>
> The 'http' test is green.
>
> I've tested with Hobbit 4.1.2p2 and 4.2.0 (patched).
>
> Could it be related to cookies ?
>
> Thanks in advance.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060914/704d723a/attachment.html>
More information about the Xymon
mailing list