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
No1Special
Posts: 4
Joined: Mon Dec 06, 2010 1:27 pm

check_http: Invalid option -SSL is not available

Post by No1Special »

Has anyone seen this error message before "check_http: Invalid option -SSL is not available"?
I get this when I run this command.

Code: Select all

/usr/local/nagios/libexec/check_http -H 'server_ip' -H -S -p 'port#'
I'm pretty sure I've installed openssl - I think. Could you let me know if you've come across this and have solved it.

Thx.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: check_http: Invalid option -SSL is not available

Post by tonyyarusso »

Why do you have -H twice, without an argument the second time?
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
No1Special
Posts: 4
Joined: Mon Dec 06, 2010 1:27 pm

Re: check_http: Invalid option -SSL is not available

Post by No1Special »

Sorry, my fault.

Code: Select all

/usr/local/nagios/libexec/check_http -H 'server_ip' -S -p 'port#'
This is what I meant. Thx.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: check_http: Invalid option -SSL is not available

Post by tonyyarusso »

Perhaps the SSL libraries weren't installed when you compiled the plugins?
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
No1Special
Posts: 4
Joined: Mon Dec 06, 2010 1:27 pm

Re: check_http: Invalid option -SSL is not available

Post by No1Special »

I'm pretty sure that I've installed openssl and it verified that openssl-0.9.8e-12.e15_4.6.x86_64 and openssl-0.9.8e-12.e15_4.6.i686 are installed.

I've got:
/usr/bin/openssl
/usr/lib/openssl
/usr/lib64/openssl
/usr/local/ssl

I've ran this command

Code: Select all

./config --prefix=/usr/local --openssldir=/usr/local/openssl
Shouldn't that install the libraries - right?
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: check_http: Invalid option -SSL is not available

Post by tonyyarusso »

You would have needed openssl-devel while compiling.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
No1Special
Posts: 4
Joined: Mon Dec 06, 2010 1:27 pm

Re: check_http: Invalid option -SSL is not available

Post by No1Special »

I was following this instructions how to install nagios
http://www.unixmen.com/linux-tutorials/ ... tos-fedora
http://www.unixmen.com/linux-tutorials/ ... ios-server

Sorry for being a nub. It looks like, going back through the instructions, it left out the part about installing openssl-devel.

But, I did download and install 'openssl-1.0.0c' and ran the make, make install, and ./configure –with-nagios-user=nagios –with-nagios-group=nagios –with-openssl.

Do I need another step?
Locked