I'm now using my laptop as the monitoring host for nagios nrpe. The distro is PCLinuxOS.
I followed the NRPE user guide to install & configure the NRPE plugin into my laptop. When I type
./configure --enable-ssl in the commandline, this is what I get :
Code:
[root@localhost nrpe-2.12]# ./configure --enable-ssl
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
The step after that is to type
make all at the commandline. This is the output :
Code:
[root@localhost nrpe-2.12]# make all
make: *** No rule to make target `all'. Stop.
make all has to work for me to proceed with
make install-plugin