Check proxy (auth req)


#1

Hi!

I’d like to check a squid proxy server with check_http plugin. How can I define the username and password to access the proxy?

I’ve tried this:

check_http -H my.proxyserver.hu -p 8080 -u google.com

and a lot of similar, but the answer is: “HTTP/1.0 407 Proxy Authentication Required”.

Are there alternatives to resolve my problem?

Thanks!


#2

./check_http --help shows this:
-a, --authorization=AUTH_PAIR
Username:Password on sites with basic authentication


#3

[quote=“jakkedup”]./check_http --help shows this:
-a, --authorization=AUTH_PAIR
Username:Password on sites with basic authentication
[/quote]

Ok. It seems to me this argument indicate the web site Authentication not the Proxy Authentication. I need to check if the proxy is working. Our corporate proxy uses per user Authentication. The http_proxy enviroment not works.


#4

You could try checking the processes or requests on the proxy server directly…

Luca