[root@SLSVARC ~]# yum repolist
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
touch installed.repos
[root@SLSVARC linux-nrpe-agent]# touch installed.prereqs
[root@SLSVARC linux-nrpe-agent]# ./fullinstall
============================
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'...
Prereqs already installed - skipping...
RESULT=0
Running './2-usersgroups'...
Adding users and groups...
groupadd: group 'nagios' already exists
useradd: user 'nagios' already exists
Users and groups added OK
RESULT=0
Running './3-services'...
/etc/services updated
RESULT=0
Running './4-firewall'...
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules: [ OK ]
Firewall rules updated OK
RESULT=0
Running './A-subcomponents'...
SUB
NAGIOSPLUGINS
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
real 0m1.273s
user 0m0.118s
sys 0m0.073s
make: *** No rule to make target `clean'. Stop.
real 0m0.002s
user 0m0.002s
sys 0m0.000s
make: *** No targets specified and no makefile found. Stop.
real 0m0.002s
user 0m0.001s
sys 0m0.000s
make: *** No rule to make target `install'. Stop.
real 0m0.002s
user 0m0.002s
sys 0m0.001s
Subcomponents installation failed - exiting
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: './A-subcomponents'
[root@SLSVARC linux-nrpe-agent]# cat ./install.log
Nagios Linux Agent Installation Log
===================================
DATE: Mon Feb 29 14:33:53 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Configuring Repos...
epel-release RPM installed OK
Repos configured OK
Installing prerequisites...
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Nagios Linux Agent Installation Log
===================================
DATE: Mon Feb 29 14:41:54 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Repos already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Nagios Linux Agent Installation Log
===================================
DATE: Mon Feb 29 14:42:29 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Repos already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Could not retrieve mirrorlist
http://mirrorlist.centos.org/?release=6 ... 64&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Nagios Linux Agent Installation Log
===================================
DATE: Mon Feb 29 14:53:19 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Repos already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Nagios Linux Agent Installation Log
===================================
DATE: Mon Feb 29 14:54:05 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Repos already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Nagios Linux Agent Installation Log
===================================
DATE: Mon Feb 29 15:14:48 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Repos already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Nagios Linux Agent Installation Log
===================================
DATE: Mon Feb 29 15:16:30 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Repos already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Nagios Linux Agent Installation Log
===================================
DATE: Mon Feb 29 15:18:45 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Repos already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Nagios Linux Agent Installation Log
===================================
DATE: Mon Feb 29 15:19:08 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Repos already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Nagios Linux Agent Installation Log
===================================
DATE: Mon Feb 29 15:41:28 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Repos already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Nagios Linux Agent Installation Log
===================================
DATE: Mon Feb 29 15:44:12 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Repos already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Nagios Linux Agent Installation Log
===================================
DATE: Mon Feb 29 15:59:06 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Repos already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Nagios Linux Agent Installation Log
===================================
DATE: Mon Feb 29 15:59:27 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Repos already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Nagios Linux Agent Installation Log
===================================
DATE: Mon Feb 29 16:00:07 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Repos already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Nagios Linux Agent Installation Log
===================================
DATE: Mon Feb 29 14:03:14 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Repos already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Nagios Linux Agent Installation Log
===================================
DATE: Mon Feb 29 14:09:40 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Repos already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Nagios Linux Agent Installation Log
===================================
DATE: Mon Feb 29 14:34:01 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Repos already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Nagios Linux Agent Installation Log
===================================
DATE: Mon Feb 29 14:52:04 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Repos already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Nagios Linux Agent Installation Log
===================================
DATE: Mon Feb 29 15:12:36 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Repos already configured - exiting.
Installing prerequisites...
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Nagios Linux Agent Installation Log
===================================
DATE: Tue Mar 1 08:51:14 CET 2016
DISTRO INFO:
CentOS
6.3
x86_64
Repos already configured - exiting.
Prereqs already installed - skipping...
Adding users and groups...
groupadd: group 'nagios' already exists
useradd: user 'nagios' already exists
Users and groups added OK
/etc/services updated
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules: [ OK ]
Firewall rules updated OK
SUB
NAGIOSPLUGINS
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/tmp/linux-nrpe-agent/subcomponents/nagiosplugins/nagios-plugins-2.0.3':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
real 0m1.273s
user 0m0.118s
sys 0m0.073s
make: *** No rule to make target `clean'. Stop.
real 0m0.002s
user 0m0.002s
sys 0m0.000s
make: *** No targets specified and no makefile found. Stop.
real 0m0.002s
user 0m0.001s
sys 0m0.000s
make: *** No rule to make target `install'. Stop.
real 0m0.002s
user 0m0.002s
sys 0m0.001s
Subcomponents installation failed - exiting
[root@SLSVARC linux-nrpe-agent]#
I have tried to install the nrpe-2.13-nagios_plugins-1.4.15-CentOS_6-2.13.1_x86_64.rpm from OP5 site
https://www.op5.com/download-op5-monitor/agents/
But get follow error
rpm -Uvh nrpe-2.13-nagios_plugins-1.4.15-CentOS_6-2.13.1_x86_64.rpm
error: Failed dependencies:
mysql is needed by nrpe_nagiosplugins-2.13.1-release.x86_64
postgresql is needed by nrpe_nagiosplugins-2.13.1-release.x86_64