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.
No1Special
Posts: 4 Joined: Mon Dec 06, 2010 1:27 pm
Post
by No1Special » Mon Dec 06, 2010 1:32 pm
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:
Post
by tonyyarusso » Tue Dec 07, 2010 11:35 am
Why do you have -H twice, without an argument the second time?
No1Special
Posts: 4 Joined: Mon Dec 06, 2010 1:27 pm
Post
by No1Special » Wed Dec 08, 2010 11:11 am
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:
Post
by tonyyarusso » Wed Dec 08, 2010 11:30 am
Perhaps the SSL libraries weren't installed when you compiled the plugins?
No1Special
Posts: 4 Joined: Mon Dec 06, 2010 1:27 pm
Post
by No1Special » Wed Dec 08, 2010 12:37 pm
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:
Post
by tonyyarusso » Wed Dec 08, 2010 2:26 pm
You would have needed openssl-devel while compiling.