Page 1 of 1
Nagios client agent fails to install
Posted: Tue Oct 13, 2015 4:13 pm
by zzt86c
Hello I am running the ./fullinstall and the client agent fails to complete. Attached is the install log.
Re: Nagios client agent fails to install
Posted: Tue Oct 13, 2015 7:15 pm
by jdalrymple
Code: Select all
checking for SSL headers... configure: error: Cannot find ssl headers
Incidentally nsca also fails because libmcrypt is missing, you may want to toss that beast in too.
Code: Select all
yum install libmcrypt libmcrypt-devel
Re: Nagios client agent fails to install
Posted: Wed Oct 14, 2015 1:04 pm
by zzt86c
When I try those commands my red hat subscription management reports that there is no package called openssl-devel or libmcrypt available
Re: Nagios client agent fails to install
Posted: Wed Oct 14, 2015 1:35 pm
by rkennedy
Please post the output of yum repolist.
Re: Nagios client agent fails to install
Posted: Thu Oct 15, 2015 9:42 am
by zzt86c
attached is my yum repost
Re: Nagios client agent fails to install
Posted: Thu Oct 15, 2015 4:11 pm
by tgriep
It looks like the EPEL repo and the prereqs didn't installed either.
Run the following to try and get those installed. Login to the server as root and run the following
Code: Select all
cd /tmp/linux-nrpe-agent
rm installed.repos
rm installed.prereqs
./fullinstall
If it errors out, please upload the install.log
Re: Nagios client agent fails to install
Posted: Fri Oct 16, 2015 8:23 am
by zzt86c
as part of the prereqs it is looking for libmcrypt libmcrypt-devel but that package is not available from redhat anymore. I went to
http://mcrypt.sourceforge.net and there is a version there but it looks like it is for windows. Is this still needed I tried your suggestion yum install libmcrypt libmcrypt-devel and it says no package found.
Re: Nagios client agent fails to install
Posted: Fri Oct 16, 2015 11:10 am
by rkennedy
Can you please verify what version of RHEL you are running?
cat /etc/redhat-release
Re: Nagios client agent fails to install
Posted: Mon Oct 19, 2015 3:01 pm
by zzt86c
red hat enterprise Linux computenode release 6.4 (Santiago) from the install log it looks like the libmcrypt-devel is causing the error can you tell me what version of libmcrypt-devel that these scripts are looking for, the install works but I am not getting all data back from the nrpe agent
Re: Nagios client agent fails to install
Posted: Mon Oct 19, 2015 3:47 pm
by rkennedy
You will need to update your repository in order to install libmcrypt / libmcrypt-dev. I believe a manual install is what's causing it to not work properly. Based on your RHEL version, you can do this with the following commands.
Code: Select all
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
sudo rpm -Uvh epel-release-latest-6.noarch.rpm