error install nrpe agent

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
louisy
Posts: 9
Joined: Thu Aug 16, 2018 9:01 pm

error install nrpe agent

Post by louisy »

I have an issue when installing the nrpe agent in Linux, and I have upload install.log as attached.
Basically below are the step to perform the installation and I do rename the repo file and try again but it still no success.

Unpack the installation archive you just downloaded:
tar xzf linux-nrpe-agent.tar.gz
Enter the newly created agent subdirectory:
./fullinstall


[root@host yum.repos.d]# ll
total 12
-rw-r--r-- 1 root root 951 Oct 3 2017 epel.repoXXX
-rw-r--r-- 1 root root 1050 Oct 3 2017 epel-testing.repoXXX
-rw-r--r-- 1 root root 358 Sep 13 16:23 redhat.repo
[root@host yum.repos.d]# mv redhat.repo redhat.repoXXX
[root@host yum.repos.d]#
[root@host yum.repos.d]#
[root@host yum.repos.d]#
[root@host yum.repos.d]# ll
total 12
-rw-r--r-- 1 root root 951 Oct 3 2017 epel.repoXXX
-rw-r--r-- 1 root root 1050 Oct 3 2017 epel-testing.repoXXX
-rw-r--r-- 1 root root 358 Sep 13 16:23 redhat.repoXXX
[root@host yum.repos.d]# cd /tmp
[root@host tmp]# cd
.font-unix/ .ICE-unix/ linux-nrpe-agent/ .Test-unix/ .X11-unix/ .XIM-unix/
[root@host tmp]# ls
linux-nrpe-agent linux-nrpe-agent.tar.gz
[root@host tmp]# cd linux-nrpe-agent
[root@host linux-nrpe-agent]# ./fullinstall
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'...
Installing prerequisites...
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
To enable Red Hat Subscription Management repositories:
subscription-manager repos --enable <repo>
To enable custom repositories:
yum-config-manager --enable <repo>
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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: error install nrpe agent

Post by lmiltchev »

Is this system registered with RedHat? Can you install packages and update the system?

Run:

Code: Select all

yum update
and show the output.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked