check_http - cannot make SSL connection

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jamesc23
Posts: 82
Joined: Thu Jan 15, 2015 11:55 pm

check_http - cannot make SSL connection

Post 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.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: check_http - cannot make SSL connection

Post by npolovenko »

Hello, @jamesc23. This command worked for me instead:

Code: Select all

./check_http -H www.resworld.com -u "/agents" --ssl
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
jamesc23
Posts: 82
Joined: Thu Jan 15, 2015 11:55 pm

Re: check_http - cannot make SSL connection

Post by jamesc23 »

Thanks. Got it to work at the end with an added -I proxyserver command.
kyang

Re: check_http - cannot make SSL connection

Post 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!
Locked