原文见:http://sharadchhetri.com/2013/03/02/how-to-install-and-configure-nagios-nrpe-in-centos-and-red-hat/
#安装nrperpm -ivh dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpmyum install -y nrpe nagios-plugins-all openssl#修改配置文件,先备份是好习惯vi /etc/nagios/nrpe.cfg#找到allowed_hosts=127.0.0.1,在后面加上server端的IP,这样server端才能监控这台机器,比如我加的:allowed_hosts=127.0.0.1,192.168.1.103#开机自启chkconfig --level 3 on#启动/etc/init.d/nrpe start
参考此文配置客户端: