1. 创建用户 # useradd -M -s /sbin/nologin icinga 2. 安装nagios-cn-plugin插件 # ./configure -prefix=/usr/local/icinga/-with-nagios-user=icinga -with-nagios-group=icinga # make # make install 3. 安装nrpe # ./configure make all ; make install ; makeinstall-plugin ; make install-init ; make install-daemon-config # make all # make install # make install-plugin # make install-init # make install-daemon-config 4. 启动nrpe # chkconfigicinga-nrpe on
# service icinga-nrpe start
|