Hi Everyone
I need the help of someone that knows Nagios please.
I am trying to install the plugin for nagios (running nagios 2.10) but I get the following output:
server:/home/machielr/nagios-plugins-1.4.11 # make
make all-recursive
make[1]: Entering directory `/home/machielr/nagios-plugins-1.4.11'
Making all in gl
make[2]: Entering directory `/home/machielr/nagios-plugins-1.4.11/gl'
make all-am
make[3]: Entering directory `/home/machielr/nagios-plugins-1.4.11/gl'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/machielr/nagios-plugins-1.4.11/gl'
make[2]: Leaving directory `/home/machielr/nagios-plugins-1.4.11/gl'
Making all in lib
make[2]: Entering directory `/home/machielr/nagios-plugins-1.4.11/lib'
Making all in tests
make[3]: Entering directory `/home/machielr/nagios-plugins-1.4.11/lib/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/machielr/nagios-plugins-1.4.11/lib/tests'
make[3]: Entering directory `/home/machielr/nagios-plugins-1.4.11/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/machielr/nagios-plugins-1.4.11/lib'
make[2]: Leaving directory `/home/machielr/nagios-plugins-1.4.11/lib'
Making all in plugins
make[2]: Entering directory `/home/machielr/nagios-plugins-1.4.11/plugins'
/bin/sh ../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 -lresolv -lssl -lcrypto
gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o -L/home/machielr/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto
check_http.o(.text+0x11d4): In function `check_http':
/home/machielr/nagios-plugins-1.4.11/plugins/check_http.c:785: undefined reference to `np_net_ssl_write'
check_http.o(.text+0x120b):/home/machielr/nagios-plugins-1.4.11/plugins/check_http.c:789: undefined reference to `np_net_ssl_read'
check_http.o(.text+0x12bd):/home/machielr/nagios-plugins-1.4.11/plugins/check_http.c:828: undefined reference to `np_net_ssl_cleanup'
check_http.o(.text+0x14f4):/home/machielr/nagios-plugins-1.4.11/plugins/check_http.c:734: undefined reference to `np_net_ssl_init'
check_http.o(.text+0x1513):/home/machielr/nagios-plugins-1.4.11/plugins/check_http.c:736: undefined reference to `np_net_ssl_check_cert'
check_http.o(.text+0x151a):/home/machielr/nagios-plugins-1.4.11/plugins/check_http.c:737: undefined reference to `np_net_ssl_cleanup'
collect2: ld returned 1 exit status
make[2]: *** [check_http] Error 1
make[2]: Leaving directory `/home/machielr/nagios-plugins-1.4.11/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/machielr/nagios-plugins-1.4.11'
make: *** [all] Error 2
Can someone please assist by telling me why the plugin make does not work?
thank you