Objective
The objective is to troubleshoot the error occurred when compling the plugins or NRPE.
Symptom
While compling the plugins or NRPE, occur some errors, such as: “checkinf for gcc… no“.
[root@localhost]# ./configure --prefix=/usr/local/opmon -- with-nagios-user=opuser --with-nagios-group=users checking for gcc... no checking for cc... no checking for cl.exe... no
Verifying the information, it should be noted that there is no gcc compiler.
Solution
To resolve, install packages that are requirements.
[root@localhost]# yum install gcc openssl-devel net-snmp-utilis-y