Re: NRPE agent not working on Oracle Linux 7
Posted: Mon Jan 11, 2016 5:04 pm
The libmcrypt and libmcrypt-devel libraries have been installed. Do I need to remove the old NRPE before re-installing it?
Support for Nagios products and services
https://support.nagios.com/forum/
Your system $PATH does not include /sbin and /usr/sbin. This is usually the result of installing GNOME rather than creating a clean system.
Adding /sbin and /usr/sbin to $PATH.
============================
Nagios Linux Agent Installer
============================
This script will install the Nagios Linux Agent by executing all necessary
sub-scripts.
IMPORTANT: This script should only be used on a clean installed system:
RedHat Enterprise, CentOS, Fedora, or Oracle
OpenSUSE or SUSE Enterprise
Ubuntu or Debian
Do NOT use this on a system running any other distro or that
does not allow additional package installation.
Do you want to continue? [Y/n] Y
Proceeding with installation...
Running './0-repos'...
Repos already configured - exiting.
RESULT=0
Running './1-prereqs'...
Prereqs already installed - skipping...
RESULT=0
Running './2-usersgroups'...
Users/groups already configured - skipping.
RESULT=0
Running './3-services'...
/etc/services already updated - skipping.
RESULT=0
Running './4-firewall'...
Firewall rules already configured - skipping.
RESULT=0
Running './A-subcomponents'...
Subcomponents already configured - skipping.
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.
Code: Select all
cd /tmp/linux-nrpe-agentCode: Select all
rm -f installed.*
./fullinstallI found the above in your install.log file - please verify that you have the following packages on your system:checking for SSL headers... configure: error: Cannot find ssl headers
Code: Select all
[root@localhost linux-nrpe-agent]# rpm -qa | grep header
libevent-headers-1.4.13-4.el6.noarch
kernel-headers-2.6.32-504.23.4.el6.x86_64
glibc-headers-2.12-1.166.el6_7.3.x86_64
[root@localhost linux-nrpe-agent]# rpm -qa | grep ssl
openssl-devel-1.0.1e-42.el6_7.2.x86_64
mod_ssl-2.2.15-39.el6.centos.x86_64
openssl-1.0.1e-42.el6_7.2.x86_64Code: Select all
yum install <packagename>Code: Select all
which opensslCode: Select all
rm -rf installed.*
./fullinstallCode: Select all
ls -l ls -l /usr/sbin/nrpeCode: Select all
/usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -nCode: Select all
cat /etc/xinetd.d/nrpe