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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jevos, Peter
Sent: 07 May 2008 10:58
To: Hendrik B?äcker; [email protected]
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

-------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to