Greetings all,<br><br>Brand new Solaris 10 with nagios 2.7. I'm trying to ./confgure | make the plugins. I 'm seeing errors on a few of the check_commands. Notably check_http, and check_procs -- which is of course the 2 I need the most. I've googled around, edited
config.h for procs and tried --withour-openssl for http tried to manually make them in the plugin directory after a succesfull ./configure.<br><br>First some system info:<br>root @ paranoid: /usr/local/nagios/bin/nagios -v
<br><br>Nagios 2.7<br>Copyright (c) 1999-2007 Ethan Galstad (<a href="http://www.nagios.org">http://www.nagios.org</a>)<br>Last Modified: 01-19-2007<br><br>root @ paranoid: uname -a<br>SunOS paranoid 5.10 Generic_118822-25 sun4v sparc SUNW,Sun-Fire-T200
<br><br>root @ paranoid: gcc --version<br>gcc (GCC) 3.4.6<br>Copyright (C) 2006 Free Software Foundation, Inc.<br>This is free software; see the source for copying conditions. There is NO<br>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
<br><br>root @ paranoid: ssh -V<br>Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f<br><br>root @ paranoid: openssl version<br>OpenSSL 0.9.7d 17 Mar 2004<br><br>root @ paranoid: pwd<br>/tmp/nagios-plugins-1.4.6<br><br>
=========================================<br><br>And here are the errors<br>root @ paranoid: make check_http<br>/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_http check_http.o sslutils.o netutils.o
utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket -lresolv -lnsl -lsocket<br>gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o -L/tmp/nagios-plugins-1.4.6/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lresolv -lnsl -lsocket
<br>Undefined first referenced<br> symbol in file<br>SSL_load_error_strings sslutils.o<br>SSL_write sslutils.o<br>OpenSSL_add_all_algorithms
sslutils.o<br>SSL_set_fd sslutils.o<br>SSL_free sslutils.o<br>SSL_read sslutils.o<br>SSLv23_client_method sslutils.o<br>SSL_new
sslutils.o<br>SSL_CTX_new sslutils.o<br>SSL_connect sslutils.o<br>SSL_shutdown sslutils.o<br>SSL_CTX_free sslutils.o<br>SSL_library_init
sslutils.o<br>ld: fatal: Symbol referencing errors. No output written to check_http<br>collect2: ld returned 1 exit status<br>*** Error code 1<br>make: Fatal error: Command failed for target `check_http'<br><br>root @ paranoid: ./check_procs -w 10 -c 20 --metric=CPU
<br>CRITICAL - Plugin timed out after 10 seconds<br><br>=========================================<br><br>After the make fails, I can go into plugins/ and make the other check_commands; example:<br>root @ paranoid: ./check_users
<br>./check_users: not found<br>root @ paranoid: make check_users<br>if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -D_REENTRANT -g -O2 -MT check_users.o -MD -MP -MF ".deps/check_users.Tpo" -c -o check_users.o check_users.c; \
<br>then mv -f ".deps/check_users.Tpo" ".deps/check_users.Po"; else rm -f ".deps/check_users.Tpo"; exit 1; fi<br>In file included from check_users.c:42:<br>common.h:179: warning: static declaration of 'floorf' follows non-static declaration
<br>/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_users check_users.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a popen.o -lnsl -lsocket<br>gcc -g -O2 -o check_users check_users.o utils.o popen.o
-L/tmp/nagios-plugins-1.4.6/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket<br>root @ paranoid: ./check_users<br><br><br>Usage:check_users -w <users> -c <users><br>root @ paranoid: ./check_users -w 3 -c 5
<br>USERS WARNING - 3 users currently logged in |users=3;3;5;0<br><br><br>Sorry for the long email, I wanted to provide enough to hopefully have someone call me an idiot for forgetting something dumb, or at least get an answer.
<br><br>Thanks in advance all,<br><br>-Marc<br><br><br><br><br>