- 论坛徽章:
- 0
|
[root@localhost nrpe-2.5.2]# ./configure --prefix=/usr/local/nrpe --with-kerberos-inc=/usr/include/
此处省略部分check for 内容
*** Generating DH Parameters for SSL/TLS ***
Generating DH parameters, 512 bit long safe prime, generator 2
This is going to take a long time
....+.........+...........+................................................+........+......................+...............+......+.+.+...................................................++*++*++*++*++*++*
checking for Kerberos include files... found Kerberos include files in /usr/include/
checking for perl... /usr/bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating subst
config.status: creating include/config.h
*** Configuration summary for nrpe 2.5.2 06-30-2006 ***:
General Options:
-------------------------
NRPE port: 5666
NRPE user: nagios
NRPE group: nagios
Review the options above for accuracy. If they look okay,
type 'make all' to compile the NRPE daemon and client.
[root@localhost nrpe-2.5.2]# make all
cd ./src/; make ; cd ..
make[1]: Entering directory `/root/nagios/nrpe-2.5.2/src'
gcc -g -O2 -I/usr/include/openssl -I/usr/include -I/usr/include/ -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/lib -lssl -lcrypto -lnsl -lwrap
gcc -g -O2 -I/usr/include/openssl -I/usr/include -I/usr/include/ -DHAVE_CONFIG_H -o check_nrpe check_nrpe.c utils.c -L/usr/lib -lssl -lcrypto -lnsl
make[1]: Leaving directory `/root/nagios/nrpe-2.5.2/src'
*** Compile finished ***
If the NRPE daemon and client compiled without any errors, you
can continue with installation. The NRPE daemon and client
binaries are located in the src/ subdirectory.
** If this is your monitoring host **
- Copy the check_nrpe client to the directory that
contains your Nagios plugins.
- Create a command definition in your Nagios config
file for the NRPE client. See the README file for
more info on doing this.
** If this host will be running the NRPE daemon **
- Copy the nrpe daemon to /usr/sbin, /usr/local/nagios
or wherever you feel it fits best.
- Copy the sample nrpe.cfg config file to /etc,
/usr/local/nagios or wherever you feel it fits best.
- Modify the /etc/services file and configure NRPE to
run under inetd, xinetd, or as a standalone daemon.
See the README file for more info on doing this.
[root@localhost nrpe-2.5.2]# make install
make: *** No rule to make target `install'. Stop.
如何解决?谢谢
[ 本帖最后由 lys0212linux 于 2009-11-19 13:33 编辑 ] |
|