Nagios Plugins issue

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
hysabcz
Posts: 2
Joined: Wed Sep 23, 2020 9:28 am

Nagios Plugins issue

Post by hysabcz »

Hi Team,

I need some help while installing Nagios core plugins on of the Linux Machine.

When i tried to configure i am getting below error. Can any one help on this?

[root@hostname nagios-plugins-2.2.1]# ./configure
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk adobe audition
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 `/opt/backup/nagios-plugins-2.2.1':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
[root@hostname nagios-plugins-2.2.1]


Even I tired to install prerequisites by using below yum command, but still getting same error.


[root@hostname nagios-plugins-2.2.1]# yum install -y gcc glibc glibc-common make gettext automake autoconf wget openssl-devel net-snmp net-snmp-utils epel-release
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Loading mirror speeds from cached hostfile
No package gcc available.
No package automake available.
No package autoconf available.
Package 1:net-snmp-5.7.2-48.el7_8.1.x86_64 already installed and latest version
Package 1:net-snmp-utils-5.7.2-48.el7_8.1.x86_64 already installed and latest version
No package epel-release available.
Nothing to do
[root@hostname nagios-plugins-2.2.1]# cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)
[root@lpdvjfsql01 nagios-plugins-2.2.1]#
Last edited by hysabcz on Sat Oct 03, 2020 6:31 am, edited 1 time in total.
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Nagios Plugins issue

Post by gormank »

I think this message is the important one:
No package epel-release available.
You or your admins need to enable the elel package so yum can fine the repos.
Locked