Nagios client agent fails to install

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
zzt86c
Posts: 6
Joined: Mon Oct 12, 2015 4:32 pm

Nagios client agent fails to install

Post by zzt86c »

Hello I am running the ./fullinstall and the client agent fails to complete. Attached is the install log.
You do not have the required permissions to view the files attached to this post.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Nagios client agent fails to install

Post by jdalrymple »

Code: Select all

checking for SSL headers... configure: error: Cannot find ssl headers

Code: Select all

yum install openssl-devel
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
zzt86c
Posts: 6
Joined: Mon Oct 12, 2015 4:32 pm

Re: Nagios client agent fails to install

Post by zzt86c »

When I try those commands my red hat subscription management reports that there is no package called openssl-devel or libmcrypt available
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios client agent fails to install

Post by rkennedy »

Please post the output of yum repolist.
Former Nagios Employee
zzt86c
Posts: 6
Joined: Mon Oct 12, 2015 4:32 pm

Re: Nagios client agent fails to install

Post by zzt86c »

attached is my yum repost
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios client agent fails to install

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
zzt86c
Posts: 6
Joined: Mon Oct 12, 2015 4:32 pm

Re: Nagios client agent fails to install

Post 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.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios client agent fails to install

Post by rkennedy »

Can you please verify what version of RHEL you are running?
cat /etc/redhat-release
Former Nagios Employee
zzt86c
Posts: 6
Joined: Mon Oct 12, 2015 4:32 pm

Re: Nagios client agent fails to install

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios client agent fails to install

Post 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
Former Nagios Employee
Locked