系统环境:Ubuntu 12.04
tar xzf nagios-plugins-1.4.15.tar.gz cd nagios-plugins-1.4.15
编译并安装插件
./configure --prefix=/usr/local/nagios/ --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-group=nagios make make install