Page 1 of 1

Nagios Agent problem

Posted: Fri May 15, 2015 7:01 pm
by monitoreo1
Please tell me how will be able to resolve this error by installing the nagios agent

===================
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'

Re: Nagios Agent problem

Posted: Sun May 17, 2015 11:57 pm
by Box293
An "install.log" should have been created in the directory that you ran ./fullinstall, please post it here.

I'm assuming you're talking about the linux-nrpe-agent.

What distribution and version of linux are you trying to install this on?

Re: Nagios Agent problem

Posted: Mon May 18, 2015 8:03 am
by monitoreo1
This install.log



Repos already configured - exiting.
Prereqs already installed - skipping...
Users/groups already configured - skipping.
/etc/services already updated - skipping.
Firewall rules already configured - skipping.
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.336s
user 0m0.168s
sys 0m0.101s
make: *** No rule to make target `clean'. Stop.

real 0m0.003s
user 0m0.002s
sys 0m0.000s
make: *** No targets specified and no makefile found. Stop.

real 0m0.002s
user 0m0.002s
sys 0m0.000s
make: *** No rule to make target `install'. Stop.

real 0m0.004s
user 0m0.001s
sys 0m0.003s
Subcomponents installation failed - exiting




We are using:
Nagios XI Version : 2014R2.6
x86_64
Red Hat Enterprise Linux Server release 6.6
Gnome is not installed

Re: Nagios Agent problem

Posted: Mon May 18, 2015 9:42 am
by ssax
Try installing these first:

Code: Select all

yum install gcc glibc glibc-common openssl-devel perl