Page 1 of 1

Issue with Nagios Plugins

Posted: Mon Aug 10, 2020 11:52 pm
by sandeep027
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
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]#

Re: Issue with Nagios Plugins

Posted: Wed Aug 12, 2020 11:00 am
by sandeep027
Hi, Could any one help on this?