Nagios 插件的安装 (二)


转载时请务必以超链接形式标明文章 原始出处和作者信息及本版权声明
链接:http://www.dbasky.net/archives/2009/01/nagios.html
1:新建nagios用户
 useradd nagios
2:从nagios主页下载了最新的nagios官方插件,我下的是nagios-plugins-1.4.10.tar.gz版
3:进行文件的解压缩,make  make install
  tar -zxvf nagios-plugins-1.4.10.tar.gz
  cd nagios-plugins-1.4.10
  ./configure --prefix=/usr/local/nagios --enable-redhat-pthread-workaround (在redhat系统上面安装可能出现configure时到这里checking for redhat spopen problem...就不动了所以需要在configure时再加上这个 --enable-redhat-pthread-workaround )
4:修改下Nagios的权限:
chown -R nagios.nagios /usr/local/nagios/ 

发表评论

Close