ubuntu7.10 server nagios3.03
6.打开IE访问http://localhost/nagios 安装nrpe-2.12. 在安装之前,先发一张图来说明它的设计概括图: 1. 被监控端安装 apt-get install xinetd tar zxvf nrpe-2.12.tar.gz cd nrpe-2.12 ./configure make all make install-plugin make install-daemon make install-daemon-config make install-xinetd vim /etc/xinetd.d/nrpe 修改 only_from = 127.0.0.1 <nagios-ip-address> vim /etc/services 再最后添加 nrpe 5666/tcp #NRPE 重启 xinetd 服务 /etc/init.d/xinetd restart 查看服务是否启动 netstat -an | grep nrpe tcp 0 0 *:nrpe *:* LISTEN 执行/usr/local/nagios/libexec/check_nrpe -H localhost NRPE v2.12 返回版本信息说明OK! vim /usr/local/nagios/etc/nrpe.cfg 可以添加你需要监控的服务! (编辑:云计算网_泰州站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |