dinggela 发表于 2019-1-9 11:11:58

cacti配置

  用snmp服务获取数据,然后用rrdtool储存和更新数据,当用户需要查看数据的时候用rrdtool生成图表呈现给用户

  

  yum install -y pango-devel perl-devel net-snmp-devel net-snmp-utils-devel

  

  rrdtool-1.4.5.tar.gz      #添加环境变量 export PATH=$PATH:/services/rrdtool/bin检测rrdtool是否成功 rrdtool

  cacti-1.1.12.tar.gz
  cacti-spine-0.8.8a.tar.gz
  

  ERROR: Your Cacti database login account does not have access to the MySQL TimeZone database. Please provide the Cacti database account "select" access to the "time_zone_name" table in the "mysql" database, and populate MySQL's
  TimeZone information before proceeding.

  

GRANT SELECT ON mysql.time_zone_name TO cacti@localhost IDENTIFIED BY 'cacti'mysql_tzinfo_to_sql /usr/share/zoneinfo/ | mysql -u root -p mysql  

  定时任务
  */5 * * * * /usr/bin/php /usr/nginx/html/cacti/poller.php >>/tmp/cacti_rrdtoo.log 2>&1




页: [1]
查看完整版本: cacti配置