(no subject)
Spook
spook at myrealbox.com
Wed Nov 3 07:36:46 CET 2004
Hi Pete.
I have found that the IIS webserver HAS to support basic authentication and not Integrated authentication.
This unfortunately means that your username and password are sent cleartext across the network/internet.
This can be mitigated by using HTTPS or a switched network.
When using basic authentication on your webserver, the following will work:
check_http 10.1.1.1 -a NTDomain\\user:password
(note the escaped backslash)
I have tested it on one of my servers and it works for me.
Regards,
Andrew.
-----Original Message-----
Date: Mon, 01 Nov 2004 12:23:22 +0000
From: Pete Dewell <pete.dewell at volteurope.com>
Reply-To: Pete.dewell at volteurope.com
Organization: Volt Europe
To: "nagios-users at lists.sourceforge.net" <nagios-users at lists.sourceforge.net>
Subject: [Nagios-users] check_http with authentication
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?
--
This message was sent with an unlicensed evaluation version of
Novell NetMail. Please see http://www.netmail.com/ for details.
-------------------------------------------------------
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