nixCraft Linux / UNIX / Shell Scripting Forum

nixCraft

Linux / UNIX Tech Support Forum

Configuring nagios nrpe

This is a discussion on Configuring nagios nrpe within the Linux software forums, part of the Linux Getting Started category; I'm now using my laptop as the monitoring host for nagios nrpe. The distro is PCLinuxOS. I followed the NRPE ...


Register free or login to your account to remove all advertisements.

Go Back   nixCraft Linux / UNIX / Shell Scripting Forum > Linux Getting Started > Linux software

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

Thread Tools Display Modes
  #1 (permalink)  
Old 22nd December 2009, 12:00 PM
Member
 
Join Date: Oct 2009
OS: Centos 5.3
Posts: 36
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Ana45 is on a distinguished road
Default Configuring nagios nrpe

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
Reply With Quote
  #2 (permalink)  
Old 22nd December 2009, 07:02 PM
jaysunn's Avatar
Contributors
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: Red Hat Linux
Scripting language: bash awk sed
Posts: 793
Thanks: 116
Thanked 107 Times in 97 Posts
Rep Power: 14
jaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud of
Default

Quote:
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
This seems like you do not have a gcc compiler in place. Are there any more details in the config.log that the above message references?

Jaysunn
__________________
Have a look at what I have been working on
http://www.shellasaurus.com
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Problems with nrpe (nagios) Ana45 CentOS / RHEL / Fedora 5 30th December 2009 04:35 PM
Nagios error Rahul.Kolan Linux software 4 13th November 2009 04:13 PM
how do i configure nagios-1.2-2.0.rh9.rf.i386.rpm & nagios-plugins-1.3.1-10.rh to RH9 fadu Linux software 1 31st August 2009 05:53 AM
Regarding NAGIOS kumarat9pm Networking, Firewalls and Security 2 6th August 2009 11:19 AM
Nagios on tomcat? Vince-0 Linux software 0 22nd April 2008 01:30 PM


All times are GMT +5.5. The time now is 09:04 AM.


Powered by vBulletin® Version 3.8.6 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40