<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.4418.33">
<TITLE>website transaction monitor / simple web form</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Wondering what can be done to use Nagios to check</FONT>
<BR><FONT SIZE=2>a simple webform? Maybe some modifiction of the wget that</FONT>
<BR><FONT SIZE=2>checked the hp switches? The opening page has:</FONT>
</P>
<P><FONT SIZE=2> <h4><b>Welcome to CommuniGate Pro,<br></FONT>
<BR><FONT SIZE=2> the <span class="orange">test.net</span> Messaging Server!</b> </h4></FONT>
<BR><FONT SIZE=2> <form method=post enctype="multipart/form-data"></FONT>
<BR><FONT SIZE=2> <table border=0 cellspacing=0 cellpadding=0 width="100%"></FONT>
<BR><FONT SIZE=2> <tr bgcolor="#003333" class="contrast"> </FONT>
<BR><FONT SIZE=2> <th NOWRAP align=CENTER> Registered Users </th></FONT>
<BR><FONT SIZE=2> </tr></FONT>
<BR><FONT SIZE=2> </table></FONT>
<BR><FONT SIZE=2> <br></FONT>
<BR><FONT SIZE=2> <table border=0 cellspacing=0 cellpadding=2></FONT>
<BR><FONT SIZE=2> <tr> </FONT>
<BR><FONT SIZE=2> <th NOWRAP align=LEFT><font class="colfont" color="#cc6600">Login </FONT>
<BR><FONT SIZE=2> Name</font></th></FONT>
<BR><FONT SIZE=2> <th NOWRAP align=LEFT><font class="colfont" color="cc6600">Password</font></th></FONT>
<BR><FONT SIZE=2> <td></td></FONT>
<BR><FONT SIZE=2> </tr></FONT>
<BR><FONT SIZE=2> <tr valign=TOP> </FONT>
<BR><FONT SIZE=2> <td></FONT>
<BR><FONT SIZE=2> <input name="Username" type=text size=20 maxlength=255></FONT>
<BR><FONT SIZE=2> </td></FONT>
<BR><FONT SIZE=2> <td></FONT>
<BR><FONT SIZE=2> <input name="Password" type=password size=10 maxlength=99></FONT>
<BR><FONT SIZE=2> </td></FONT>
<BR><FONT SIZE=2> <td></FONT>
<BR><FONT SIZE=2> <input name="login" type=submit value="Enter"></FONT>
<BR><FONT SIZE=2> </td></FONT>
<BR><FONT SIZE=2> </tr></FONT>
<BR><FONT SIZE=2> <tr> </FONT>
<BR><FONT SIZE=2> <td colspan=2></td></FONT>
<BR><FONT SIZE=2> <td></td></FONT>
<BR><FONT SIZE=2> </tr></FONT>
<BR><FONT SIZE=2> </table></FONT>
<BR><FONT SIZE=2> <p> </FONT>
<BR><FONT SIZE=2> </form></FONT>
</P>
<P><FONT SIZE=2>and would like to supply a username and password to this form,</FONT>
<BR><FONT SIZE=2>then check for a text string INBOX would be all that's required.</FONT>
</P>
<P><FONT SIZE=2>I did try the command:</FONT>
</P>
<P><FONT SIZE=2>wget -r --http-user=chris@test.net --http-passwd=chris06 <A HREF="http://webmail.test.net">http://webmail.test.net</A> but only got back the index page...</FONT>
</P>
<P><FONT SIZE=2>Not really sure how to proceed from here.</FONT>
</P>
<P> <FONT SIZE=2>richg</FONT>
</P>
<BR>
</BODY>
</HTML>