HTTP authorixation in check_http doesn't work
Joe Precious
JoeP at protronics.co.uk
Wed May 7 12:17:39 CEST 2008
Although its highly likely I could be wrong, I was under the impression that the authentication option for check_http only works on sites using basic authentication.
Its sounds like the site you are trying to access is possibly using Integrated Windows or Digest authentication because you are having to enter the domain name.
http://nagiosplugins.org/man/check_http
Joe
From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jevos, Peter
Sent: 07 May 2008 10:58
To: Hendrik B?äcker; nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] HTTP authorixation in check_http doesn't work
> Hi ,
>
> I tried to use check_http plugin again address that is running on IIS.
>
> There is authorization in format: domain\user adn password
> So I did:
> ./check_http -t 40 -H my_http_address -a domain\nuser:pwd
>
Why do you use "\n" before the user? Did you try a \\user? One \ for the
bash and one for the plugin?
Regards,
Hendrik
Thanks for you answer Henrik.
Of course \n and other credentials are not real.
I also used double \\ but the result is the same:
HTTP WARNING: HTTP/1.1 401 Unauthorized
When I tried to login through browser it works
thx
br
pet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080507/61aebe4e/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
-------------- next part --------------
_______________________________________________
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