check_http with authentication

Gerd Mueller gmueller at netways.de
Mon Nov 1 15:01:35 CET 2004


Hi Pete,

did you tried user at ntdomain as user?

Gerd

Am Mo, den 01.11.2004 schrieb Pete Dewell um 13:23:
> 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
Mit freundlichen Grüßen aus Nürnberg,

Gerd Müller

-- 
Gerd Müller                   NETWAYS GmbH
Senior Systems Engineer       Deutschherrnstr. 47a
Fon.0911/92885-0              D-90429 Nürnberg
Fax.0911/92885-33
gmueller at netways.de           http://www.netways.de     


-------------------------------------------------------
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_idU88&alloc_id065&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