nrpe agent installation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
avijit_bhardwaj
Posts: 17
Joined: Wed Feb 25, 2015 11:56 pm

nrpe agent installation

Post by avijit_bhardwaj »

Hi,
Trying to install agent on linux machines getting below error:

Loaded plugins: downloadonly, product-id, rhnplugin, security, subscription-
: manager
This system is receiving updates from RHN Classic or RHN Satellite.
Repository 'rhel-cd' is missing name in configuration, using id
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
epel-release RPM installed OK
Repos configured OK
Installing prerequisites...
Loaded plugins: downloadonly, product-id, rhnplugin, security, subscription-
: manager
This system is receiving updates from RHN Classic or RHN Satellite.
Repository 'rhel-cd' is missing name in configuration, using id
Setting up Install Process
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again

Can anyone let me know how to get it fixed.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: nrpe agent installation

Post by jolson »

What version of Red Hat is your linux box running?

Code: Select all

cat /etc/*release*

Code: Select all

uname -a
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
avijit_bhardwaj
Posts: 17
Joined: Wed Feb 25, 2015 11:56 pm

Re: nrpe agent installation

Post by avijit_bhardwaj »

2.6.32-504.el6.x86_64
Red Hat Enterprise Linux Server release 6.6 (Santiago)
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: nrpe agent installation

Post by jolson »

Let's see a list of your repositories:

Code: Select all

yum repolist all
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
I found this stack exchange post regarding the above error string: https://stackoverflow.com/questions/267 ... y-its-path

Try the following:
You just needed to update ca-certificates package. Before that just disable all repos with https that are failing. That's why sollution with commenting mirrorlist or using http instead https would work also.

For example if you need to disable only epel repo:

yum --disablerepo=epel -y update ca-certificates

This will also help wget, curl, and anything else that uses SSL certificates.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked