check_http: Invalid option - SSL is not available

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
vinothsethuram
Posts: 147
Joined: Thu Nov 07, 2013 11:44 am

check_http: Invalid option - SSL is not available

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: check_http: Invalid option - SSL is not available

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
csekar
Posts: 1
Joined: Thu Jan 01, 2015 11:11 pm

Re: check_http: Invalid option - SSL is not available

Post by csekar »

Vinoth, this worked. Thanks
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: check_http: Invalid option - SSL is not available

Post by tmcdonald »

Going to lock the thread as it is somewhat old, but it will still be visible for reference.
Former Nagios employee
Locked