Page 1 of 1

check_http: Invalid option -SSL is not available

Posted: Mon Dec 06, 2010 1:32 pm
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.

Re: check_http: Invalid option -SSL is not available

Posted: Tue Dec 07, 2010 11:35 am
by tonyyarusso
Why do you have -H twice, without an argument the second time?

Re: check_http: Invalid option -SSL is not available

Posted: Wed Dec 08, 2010 11:11 am
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.

Re: check_http: Invalid option -SSL is not available

Posted: Wed Dec 08, 2010 11:30 am
by tonyyarusso
Perhaps the SSL libraries weren't installed when you compiled the plugins?

Re: check_http: Invalid option -SSL is not available

Posted: Wed Dec 08, 2010 12:37 pm
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?

Re: check_http: Invalid option -SSL is not available

Posted: Wed Dec 08, 2010 2:26 pm
by tonyyarusso
You would have needed openssl-devel while compiling.

Re: check_http: Invalid option -SSL is not available

Posted: Wed Dec 08, 2010 4:37 pm
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?