<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I'll second the WebInject vote. We use it heavily in my office to test our web applications. Here is a simple example I used to demonstrate logging into a drupal website and checking a specific page for content.<BR>
<BR>
<A href="http://www.techadre.com/content/checking-drupal-status-nagios-and-webinject">http://www.techadre.com/content/checking-drupal-status-nagios-and-webinject</A><BR><BR>-- <BR>Mat W. - <A href="http://www.techadre.com/">http://www.techadre.com</A><BR><BR><BR> <BR>> Date: Tue, 7 Jul 2009 11:34:27 -0400<BR>> From: kgs@uvm.edu<BR>> To: shadhin71@gmail.com<BR>> CC: nagios-users@lists.sourceforge.net<BR>> Subject: Re: [Nagios-users] a special http check<BR>> <BR>> I've had good luck using WebInject for similar kinds of tests. Might do<BR>> what you're after.<BR>> <BR>> http://www.webinject.org/<BR>> <BR>> -kent<BR>> <BR>> shadih rahman wrote:<BR>> > All,<BR>> > I need to do a special kind of http check to see if our<BR>> > authentication service is working or not. These are the sequence of<BR>> > event need to take place.<BR>> ><BR>> > I need to hit the url https://myserver.com/login<BR>> > then I need do additional query service=myservice<BR>> > then I need to additinal query to validattion url<BR>> > https://myserver.com/validate<BR>> > here I will add additional query with my username and password.<BR>> > then I want to check the http response and search for the string "yes"<BR>> ><BR>> ><BR>> > Can this be done using check_http or do I need a custom check? Please<BR>> > advise on this. Thanks<BR>> ><BR>> > -- <BR>> > Cordially,<BR>> > Shadhin Rahman<BR>> > ------------------------------------------------------------------------<BR>> ><BR>> > ------------------------------------------------------------------------------<BR>> > Enter the BlackBerry Developer Challenge <BR>> > This is your chance to win up to $100,000 in prizes! For a limited time, <BR>> > vendors submitting new applications to BlackBerry App World(TM) will have <BR>> > the opportunity to enter the BlackBerry Developer Challenge. See full prize <BR>> > details at: http://p.sf.net/sfu/blackberry<BR>> > ------------------------------------------------------------------------<BR>> ><BR>> > _______________________________________________<BR>> > Nagios-users mailing list<BR>> > Nagios-users@lists.sourceforge.net<BR>> > https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>> > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <BR>> > ::: Messages without supporting info will risk being sent to /dev/null<BR>> <BR>> <BR>> ------------------------------------------------------------------------------<BR>> Enter the BlackBerry Developer Challenge <BR>> This is your chance to win up to $100,000 in prizes! For a limited time, <BR>> vendors submitting new applications to BlackBerry App World(TM) will have <BR>> the opportunity to enter the BlackBerry Developer Challenge. See full prize <BR>> details at: http://p.sf.net/sfu/blackberry<BR>> _______________________________________________<BR>> Nagios-users mailing list<BR>> Nagios-users@lists.sourceforge.net<BR>> https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <BR>> ::: Messages without supporting info will risk being sent to /dev/null<BR><br /><hr />Lauren found her dream laptop. <a href='http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290' target='_new'>Find the PC that’s right for you.</a></body>
</html>