标签: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 * * * * /services/php/bin/php /services/nginx/html/cacti/poller.php >>/tmp/cacti_rrdtoo.log 2>&1
标签:cacti
原文地址:http://51xyh.blog.51cto.com/5779460/1945939