check_http with authentication

Pete Dewell pete.dewell at volteurope.com
Mon Nov 1 13:23:22 CET 2004


Hi,

I'm trying to set up a check_http command with authentication on an IIS 
server that requires the NT domain to be entered as part of the 
authentication.

The command I am using is :-

check_http 10.1.1.1 -a NTdomain\user:password

I can't seem to get this to authenticate via Nagios (always returns 
401), although it works fine in Firefox/Netscape/Mozilla browsers. I've 
tried escaping the \, quotes, and a few other things, to no avail.

Has anybody managed to do this before, or is the only way to get this to 
work to use a "-e 401" option on the command, and expect a "not 
authorised" message?

Pete Dewell
-- 

Technical Support/Analyst
Volt Europe
Tel    : (+44) (0) 1737 774100
Fax    : (+44) (0) 1737 772949
Mobile : (+44) (0)  777 1513066
E-mail  pete.dewell at volteurope.com



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list