首页 > 其他 > 详细

spain 提示

时间:2015-07-14 06:17:44      阅读:609      评论:0      收藏:0      [点我收藏+]

cacti 安装spine ,搜集数据速度能提升至少1倍左右

 Time:1.4015 Method:spine

 Time:2.6167 Method:cmd.php

1   ./configure--prefix=/usr/local/spine

2  configure: error: Cannot find MySQL headers.  Use --with-mysql= to specify non-de

对策 安装 yum install mysql-devel   


3  错误configure: error: Cannot find SNMP headers.  Use --with-snmp= to specify non-default path.

对策 yum install net-snmp-devel

make && make install ;echo $?


4  然后修改数据库用户名和密码

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

vi /usr/local/spine/etc/spine.conf


5 测试是否正常
/usr/local/spine/bin/spine

SPINE: Using spine config file [../etc/spine.conf]
SPINE: Version 0.8.8a starting
SPINE: Time: 3.8489 s, Threads: 4, Hosts: 21

(如果提示找不到配置文件,可以加-C选项手动指定配置文件路径)


6 cacti中查看日志

Console -> Utilities -> View Cacti Log File


spain 提示

原文:http://xiochen.blog.51cto.com/2468288/1673941

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!