nixCraft Linux 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 existing account and remove all advertisements.


Go Back   nixCraft Linux 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

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-22-2009, 01:00 PM
Member
User
 
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 12-22-2009, 08:02 PM
jaysunn's Avatar
Powered By Linux
User
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: RHEL - OSX
Posts: 592
Thanks: 61
Thanked 75 Times in 68 Posts
Rep Power: 9
jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold
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 12-30-2009 05:35 PM
Nagios error Rahul.Kolan Linux software 4 11-13-2009 05: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 08-31-2009 06:53 AM
Regarding NAGIOS kumarat9pm Networking, Firewalls and Security 2 08-06-2009 12:19 PM
Nagios on tomcat? Vince-0 Linux software 0 04-22-2008 02:30 PM


All times are GMT +5.5. The time now is 07:03 PM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 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