Page 1 of 1

nrpe agent installation

Posted: Tue Jul 28, 2015 4:08 am
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

Re: nrpe agent installation

Posted: Tue Jul 28, 2015 9:02 am
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

Re: nrpe agent installation

Posted: Wed Jul 29, 2015 7:31 am
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

Re: nrpe agent installation

Posted: Wed Jul 29, 2015 8:32 am
by lmiltchev
Great! In this case I am marking this as "resolved" and locking this thread.