[Nagiosplug-help] Checking https servers
Russell Scibetti
russell at quadrix.com
Fri Jun 27 12:39:06 CEST 2003
Thats a lot of "(cached)" lines in your configure script. Try removing
your config.cache before running configure and see if that helps. Worth
a shot.
Russell
Earl C. Ruby III wrote:
>On Thursday 26 June 2003 08:44 pm, Subhendu Ghosh wrote:
>
>>please subscribe to the list...
>>
>>check_http -S -H host (for ssl connections)
>>
>>-S option will show up under help if compiled with openssl.
>>
>
>I am subscribed to the list, although I do need to update my list aliases.
>
>I have openssl installed on my SuSE system. The header files are in
>/usr/include/openssl. The compiled binary is in /usr/bin/openssl. The shared
>library files are in /usr/lib.
>
>So how do I go about running configure? I thought it would find the openssl
>libraries by itself without any arguments, but I've tried:
>
>--with-openssl=/usr/bin/openssl
>--with-openssl=/usr/include/openssl
>--with-openssl=/usr
>
>... and none of these have produced a check_http that can check https sites.
>The new check_http executables don't recognize the -S option, nor does the -S
>option show up when I type ./check_http -h
>
>Looking at the debug lines from make (blank lines inserted by me), it doesn't
>look like check_http is getting linked with the openssl headers, even though
>these headers are all in /usr/include/openssl:
>
>checking for openssl... (cached) /usr/bin/openssl
>checking for krb5.h... (cached) no
>checking for krb5.h... no
>checking for openssl/ssl.h... (cached) no
>checking for openssl/x509.h... (cached) no
>checking for openssl/rsa.h... (cached) no
>checking for openssl/pem.h... (cached) no
>checking for openssl/crypto.h... (cached) no
>checking for openssl/err.h... (cached) no
>checking for ssl.h... (cached) no
>checking for x509.h... (cached) no
>checking for rsa.h... (cached) no
>checking for pem.h... (cached) no
>checking for crypto.h... (cached) no
>checking for err.h... (cached) no
>checking for CRYPTO_lock in -lcrypto... (cached) yes
>
>The actual compile lines from make don't show it attempting to link
>check_http.c with the openssl libraries:
>
>gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib
>-I/usr/include/pgsql -g -O2 -c popen.c
>gcc -g -O2 -L. -L/usr/bin/openssl/lib -o check_disk check_disk.o utils.o
>../lib/libnagiosplug.a popen.o -lutil
>
>gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib
>-I/usr/include/pgsql -g -O2 -c check_dummy.c
>gcc -g -O2 -L. -L/usr/bin/openssl/lib -o check_dummy check_dummy.o utils.o
>../lib/libnagiosplug.a -lutil
>
>gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib
>-I/usr/include/pgsql -g -O2 -c check_http.c
>
>gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib
>-I/usr/include/pgsql -g -O2 -c netutils.c
>gcc -g -O2 -L. -L/usr/bin/openssl/lib -o check_http check_http.o netutils.o
>utils.o ../lib/libnagiosplug.a -lnsl -lresolv -lssl -lcrypto -lutil
>
>gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib
>-I/usr/include/pgsql -g -O2 -c check_load.c
>gcc -g -O2 -L. -L/usr/bin/openssl/lib -o check_load check_load.o utils.o
>../lib/libnagiosplug.a popen.o -lutil
>
>Any additional suggestions?
>
--
Russell Scibetti
Quadrix Solutions, Inc.
http://www.quadrix.com
(732) 235-2335, ext. 7038
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20030627/c2be283d/attachment.html>
More information about the Help
mailing list