Annoying problem with check_http

Phil Costelloe philc at foundation-it.com
Thu May 8 17:31:40 CEST 2003


> From: solkan [mailto:nils_mueller at hotmail.com] 
> 
> I am trying to make the check_http plugin work with ssl 
> support. Problem is: although openssl is installed, is does 
> not find it (looking at the ./configure log). 
> 
> This is where openssl is located:
> 
> /usr/bin/openssl
> 
> Here are the needed sources:
> 
> /usr/include/openssl
> 
> This is the corresponding part in the configure.in:
> 
> dnl Check for OpenSSL location
> AC_PATH_PROG(OPENSSL,openssl)
> if test "$OPENSSL" = "/usr/bin/openssl"; then
>   OPENSSL=/usr/include/
> elif test "$OPENSSL" = "/usr/sbin/openssl"; then
>   OPENSSL=/usr
> elif test "$OPENSSL" = "/opt/bin/openssl"; then
>   OPENSSL=/opt
> elif test "$OPENSSL" = "/opt/openssl/bin/openssl"; then
>   OPENSSL=/opt/openssl
> elif test "$OPENSSL" = "/usr/slocal/bin/openssl"; then
>   OPENSSL=/usr/slocal
> elif test "$OPENSSL" = "/usr/local/bin/openssl"; then
>   OPENSSL=/usr/local
> elif test "$OPENSSL" = "/usr/local/ssl/bin/openssl"; then
>   OPENSSL=/usr/local/ssl
> fi
> AC_ARG_WITH(openssl,--with-openssl=<dir> sets path to openssl 
> installation,[OPENSSL=$withval])
> 
> How do I have to modify the configure.in to make the nagios 
> plugins notice there actually IS ssl support?

You shouldn't need to change anything in configure.in. Compile with

./configure --enable-SSL --with-openssl=/usr

plus whatever other configure options you'd normally use and I think
it should work for your case.

> P.S.: Openssl version 0.9.6b

You should really upgrade that, it's getting a bit long in the tooth. :)

Phil


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
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