码迷,mamicode.com
首页 > 其他好文 > 详细

spain 提示

时间:2015-07-14 06:18:42      阅读:142      评论:0      收藏:0      [点我收藏+]

标签:cacti spine

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 提示

标签:cacti spine

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!