Page 1 of 1

check_http - cannot make SSL connection

Posted: Wed Dec 13, 2017 12:54 am
by jamesc23
Hi Guys,

I'm running check_http v2.2.1 and I can't seem to be getting this monitor to work.

I'm trying to monitor https://www.resworld.com/agents but I'm getting "cannont make SSL connection" and "HTTP WARNING: HTTP/1.0 400 Bad Request, etc. error messages. I'm' not too sure whether I have the wrong commands or there's something else that I'm doing wrong.

I have ./check_http -I proxy -p port -u https://www.resworld.com -S -j CONNECT
./check_http -I proxy -p port -u https://www.resworld.com -S -j CONNECT -H http://www.resworld.com

Please help.
Thanks.

Re: check_http - cannot make SSL connection

Posted: Wed Dec 13, 2017 1:01 pm
by npolovenko
Hello, @jamesc23. This command worked for me instead:

Code: Select all

./check_http -H www.resworld.com -u "/agents" --ssl

Re: check_http - cannot make SSL connection

Posted: Wed Dec 13, 2017 10:38 pm
by jamesc23
Thanks. Got it to work at the end with an added -I proxyserver command.

Re: check_http - cannot make SSL connection

Posted: Thu Dec 14, 2017 1:41 pm
by kyang
Sounds good! I'll be closing this thread!

If you have any more questions, feel free to create another thread.

Thanks for using the Nagios Support Forum!