Benny, you might also take a look at Webinject.pl  It allows you to script a series of website interactions and watch for patterns in the response.  There is a nagios mode and I believe you can pass credentials.<br><br><br clear="all">
\\Greg<br><br><br><br>
<div class="gmail_quote">On Thu, Jan 7, 2010 at 7:12 PM, C. Bensend <span dir="ltr"><<a href="mailto:benny@bennyvision.com" target="_blank">benny@bennyvision.com</a>></span> wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div><br>>>   Any thoughts on how to monitor an IIS site requiring NTLM<br>>> authentication when a default page is configured for an "out of<br>>> service" page?<br>><br>> I'm not aware of anything out-of-the-box but I do know of one that's close<br>

> (but haven't used it). I also know that curl supports NTLM so if that's<br>> used as the basis of a plugin, you're a good way there. This PHP based<br>> plugin appears to have the features of check_http you need, but without<br>

> the NTLM auth --<br>><br>> <a href="http://exchange.nagios.org/directory/Plugins/Websites%2C-Forms-and-Transactions/CURL-check-script/details" target="_blank">http://exchange.nagios.org/directory/Plugins/Websites%2C-Forms-and-Transactions/CURL-check-script/details</a><br>

><br>> Since it's PHP and PHP Curl is pretty well documented, I think that it<br>> wouldn't be too difficult to add in the authentication bit (two lines in<br>> the curl_setopt() section I believe, if hard-coded). The two options I<br>

> think you'd need are --<br>><br>> <a href="http://www.php.net/manual/en/function.curl-setopt.php" target="_blank">http://www.php.net/manual/en/function.curl-setopt.php</a><br>><br>> CURLOPT_USERPWD 'username:password'<br>

> CURLOPT_HTTPAUTH 'CURLAUTH_NTLM'<br>><br>> It may be more complicated than that but it's where I'd start if I were<br>> doing it.<br><br></div>A quick followup...<br><br>I decided to take the requirements a little more literally, and<br>

build a test that checks to see if their IIS web sites are<br>up and running or if they're stopped/paused/whatever.  So, here<br>it is:<br><br><a href="http://exchange.nagios.org/directory/Plugins/Web-Servers/IIS/check_iis_site/details" target="_blank">http://exchange.nagios.org/directory/Plugins/Web-Servers/IIS/check_iis_site/details</a><br>

<br>It's a VBscript that I run via NSClient's NRPE handler, and it<br>checks the status of any IIS web site I tell it to.<br><br>Released under BSD license, maybe someone else will find it<br>useful.  :)<br>
<div><br>Benny<br><br><br>--<br>"It's not all about getting up and putting four slices of kickass<br>in a two slice toaster."         -- ark86, on Fazed.net<br><br><br><br>------------------------------------------------------------------------------<br>

</div>
<div>
<div></div>
<div>This SF.Net email is sponsored by the Verizon Developer Community<br>Take advantage of Verizon's best-in-class app development support<br>A streamlined, 14 day to market process makes app distribution fast and easy<br>

Join now and get one step closer to millions of Verizon customers<br><a href="http://p.sf.net/sfu/verizon-dev2dev" target="_blank">http://p.sf.net/sfu/verizon-dev2dev</a><br>_______________________________________________<br>

Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><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></div></div></blockquote></div><br>