标签:cacti spine
cacti 安装spine ,搜集数据速度能提升至少1倍左右
Time:1.4015 Method:spine
Time:2.6167 Method:cmd.php1 ./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.confvi /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标签:cacti spine
原文地址:http://xiochen.blog.51cto.com/2468288/1673941