Nagios +仙人掌模块,NRPE监控linux本地信息(四)

  

<强>

<强>

 Nagios +仙人掌模块,NRPE监控linux本地信息(四)

<强>

焦油zxvf nrpe-2.13.tar.gz
  cd nrpe - 2.13
  ./configure前缀=/var/www/html/nagios
  让所有
  使install-plugin 

<强>

 yum - y安装xinetd 

useradd nagios - p * * * * * * * *(写入你准备设置的密码)

 cd/软
  焦油zvxf nagios-plugins-1.4.16.tar.gz
  cd nagios-plugins-1.4.16
  ./configure——prefix=/var/www/html/nagios/使,,使安装



乔恩nagios。nagios/var/www/html/nagios
  乔恩- r nagios。nagios/var/www/html/nagios/libexec 

 cd/软
  焦油zxvf nrpe-2.13.tar.gz
  cd nrpe - 2.13
  ./configure前缀=/var/www/html/nagios
  让所有
  使install-daemon
  使install-daemon-config 

 

<强>

 Nagios +仙人掌模块,NRPE监控linux本地信息(四)

服务xinetd启动

 netstat——| grep 5666 

——输入- s 1.2.3.4/32 udp - p - m udp——dport 161 - j接受   ——输入- s 1.2.3.4/32 tcp - m - p tcp——dport 5666 - j接受

 service iptables重启



Nagios +仙人掌模块,NRPE监控linux本地信息(四)