Using POST to test web pages

Frédéric Mangeant frederic.mangeant at steria.com
Thu Sep 14 11:45:19 CEST 2006


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.

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis







More information about the Xymon mailing list