check_http requests - SSL Not available

Kevin Davison kdavison at innosphere.ca
Fri Nov 12 19:16:33 CET 2010


Yes. openssl-devel is installed.

Package openssl-devel-0.9.8e-12.el5_4.6.x86_64 already installed and latest version
Package openssl-devel-0.9.8e-12.el5_4.6.i386 already installed and latest version



From: Assaf Flatto [mailto:nagios at flatto.net]
Sent: November-12-10 12:27 PM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] check_http requests - SSL Not available

On 12/11/10 17:15, Kevin Davison wrote:
I've been digging at this one for a while and not getting any closer to resolution.

Has anyone else encountered problems with getting check_http to  work with the -S/--ssl option?

Nagios 3.2.1 running on a CentOS box.
I have openssl and openssl-devel installed


Package openssl-0.9.8e-12.el5_4.6.x86_64 already installed and latest version
Package openssl-0.9.8e-12.el5_4.6.i686 already installed and latest version
Nothing to do

Package openssl-devel-0.9.8e-12.el5_4.6.x86_64 already installed and latest version
Package openssl-devel-0.9.8e-12.el5_4.6.i386 already installed and latest version
Nothing to do

I recompiled my plugins and got confirmation of openssl
--with-apt-get-command:
               --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s
               --with-ping-command: /bin/ping -n -U -w %d -c %d %s
               --with-ipv6: yes
               --with-mysql: no
               --with-openssl: yes
               --with-gnutls: no
               --enable-extra-opts: no
               --with-perl: /usr/bin/perl
               --enable-perl-modules: no
               --with-cgiurl: /nagios/cgi-bin
               --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin
               --enable-libtap: no

For some reason, after this, I'm still not able to get a response to -ssl checks using check_http.

[root at nagios nagios-plugins-1.4.14]# /usr/local/nagios/libexec/check_http --ssl -H <siteaddress>
check_http: Invalid option - SSL is not available



Kevin Davison
Network Administrator

I am able to run the check_http  with the -S option

 ~/libexec/check_http -H 10.0.X.XX  -S
HTTP WARNING: HTTP/1.1 401 Authorization Required - 1726 bytes in 0.036 second response time |time=0.035854s;;;0.000000 size=1726B;;;0

openssl might be installed , but do you have the devel package - it will be required for the compilation to work .




--

Never,Ever Cut A Deal With a Dragon





Next year I will be doing the London to Paris bike ride to

raise money for the DogTrust (www.dogstrust.co.uk<http://www.dogstrust.co.uk>) .

Please Sponsor me at http://www.justgiving.com/Assaf-Flatto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101112/c2dc0c3a/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list