website transaction monitor / simple web form

Richard Gross rich at vel.net
Fri Feb 7 20:31:33 CET 2003


Wondering what can be done to use Nagios to check
a simple webform?  Maybe some modifiction of the wget that
checked the hp switches?  The opening page has:

            <h4><b>Welcome to CommuniGate Pro,<br>
              the <span class="orange">test.net</span> Messaging
Server!</b> </h4>
            <form method=post enctype="multipart/form-data">
              <table border=0 cellspacing=0 cellpadding=0 width="100%">
                <tr bgcolor="#003333" class="contrast"> 
                  <th NOWRAP align=CENTER> Registered Users </th>
                </tr>
              </table>
              <br>
              <table border=0 cellspacing=0 cellpadding=2>
                <tr> 
                  <th NOWRAP align=LEFT><font class="colfont"
color="#cc6600">Login 
                    Name</font></th>
                  <th NOWRAP align=LEFT><font class="colfont"
color="cc6600">Password</font></th>
                  <td></td>
                </tr>
                <tr valign=TOP> 
                  <td>
                    <input name="Username" type=text size=20
maxlength=255>
                  </td>
                  <td>
                    <input name="Password" type=password size=10
maxlength=99>
                  </td>
                  <td>
                    <input name="login"    type=submit value="Enter">
                  </td>
                </tr>
                <tr> 
                  <td colspan=2></td>
                  <td></td>
                </tr>
              </table>
              <p> 
            </form>

and would like to supply a username and password to this form,
then check for a text string INBOX  would be all that's required.

I did try the command:

wget -r --http-user=chris at test.net --http-passwd=chris06
http://webmail.test.net but only got back the index page...

Not really sure how to proceed from here.

							richg


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030207/716b4967/attachment.html>


More information about the Users mailing list