精华内容
参与话题
问答
  • Cacti

    2020-11-27 20:02:05
    <div><p>Add a check that reads Cacti RRD files and gets metrics from them. It will automatically convert Cacti metric names into datadog-friendly names (for what it knows) and others will be put into ...
  • cacti

    2018-07-13 20:22:45
    Cacti 部署服务器运行环境 (LAMP) yum -y install httpd php mysql-server 打开服务并且设置开机自启 进入mysql mysql&gt; create database cactidb; mysql&gt; grant all on cactidb.* to pli@”...

    Cacti
    部署服务器运行环境 (LAMP)
    yum -y install httpd php mysql-server
    打开服务并且设置开机自启

    进入mysql

    mysql> create database cactidb;
    mysql> grant all on cactidb.* to pli@”localhost” identified by ‘westos’;

    安装cacti

    tar -zxf cacti-0.8.8h.tar.gz -C /var/www/html/

    cd /var/www/html/
    mv cacti-0.8.8h/ cacti
    chmod -R 777 cacti

    mysql -uplj -p123456 cactidb < /var/www/html/cacti/cacti.sql
    mysql -upli -p123456 cactidb

    RRDTool 绘图工具

    yum -y install rrdtool

    snmp 简单网络管理协议

    yum -y install net-snmp*

    访问 172.25.10.5/cacti

    用户名 admim
    初始密码 admim
    (首次登录强制修改登录密码)

    安装高速采集器

    yum -y install mysql-devel

    cd cacti-spine-0.8.8h/
    ./configure –with-mysql
    Make
    make install

    cp /usr/local/spine/bin/spine /usr/bin/
    cp /usr/local/spine/etc/spine.conf.dist /etc/spine.conf

    vim /etc/spine.conf

    33 DB_Host localhost
    34 DB_Database cactidb
    35 DB_User pli
    36 DB_Pass westos
    37 DB_Port 3306

    配置

    监控本机

    vim /etc/snmp/snmpd.conf
    41 com2sec notConfigUser 127.0.0.1 public
    62 access notConfigGroup “” any noauth exact all none
    85 view all included .1 80

    /etc/init. d/snmpd
    Chkcon snmpd on

    展开全文

空空如也

1 2 3 4 5 ... 20
收藏数 7,535
精华内容 3,014
关键字:

cacti