Check proxy (auth req)

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!

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

[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.

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

Luca