centos 6.x版本安装nagios监控错误解决

来源: http://www.weiruoyu.cn/?p=272

安装教程是:http://yahoon.blog.51cto.com/13184/41893

0.安装之前先安装#yum install gcc

1.checking for a BSD-compatible install... /usr/bin/install -c


checking whether build environment is sane... configure: error: newly created file is older than distributed files!

Check your system clock

解决办法:#/usr/sbin/ntpdate asia.pool.ntp.org>>/var/log/ntpdate.log



2.安装nrpe,编译的时候提示以下信息

checking for SSL headers... configure: error: Cannot find ssl headers


原因是缺少openssl-devel包,

[root@localhost nrpe-2.12]# yum -y install openssl-devel

3.[root@localhost nrpe-2.12]# service xinetd restart

xinetd: 未被识别的服务

解决办法:

[root@localhost nrpe-2.12]# yum -y install xinetd*

来源: http://www.weiruoyu.cn/?p=272