Nagios Agent problem

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
monitoreo1
Posts: 124
Joined: Wed Feb 18, 2015 10:41 am

Nagios Agent problem

Post 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'
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios Agent problem

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
monitoreo1
Posts: 124
Joined: Wed Feb 18, 2015 10:41 am

Re: Nagios Agent problem

Post 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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios Agent problem

Post by ssax »

Try installing these first:

Code: Select all

yum install gcc glibc glibc-common openssl-devel perl
Locked