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.

OS => RHEL6
nrpe bundle => http://assets.nagios.com/downloads/nagi ... ent.tar.gz
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: nrpe agent installation

Post by ssax »

Usually this is related to a proxy, do you have a proxy or some other filter that is blocking it?

Follow the guide below for adding the proxy to your yum.conf:

https://support.nagios.com/wiki/index.p ... th_Proxies
avijit_bhardwaj
Posts: 17
Joined: Wed Feb 25, 2015 11:56 pm

Re: nrpe agent installation

Post by avijit_bhardwaj »

got it fixed
# cat /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metal ... =$basearch
failovermethod=priority
enabled=0----previously it was 1(disabled) so I made as 0(Enabled)
gpgcheck=1

Thanks for the support
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: nrpe agent installation

Post by lmiltchev »

Great! In this case I am marking this as "resolved" and locking this thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked