3.预配置Nagios-plugin插件程序的环境以及指定安装路径

[root@KCentOS5C nagios-plugins-1.4.10]# ./configure --prefix=/usr/local/nagios/

预配置完成的话将会建立Makefile并反馈检测系统环境的结果。

-----------------------------------------------------

config.status: creating po/Makefile

--with-apt-get-command:

--with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s

--with-ping-command: /bin/ping -n -U -w %d -c %d %s

--with-ipv6: yes

--with-mysql: no

--with-openssl: yes

--with-gnutls: no

--with-perl: /usr/bin/perl

--enable-perl-modules: no

--with-cgiurl: /nagios/cgi-bin

--with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin

-----------------------------------------------------

4.编译Nagios-plugin插件程序

  1. [root@KCentOS5C nagios-plugins-1.4.10]# make  
  2.  

5.安装Nagios-plugin插件程序

  1. [root@KCentOS5C nagios-plugins-1.4.10]# make install  
  2.  


相关内容