cacti安装和plugin安装

运维 系统运维
在认识cacti和plugin的同时,我们还的学会安装他们,下面介绍下他们的安装方法!

cacti安装和plugin安装如下!

  System:centos

  kernel: 2.6.14

  mysql: 5.0

  nginx: 0.8

  php fastcgi: 5.2.8

  rrdtool: 1.3 目前只支持1.3

  download:

  http://www.cacti.net/downloads/cacti-0.8.7e.tar.gz

  http://www.cacti.net/downloads/spine/cacti-spine-0.8.7e.tar.gz

  wget http://mirror.cactiusers.org/downloads/plugins/cacti-plugin-0.8.7e-PA-v2...

  Install:

  1、yum -y install net-snmp net-snmp-devel openssl-devel rrdtool

  2、mysql setting

  mysql> create database cacti;

  Query OK, 1 row affected (0.00 sec)

  mysql> GRANT ALL PRIVILEGES ON cacti.* TO 'username'@'localhost' IDENTIFIED BY 'passwd'

  WITH GRANT OPTION;

  Query OK, 0 rows affected (0.00 sec)

  mysql> flush privileges;

  Query OK, 0 rows affected (0.00 sec)

  3、net-snmp

  #more /etc/snmpd/snmpd.conf

  com2sec local 127.0.0.1/32 public

  com2sec local 192.168.1.0/24 public

  group MyROGroup v1 local

  group MyROGroup v2c local

  group MyROGroup usm local

  view all included .1 80

  view systemview included .1.3.6.1.2.1.1

  view systemview included .1.3.6.1.2.1.25.1.1

  access MyROGroup "" any noauth exact all none none

  view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc

  syslocation (/etc/snmp/snmpd.conf)

  syscontact Me liuyu105@gmail.com

  snmpwalk -c public -v 2c localhost if

#p#

  4、tar zxvf cacti-0.8.7e.tar.gz

  cp -r cacti-0.8.7e /data/wwwroot/cacti

  #mysql -u username -p passwd cacti < cacti.sql

  #chown -R cacti rra/ log/

  #vi cacti/include/config.php

  $database_type = “mysql”;

  $database_default = “cacti”;

  $database_hostname = “localhost”;

  $database_username = “username”;

  $database_password = “passwd”;

通过代码的描述,我们知道了cacti安装和plugin安装需要哪些步骤,希望大家能学会!

【编辑推荐】

  1. Centos下Cacti快速shell安装程序精简版
  2. CACTI 网络流量监控工具
  3. Cacti监控实例
  4. Cacti的插件安装和使用
  5. Cisco路由器或交换机上配置SNMP
  6. cacti客户端的配置(windows linux 交换机)
  7. cacti 汇总流量图-将数据合并后作图
责任编辑:赵鹏 来源: 网络转载
相关推荐

2011-03-31 09:23:02

Cacti插件

2011-04-02 14:21:51

Cacti安装

2011-03-29 15:52:38

Cacti配置

2011-03-25 15:01:45

Cacti安装

2011-03-29 15:22:31

WindowsCacti

2011-03-31 15:06:12

lampcacti

2010-06-13 17:19:42

Cacti配置

2011-04-02 16:08:02

2011-04-06 10:03:08

2011-03-25 13:40:28

Cacti安装配置

2011-03-29 09:08:47

2011-03-25 15:01:29

Cacti安装

2011-04-06 10:57:09

Cacti插件安装

2011-04-02 15:26:51

Cacti安装

2011-03-25 15:01:44

Cacti安装

2010-05-26 13:14:23

cacti 监控lin

2010-06-07 15:12:12

Cacti配置

2011-03-25 14:17:48

Ubuntu安装Cacti

2011-03-31 15:51:51

cacti

2014-01-16 14:20:38

CactiCacti监控
点赞
收藏

51CTO技术栈公众号