NRPE installation error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
s.diwakar1
Posts: 44
Joined: Thu Feb 27, 2020 9:45 am

NRPE installation error

Post by s.diwakar1 »

Dear All,

I am getting error while installing NRPE. Please fine below output:

Code: Select all

============================

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, Cloud Linux 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'...

Configuring Repos...

Enabling EPEL repo...

Loaded plugins: refresh-packagekit, rhnplugin, security, ulninfo

There was an error parsing the ULN proxy settings.

ULN support will be disabled.

Setting up Install Process

Error: Cannot retrieve repository metadata (repomd.xml) for repository: ****************************. Please verify its path and try again

epel-release RPM installed OK

Repos configured OK

RESULT=0

Running './1-prereqs'...

Installing prerequisites...

Loaded plugins: refresh-packagekit, rhnplugin, security, ulninfo

There was an error parsing the ULN proxy settings.

ULN support will be disabled.

Setting up Install Process

Error: Cannot retrieve repository metadata (repomd.xml) for repository: *****************************. Please verify its path and try again

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: './1-prereqs'

Can anyone please help me to fix this issue?

Thanks in advance!!!
Thanks & Regards,
Diwakar Sharma
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NRPE installation error

Post by benjaminsmith »

Hi!

What OS are you installing this on, it may not be supported by the script.

If that's the case, the install from source doc would be the recommended approach.

NRPE - How To Install NRPE v4 From Source

--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
s.diwakar1
Posts: 44
Joined: Thu Feb 27, 2020 9:45 am

Re: NRPE installation error

Post by s.diwakar1 »

Hi @benjaminsmith,

Thanks for your reply and sorry for the late response.

OS version is Oracle Linux Server 6.10

I think script is supported on this version. Can you please suggest any solution?
Thanks & Regards,
Diwakar Sharma
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: NRPE installation error

Post by gormank »

Try
yum clean all
yum repolist

If there are errors in the repolist they'll need to be fixed.
Locked