Page 3 of 4

Re: Agent Install Failed - SSLv3

Posted: Wed Apr 19, 2017 3:17 pm
by InscrutableDude
In the meantime, I've been adding agents to more servers, all fine. Just now, I found a second server that fails agent install:

Code: Select all

Making install in plugins
make[1]: Entering directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/plugins'
/bin/bash ../libtool --tag=CC   --mode=link gcc -DNP_VERSION='"2.0.3"' -g -O2  -L. -o check_http check_http.o libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a  -lnsl -lresolv -lssl -lcrypto -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"2.0.3\" -g -O2 -o check_http check_http.o  -L. libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto -lpthread -ldl
libnpcommon.a(sslutils.o): In function `np_net_ssl_init_with_hostname_version_and_cert':
/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/plugins/sslutils.c:69: undefined reference to `SSLv3_client_method'
collect2: error: ld returned 1 exit status
Makefile:1674: recipe for target 'check_http' failed
make[1]: *** [check_http] Error 1
make[1]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/plugins'
Makefile:1415: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1

real    0m0.287s
user    0m0.208s
sys     0m0.008s
Subcomponents installation failed - exiting
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './A-subcomponents'

Re: Agent Install Failed - SSLv3

Posted: Wed Apr 19, 2017 4:32 pm
by tgriep
One thing you can try is to update all of the packages and libraries in that server and see if the Agent will compile.
What OS and release is that server running?

Re: Agent Install Failed - SSLv3

Posted: Thu Apr 20, 2017 7:51 am
by InscrutableDude
tgriep wrote:One thing you can try is to update all of the packages and libraries in that server and see if the Agent will compile.
What OS and release is that server running?
Hi,

Well, on some production servers running an update is not possible. However, The original issue still stands. On the first server, I have managed to successfully compile the new v3 agent. The trouble now is that multiple checks simply don't work.

The Servers are all running Ubuntu 16.04. Some are on 16.04.1 and some 16.04.2, but both have successful installs of the v2 agent. Is is possible to get a detailed list of the v2 dependencies so I can check what might be causing the fail?

The main thing now, is to determine why CPU Stats, MySQL Server, Open Files, and SSH Server will not work, show as Unknown, and have the error "NRPE: Unable to read output"

Re: Agent Install Failed - SSLv3

Posted: Thu Apr 20, 2017 8:37 am
by tgriep
If the system that you are having the "NRPE: Unable to read output" has NRPE version 3.0.1 installed on it, you will have to edit the nrpe.cfg file and comment out this section.

Code: Select all

command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[check_load]=/usr/local/nagios/libexec/check_load -r -w .15,.10,.05 -c .30,.25,.20
command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/hda1
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200
Then add this section to the file

Code: Select all

### GENERIC SERVICES ###
command[check_init_service]=sudo /usr/local/nagios/libexec/check_init_service $ARG1$
command[check_services]=/usr/local/nagios/libexec/check_services -p $ARG1$

### MISC SYSTEM METRICS ###
#command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[check_users]=/usr/local/nagios/libexec/check_users $ARG1$
command[check_load]=/usr/local/nagios/libexec/check_load $ARG1$
command[check_swap]=/usr/local/nagios/libexec/check_swap $ARG1$
command[check_cpu_stats]=/usr/local/nagios/libexec/check_cpu_stats.sh $ARG1$
command[check_mem]=/usr/local/nagios/libexec/custom_check_mem -n $ARG1$

### SYSTEM UPDATES ###
command[check_yum]=/usr/local/nagios/libexec/check_yum
command[check_apt]=/usr/local/nagios/libexec/check_apt

### DISK ###
command[check_disk]=/usr/local/nagios/libexec/check_disk $ARG1$
command[check_ide_smart]=/usr/local/nagios/libexec/check_ide_smart $ARG1$

### PROCESSES ###
command[check_all_procs]=/usr/local/nagios/libexec/custom_check_procs
command[check_procs]=/usr/local/nagios/libexec/check_procs $ARG1$

### OPEN FILES ###
command[check_open_files]=/usr/local/nagios/libexec/check_open_files.pl $ARG1$

### NETWORK CONNECTIONS ###
command[check_netstat]=/usr/local/nagios/libexec/check_netstat.pl -p $ARG1$ $ARG2$
Save the nrpe.cfg file and restart the nrpe agent on your remote system and those check should start to work if the Agent was configured and compiled correctly.

The error looks to be from the openssl-devel package. See what version is installed on the working servers and the not working one's and post that info here.

Re: Agent Install Failed - SSLv3

Posted: Fri Apr 21, 2017 3:11 pm
by InscrutableDude
Ok, so I had already commented out those lines, though THEY did work. I had previously had the commands you said to add in an include folder, but I commented out the include folder line and pasted the commands directly in nrpe.cfg. I restarted the nrpe service, but in nagiosxi I still get "NRPE: Unable to read output".

OpenSSL 1.0.2g 1 Mar 2016

Re: Agent Install Failed - SSLv3

Posted: Mon Apr 24, 2017 8:54 am
by tgriep
You may want to look at the NRPE Troubleshooting guide.
https://assets.nagios.com/downloads/nag ... utions.pdf

The "Unable to read output" usually means the path for the commands are invalid or that the plugins themselves are missing.

Re: Agent Install Failed - SSLv3

Posted: Mon Apr 24, 2017 9:26 am
by InscrutableDude
tgriep wrote:You may want to look at the NRPE Troubleshooting guide.
https://assets.nagios.com/downloads/nag ... utions.pdf

The "Unable to read output" usually means the path for the commands are invalid or that the plugins themselves are missing.
Hi tgriep,

Well, I followed the install steps exactly, and have pasted everything that I was told, so if what you're saying is true, something is missing or wrong. My issue is that the two servers that this is not working for are centrally important production servers. I need help getting this working or I'm not going to be able to look the CTO straight in the face and tell him to buy this. What are my options here? Also, does that guide apply to the new v3 agent?

Is there an exhaustive list somewhere of what the prereqs are for the v2 agent? I am still wondering why, on servers that have the same setup, os, and kernel version. some work and some don't. I'd like to perhaps just install any missing elements and go with the proven v2 agent if possible.

Thanks in advance.

Re: Agent Install Failed - SSLv3

Posted: Mon Apr 24, 2017 11:45 am
by tgriep
The NRPE Troubleshooting guide would work for either the version 2 of 3 client.

From what is looks like, you are having issues compiling the plugins on the system and the required packages are needed to compile them.

Code: Select all

apt-get install -y autoconf gcc libc6 libmcrypt-dev make libssl-dev wget bc gawk dc build-essential snmp libnet-snmp-perl gettext wget
After installing the above packages, try re-installing the version 2.xx NRPE Agent by following this procedure.
https://assets.nagios.com/downloads/nag ... _Agent.pdf

If it fails again, run the following commands and post the output.

Code: Select all

netstat -anp |grep 5666
ps -ef |grep nrpe
find / -name nrpe
Also, post the install log from this folder.

Code: Select all

/tmp/linux-nrpe-agent

Re: Agent Install Failed - SSLv3

Posted: Mon Apr 24, 2017 2:51 pm
by InscrutableDude
output of install for prereqs:

Code: Select all

Building dependency tree
Reading state information... Done
autoconf is already the newest version (2.69-9).
bc is already the newest version (1.06.95-9build1).
build-essential is already the newest version (12.1ubuntu2).
dc is already the newest version (1.06.95-9build1).
gawk is already the newest version (1:4.1.3+dfsg-0.1).
gcc is already the newest version (4:5.3.1-1ubuntu1).
gettext is already the newest version (0.19.7-2ubuntu3).
libnet-snmp-perl is already the newest version (6.0.1-2).
make is already the newest version (4.1-6).
snmp is already the newest version (5.7.3+dfsg-1ubuntu4).
libmcrypt-dev is already the newest version (2.5.8-3.3).
libc6 is already the newest version (2.23-0ubuntu7).
wget is already the newest version (1.17.1-1ubuntu1.2).
libssl-dev is already the newest version (1.0.2k-1+deb.sury.org~xenial+5).
0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded.

Code: Select all

user@host:/tmp/linux-nrpe-agent$ sudo netstat -anp |grep 5666
tcp        0      0 0.0.0.0:5666            0.0.0.0:*               LISTEN      21134/nrpe
tcp6       0      0 :::5666                 :::*                    LISTEN      21134/nrpe

Code: Select all

user@host:/tmp/linux-nrpe-agent$ ps -ef |grep nrpe
nagios   21134     1  0 Apr21 ?        00:00:01 /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -f
user   64769  9859  0 19:37 pts/0    00:00:00 grep --color=auto nrpe
the find command is taking a LONG time, so no output yet.

It seems I can't post the install.log because it's about 100k characters and the limit for posting here is 60k. Please let me know what to do about that.

Thanks!

Re: Agent Install Failed - SSLv3

Posted: Mon Apr 24, 2017 3:02 pm
by InscrutableDude
I should also mention that I tried your steps on the other server that failed install where I have NOT tried to install the v3 agent. It still fails with the following:

Code: Select all

mv -f .deps/parse_ini.Tpo .deps/parse_ini.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DNP_STATE_DIR_PREFIX=\"/usr/local/nagios/var\" -I. -I../gl -I../intl -I../plugins   -g -O2 -MT extra_opts.o -M                                              D -MP -MF .deps/extra_opts.Tpo -c -o extra_opts.o extra_opts.c
mv -f .deps/extra_opts.Tpo .deps/extra_opts.Po
rm -f libnagiosplug.a
ar cru libnagiosplug.a utils_base.o utils_disk.o utils_tcp.o utils_cmd.o parse_ini.o extra_opts.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libnagiosplug.a
make[3]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/lib'
Making all in tests
make[3]: Entering directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/lib/tests'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/lib/tests'
make[2]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/lib'
Making all in plugins
make[2]: Entering directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/plugins'
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I.. -I../lib -I../gl -I../intl -I/usr/include  -DNP_VERSION='"2                                              .0.3"' -g -O2 -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c
utils.c: In function ‘strntolower’:
utils.c:640:24: warning: implicit declaration of function ‘tolower’ [-Wimplicit-function-declaration]
                 *ptr = tolower(*ptr);
                        ^
utils.c: In function ‘strntoupper’:
utils.c:650:24: warning: implicit declaration of function ‘toupper’ [-Wimplicit-function-declaration]
                 *ptr = toupper(*ptr);
                        ^
mv -f .deps/utils.Tpo .deps/utils.Po
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I.. -I../lib -I../gl -I../intl -I/usr/include  -DNP_VERSION='"2                                              .0.3"' -g -O2 -MT netutils.o -MD -MP -MF .deps/netutils.Tpo -c -o netutils.o netutils.c
mv -f .deps/netutils.Tpo .deps/netutils.Po
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I.. -I../lib -I../gl -I../intl -I/usr/include  -DNP_VERSION='"2                                              .0.3"' -g -O2 -MT sslutils.o -MD -MP -MF .deps/sslutils.Tpo -c -o sslutils.o sslutils.c
sslutils.c: In function ‘np_net_ssl_init_with_hostname_version_and_cert’:
sslutils.c:55:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   method = SSLv23_client_method();
          ^
sslutils.c:58:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   method = TLSv1_client_method();
          ^
sslutils.c:69:12: warning: implicit declaration of function ‘SSLv3_client_method’ [-Wimplicit-function-declaration]
   method = SSLv3_client_method();
            ^
sslutils.c:69:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
   method = SSLv3_client_method();
          ^
mv -f .deps/sslutils.Tpo .deps/sslutils.Po
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I.. -I../lib -I../gl -I../intl -I/usr/include  -DNP_VERSION='"2                                              .0.3"' -g -O2 -MT runcmd.o -MD -MP -MF .deps/runcmd.Tpo -c -o runcmd.o runcmd.c
mv -f .deps/runcmd.Tpo .deps/runcmd.Po
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I.. -I../lib -I../gl -I../intl -I/usr/include  -DNP_VERSION='"2                                              .0.3"' -g -O2 -MT popen.o -MD -MP -MF .deps/popen.Tpo -c -o popen.o popen.c
mv -f .deps/popen.Tpo .deps/popen.Po
rm -f libnpcommon.a
ar cru libnpcommon.a utils.o netutils.o sslutils.o runcmd.o popen.o runcmd.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libnpcommon.a
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I.. -I../lib -I../gl -I../intl -I/usr/include  -DNP_VERSION='"2                                              .0.3"' -g -O2 -MT check_apt.o -MD -MP -MF .deps/check_apt.Tpo -c -o check_apt.o check_apt.c
check_apt.c: In function ‘run_upgrade’:
check_apt.c:227:16: warning: passing argument 2 of ‘memset’ makes integer from pointer without a cast [-Wint-conversion]
  memset(&ereg, "\0", sizeof(ereg.buffer));
                ^
In file included from /usr/include/features.h:367:0,
                 from common.h:37,
                 from check_apt.c:36:
/usr/include/x86_64-linux-gnu/bits/string3.h:78:1: note: expected ‘int’ but argument is of type ‘char *’
 __NTH (memset (void *__dest, int __ch, size_t __len))
 ^
mv -f .deps/check_apt.Tpo .deps/check_apt.Po
/bin/bash ../libtool --tag=CC   --mode=link gcc -DNP_VERSION='"2.0.3"' -g -O2  -L. -o check_apt check_apt.o libnpcommon.a ../lib/libnagiosplu                                              g.a ../gl/libgnu.a -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"2.0.3\" -g -O2 -o check_apt check_apt.o  -L. libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a -lpthread                                               -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I.. -I../lib -I../gl -I../intl -I/usr/include  -DNP_VERSION='"2                                              .0.3"' -g -O2 -MT check_cluster.o -MD -MP -MF .deps/check_cluster.Tpo -c -o check_cluster.o check_cluster.c
mv -f .deps/check_cluster.Tpo .deps/check_cluster.Po
/bin/bash ../libtool --tag=CC   --mode=link gcc -DNP_VERSION='"2.0.3"' -g -O2  -L. -o check_cluster check_cluster.o libnpcommon.a ../lib/libn                                              agiosplug.a ../gl/libgnu.a -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"2.0.3\" -g -O2 -o check_cluster check_cluster.o  -L. libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a -l                                              pthread -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I.. -I../lib -I../gl -I../intl -I/usr/include  -DNP_VERSION='"2                                              .0.3"' -g -O2 -MT check_disk.o -MD -MP -MF .deps/check_disk.Tpo -c -o check_disk.o check_disk.c
check_disk.c: In function ‘main’:
check_disk.c:291:17: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 10 has type ‘uintmax_t {aka long                                               unsigned int}’ [-Wformat=]
         printf ("For %s, used_pct=%g free_pct=%g used_units=%g free_units=%g total_units=%g used_inodes_pct=%g free_inodes_pct=%g fsp.fsu_bl                                              ocksize=%llu mult=%llu\n",
                 ^
check_disk.c:291:17: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 11 has type ‘uintmax_t {aka long                                               unsigned int}’ [-Wformat=]
check_disk.c: In function ‘get_stats’:
check_disk.c:1016:18: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uintmax_t {aka long                                               unsigned int}’ [-Wformat=]
           printf("Group %s: adding %llu blocks sized %llu, (%s) used_units=%g free_units=%g total_units=%g fsu_blocksize=%llu mult=%llu\n",
                  ^
check_disk.c:1016:18: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘uintmax_t {aka long                                               unsigned int}’ [-Wformat=]
check_disk.c:1016:18: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 9 has type ‘uintmax_t {aka long                                               unsigned int}’ [-Wformat=]
check_disk.c:1016:18: warning: format ‘%llu’ expects a matching ‘long long unsigned int’ argument [-Wformat=]
check_disk.c:1037:16: warning: format ‘%g’ expects argument of type ‘double’, but argument 3 has type ‘uintmax_t {aka long unsigned int}’ [-W                                              format=]
         printf("Group %s now has: used_units=%g free_units=%g total_units=%g fsu_blocksize=%llu mult=%llu\n",
                ^
check_disk.c:1037:16: warning: format ‘%g’ expects argument of type ‘double’, but argument 4 has type ‘uintmax_t {aka long unsigned int}’ [-W                                              format=]
check_disk.c:1037:16: warning: format ‘%g’ expects argument of type ‘double’, but argument 5 has type ‘char *’ [-Wformat=]
check_disk.c:1037:16: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘double’ [-Wformat=]
check_disk.c:1037:16: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 7 has type ‘double’ [-Wformat=]
check_disk.c:1037:16: warning: too many arguments for format [-Wformat-extra-args]
mv -f .deps/check_disk.Tpo .deps/check_disk.Po
/bin/bash ../libtool --tag=CC   --mode=link gcc -DNP_VERSION='"2.0.3"' -g -O2  -L. -o check_disk check_disk.o libnpcommon.a ../lib/libnagiosp                                              lug.a ../gl/libgnu.a -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"2.0.3\" -g -O2 -o check_disk check_disk.o  -L. libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a -lpthrea                                              d -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I.. -I../lib -I../gl -I../intl -I/usr/include  -DNP_VERSION='"2                                              .0.3"' -g -O2 -MT check_dummy.o -MD -MP -MF .deps/check_dummy.Tpo -c -o check_dummy.o check_dummy.c
mv -f .deps/check_dummy.Tpo .deps/check_dummy.Po
/bin/bash ../libtool --tag=CC   --mode=link gcc -DNP_VERSION='"2.0.3"' -g -O2  -L. -o check_dummy check_dummy.o libnpcommon.a ../lib/libnagio                                              splug.a ../gl/libgnu.a -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"2.0.3\" -g -O2 -o check_dummy check_dummy.o  -L. libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a -lpthr                                              ead -ldl
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I.. -I../lib -I../gl -I../intl -I/usr/include  -DNP_VERSION='"2                                              .0.3"' -g -O2 -MT check_http.o -MD -MP -MF .deps/check_http.Tpo -c -o check_http.o check_http.c
mv -f .deps/check_http.Tpo .deps/check_http.Po
/bin/bash ../libtool --tag=CC   --mode=link gcc -DNP_VERSION='"2.0.3"' -g -O2  -L. -o check_http check_http.o libnpcommon.a ../lib/libnagiosp                                              lug.a ../gl/libgnu.a libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a  -lnsl -lresolv -lssl -lcrypto -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"2.0.3\" -g -O2 -o check_http check_http.o  -L. libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -l                                              resolv -lssl -lcrypto -lpthread -ldl
libnpcommon.a(sslutils.o): In function `np_net_ssl_init_with_hostname_version_and_cert':
/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/plugins/sslutils.c:69: undefined reference to `SSLv3_client_method'
collect2: error: ld returned 1 exit status
Makefile:1674: recipe for target 'check_http' failed
make[2]: *** [check_http] Error 1
make[2]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/plugins'
Makefile:1415: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3'
Makefile:1338: recipe for target 'all' failed
make: *** [all] Error 2

real    0m5.991s
user    0m4.912s
sys     0m0.556s
Making install in gl
make[1]: Entering directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/gl'
make  install-recursive
make[2]: Entering directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/gl'
make[3]: Entering directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/gl'
make[4]: Entering directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/gl'
if test yes = no; then \
  case 'linux-gnu' in \
    darwin[56]*) \
      need_charset_alias=true ;; \
    darwin* | cygwin* | mingw* | pw32* | cegcc*) \
      need_charset_alias=false ;; \
    *) \
      need_charset_alias=true ;; \
  esac ; \
else \
  need_charset_alias=false ; \
fi ; \
if $need_charset_alias; then \
  /bin/bash ../build-aux/mkinstalldirs /usr/local/nagios/lib ; \
fi ; \
if test -f /usr/local/nagios/lib/charset.alias; then \
  sed -f ref-add.sed /usr/local/nagios/lib/charset.alias > /usr/local/nagios/lib/charset.tmp ; \
  /usr/bin/install -c  -m 644 /usr/local/nagios/lib/charset.tmp /usr/local/nagios/lib/charset.alias ; \
  rm -f /usr/local/nagios/lib/charset.tmp ; \
else \
  if $need_charset_alias; then \
    sed -f ref-add.sed charset.alias > /usr/local/nagios/lib/charset.tmp ; \
    /usr/bin/install -c  -m 644 /usr/local/nagios/lib/charset.tmp /usr/local/nagios/lib/charset.alias ; \
    rm -f /usr/local/nagios/lib/charset.tmp ; \
  fi ; \
fi
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/gl'
make[3]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/gl'
make[2]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/gl'
make[1]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/gl'
Making install in tap
make[1]: Entering directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/tap'
make[2]: Entering directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/tap'
make[2]: Nothing to be done for 'install-exec-am'.
test -z "/usr/local/nagios/include" || /bin/mkdir -p "/usr/local/nagios/include"
make[2]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/tap'
make[1]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/tap'
Making install in lib
make[1]: Entering directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/lib'
Making install in .
make[2]: Entering directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/lib'
make[3]: Entering directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/lib'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/lib'
make[2]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/lib'
Making install in tests
make[2]: Entering directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/lib/tests'
make[3]: Entering directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/lib/tests'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/lib/tests'
make[2]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/lib/tests'
make[1]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/lib'
Making install in plugins
make[1]: Entering directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/plugins'
/bin/bash ../libtool --tag=CC   --mode=link gcc -DNP_VERSION='"2.0.3"' -g -O2  -L. -o check_http check_http.o libnpcommon.a ../lib/libnagiosp                                              lug.a ../gl/libgnu.a libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a  -lnsl -lresolv -lssl -lcrypto -lpthread -ldl
libtool: link: gcc -DNP_VERSION=\"2.0.3\" -g -O2 -o check_http check_http.o  -L. libnpcommon.a ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -l                                              resolv -lssl -lcrypto -lpthread -ldl
libnpcommon.a(sslutils.o): In function `np_net_ssl_init_with_hostname_version_and_cert':
/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/plugins/sslutils.c:69: undefined reference to `SSLv3_client_method'
collect2: error: ld returned 1 exit status
Makefile:1674: recipe for target 'check_http' failed
make[1]: *** [check_http] Error 1
make[1]: Leaving directory '/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3/plugins'
Makefile:1415: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1

real    0m0.307s
user    0m0.200s
sys     0m0.036s
Subcomponents installation failed - exiting
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './A-subcomponents'
I just took a large chunk of the end, I hope that helps?