免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2524 | 回复: 0
打印 上一主题 下一主题

安装nrpe不成功 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-11-19 12:58 |只看该作者 |倒序浏览
[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 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP