Page 1 of 1

check_http: Invalid option - SSL is not available

Posted: Tue Feb 25, 2014 1:38 pm
by vinothsethuram
I installed Nagios 4.0.2. I'm getting error - check_http: Invalid option - SSL is not available

Here is the steps which I took to resolve the issue, but still getting same error.

1)

Code: Select all

yum install openssl
Package openssl-1.0.0-27.el6_4.2.x86_64 already installed and latest version
2) I went to Nagios plugin folder and executed following commands

Code: Select all

./configure --with-openssl=/usr/bin/openssl

 make clean

 make

 make install

and restarted the nagios service.[code]
[/code]


Please help to resolve the issue

Re: check_http: Invalid option - SSL is not available

Posted: Tue Feb 25, 2014 2:29 pm
by sreinhardt
You would actually need to install the openssl-devel package, or at least thats how it's named in cent land. The plugins need the openssl sources to compile against them, not the binary. Then you actually should not need to specify the configure switch for where openssl is.

Re: check_http: Invalid option - SSL is not available

Posted: Sun Jan 04, 2015 10:58 pm
by csekar
Vinoth, this worked. Thanks

Re: check_http: Invalid option - SSL is not available

Posted: Mon Jan 05, 2015 10:20 am
by tmcdonald
Going to lock the thread as it is somewhat old, but it will still be visible for reference.