Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_http_ntlm.pl

Current Version
0.1
Last Release Date
2010-02-02
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
Hits
99505
Files:
FileDescription
check_http_ntlm.plcheck_http_ntlm.pl
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
This script provides a method to check IIS webserver links that require NTLM Authentication.

Horse work is done by curl, I tested 7.12.1 with libcurl/7.12.1

this check receives a URL as a parameter, logins to the IIS server using the curl binary, then it parses the output of the command and captures the response code. Timeout pass and user values are currently hardcoded
script currently only has handlers for some response codes, but a switch was used to add more in an easy way. Response code is found with regexp /HTTP/1.1 ([0-9]{3}) .*/