Page 1 of 1

Configuration Wizard: NRPE - Step 2 - Error 1

Posted: Sat Sep 17, 2016 1:19 pm
by mbrad_26_2
Nagios XI (5.2.9)

uname -a
Linux wudesktop 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

64bit

VMware Image or Manual Install of XI?
I have this ubuntu 14.04 LTS installed under Oracle's virtual box and is a client to be monitored.

Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?
At one time I had this client acting as a Nigios Core 4.x monitor server. And I did remove.

I get the install to the client information from the Nagios XI gui when I go to setup "Configuration Wizard: NRPE - Step 2" and follow steps
"Agent Install Instructions:"

Seems I'm getting a ssl error ( i think )... I will aslo provide the entire install.log

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.273s
user 0m0.184s
sys 0m0.012s
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: Configuration Wizard: NRPE - Step 2 - Error 1

Posted: Mon Sep 19, 2016 9:33 am
by lmiltchev
Are you trying to install the Linux agent on your Nagios XI server?! You are supposed to install it on the client (machine that you want to monitor)... Also, Nagios XI is supported ONLY on RHEL/CentOS systems.

https://support.nagios.com/kb/article.php?id=12

Currently, Ubuntu is NOT supported.

Re: Configuration Wizard: NRPE - Step 2 - Error 1

Posted: Mon Sep 19, 2016 2:13 pm
by mbrad_26_2
no was installing NRPE agent on client and client is ubuntu. I have Nagios XI installed on a CentOS.

Re: Configuration Wizard: NRPE - Step 2 - Error 1

Posted: Mon Sep 19, 2016 4:54 pm
by lmiltchev
I will have to discuss this with our developers. I haven't been able to recreate the issue. I just installed the Linux agent (NRPE + Nagios plugins) on Ubuntu 16.04, and didn't have any issues...
Subcomponents installed OK
RESULT=0

##########################################################
### ###
### Nagios XI Linux Agent Installation Complete! ###
### ###
##########################################################

If you experience any problems, please attach the file install.log that was just created to any support requests.

root@ubuntu1604:/tmp/linux-nrpe-agent# uname -a
Linux ubuntu1604 4.4.0-9-generic #24-Ubuntu SMP Mon Feb 29 19:33:19 UTC 2016 x86 _64 x86_64 x86_64 GNU/Linux
root@ubuntu1604:/tmp/linux-nrpe-agent# cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu Xenial Xerus (development branch)"
NAME="Ubuntu"
VERSION="16.04 (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
UBUNTU_CODENAME=xenial
In your initial post, you say:
I have this ubuntu 14.04 LTS installed under Oracle's virtual box and is a client to be monitored.
but in the install.log I see:
Nagios Linux Agent Installation Log
===================================
DATE: Sat Sep 17 11:01:56 PDT 2016

DISTRO INFO:
Ubuntu
16.04
x86_64
Can you confirm the Ubuntu version?

I know that NRPE installs fine on Ubuntu 14.04. I haven't tested installer on 16.04 up until today, but it seems to work fine, at least for me.

Re: Configuration Wizard: NRPE - Step 2 - Error 1

Posted: Tue Sep 20, 2016 6:39 am
by mbrad_26_2
duh, yes I upgraded and posted incorrectly, it is Ubuntu 16.04

Re: Configuration Wizard: NRPE - Step 2 - Error 1

Posted: Tue Sep 20, 2016 10:17 am
by lmiltchev
Post the output of the following commands:

Code: Select all

lsb_release  -si
lsb_release  -sr
cat /etc/os-release
Try updating the system:

Code: Select all

sudo apt-get update
then rerun the full install script:

Code: Select all

./fullinstall
If the full install fails again, post the "updated" install.log.