Check_http not working with proxy server

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
simoni11
Posts: 3
Joined: Thu Apr 12, 2012 12:15 am

Check_http not working with proxy server

Post by simoni11 »

Hi All,
I'm running the latest Nagios version on Ubuntu server 11.
We are also using Microsoft ISA server as our proxy server.
When I try to monitor external web address using the check_http I get connection refused error.
After searching the web I found that Nagios check_http needs extra configuration when using a proxy server.
Can someone point me to what I need to do in order to get check_http to work behind a proxy server ?

Regards,
Simon
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Check_http not working with proxy server

Post by jsmurphy »

The following should work:

check_http -H <website> -I user:password@proxyaddress -p port

Now I can't remember off the top of my head if you can just use the above for -I or if it needs to be in the format of http://user:password@proxyaddress
simoni11
Posts: 3
Joined: Thu Apr 12, 2012 12:15 am

Re: Check_http not working with proxy server

Post by simoni11 »

Thanks for that, I'll try it
Locked