define service{
use generic-service
host_name nrpehost
service_description Total procs
check_command check_nrpe!check_total_procs
}
[root@Nagios ~]# grep nrpehost /etc/nagios/nagios.cfg
cfg_file=/usr/local/nagios/etc/objects/nrpehost.cfg
[root@Nagios ~]# /etc/init.d/nagios restart
Nagios报错NRPE: Command 'check_heartbeat' not defined
如何用Nagios远程执行插件(NRPE)来检测服务器内存使用率
在RHEL5.3上配置基本的Nagios系统(使用Nagios-3.1.2)
CentOS 5.5+Nginx+Nagios监控端和被控端安装配置指南
Ubuntu 13.10 Server 安装 Nagios Core 网络监控运用