你好,游客 登录 注册 搜索
背景:
阅读新闻

实战经验:nagios 3.X pnp-0.4.3 配置小记

[日期:2009-04-09] 来源:IT168  作者:刘宇 [字体:大 中 小]

  配置环境:cetnos5 apache2 nagios3  pnp-0.4.3

  安装过程:

  1. compile php with zlib and gd option;

  2. configure and make install the pnp;

  3. modify the nagios.cfg and command.cfg with the process_perfdata and host/service_data option;

  4. rename PNP's templates.dist as templates; 此步骤不是必须的(不过改了也没问题)

  5. rename all PNP's cfg_sample files _sample suffix;

  6.Action_url: action_url,在2.x中,只能通过serviceextinfo来做。在3.x中,可以通过模板来继承,因此在3.x中,配置量会减少很多(特别是太规模部署时)

  本文不详细介绍安装过程:看官方文档

  http://www.pnp4nagios.org/pnp/install

  如果你是用的CentOS5 像zlib gb rrdtool 可以直接使用yum

  方法来源:linuxtone.org  [netseek兄弟]

  1.wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

  2.rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm

  3.yum install ****

linux
相关资讯       cetnos 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款