Chinaunix首页 | 论坛 | 博客
  • 博客访问: 216435
  • 博文数量: 39
  • 博客积分: 945
  • 博客等级: 准尉
  • 技术积分: 532
  • 用 户 组: 普通用户
  • 注册时间: 2012-05-04 17:25
文章分类

全部博文(39)

文章存档

2012年(39)

我的朋友

分类: 系统运维

2012-05-07 11:21:22


   网上有好多安装cacti的资料。这里只介绍下yum安装cacti的部分

 1 安装lamp环境(略)

 2 安装cacti和cacti-spine

点击(此处)折叠或打开

  1. #get source
  2. [root@cacti ~]#wget -c http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
  3. [root@cacti ~]#rpm -i rpmforge-release-0.5.2-2.el5.rf.i386.rpm
  4. #update yum source
  5. [root@cacti ~]#yum update
  6. #install cacti and cacti-spine
  7. [root@cacti ~]#yum install cacti cacti-spine
3 数据库信息(略)
4 网页设置(略)

5 snmp文件内容

点击(此处)折叠或打开

  1.  #[root@cacti ~]yum install net-snmp-*
  2.  #[root@cacti ~]more /etc/snmp/snmpd.conf
  3.  com2sec notConfigUser default public
  4.  group notConfigGroup v1 notConfigUser
  5.  group notConfigGroup v2c notConfigUser
  6.  view systemview included .1
  7.  view systemview included .1.3.6.1.2.1.1
  8.  view systemview included .1.3.6.1.2.1.25.1.1
  9.  access notConfigGroup "" any noauth exact all none none
  10.  view all included .1 80
  11.  access MyROGroup "" any noauth exact all none none
  12.  access MyRWGroup "" any noauth exact all none none
  13.  pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat

阅读(754) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~