天天看点

cacti关于spine轮询的设置

spine插件介绍

考虑到生产环境机器的不断增加,系统自带的cmd.php轮询可能没法在设定的 

时间完成所有机器的采集,可以将采集模式修改为更快的spine轮询,修改方法如

spine插件的安装

下载cacti-spine-0.8.8a.tar.gz到/tmp目录

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

cd cacti-spine-0.8.8a

mkdir /var/www/localhost/htdocs/cacti/plugins/spine

./configure –prefix=/var/www/localhost/htdocs/cacti/plugins/spine

make 

make install

修改配置文件

cd /var/www/localhost//htdocs/cacti/plugins/spine/etc

cp spine.conf.dist spine.conf

cat spine.conf

<a href="http://s3.51cto.com/wyfs02/M02/12/B1/wKiom1MMTGnT4j_SAACgl5Br40g543.jpg" target="_blank"></a>

测试

cd ../bin

./spine

<a href="http://s3.51cto.com/wyfs02/M01/12/B1/wKioL1MMTFmjeip1AACYmJ7_UAY583.jpg" target="_blank"></a>

登录cacti设置spine路径

ConsoleàsettingsàpathsàSpine Poller File Pathà

/var/www/localhost/htdocs/cacti/plugins/spine/bin/spine

Consoleàsettingsàpolleràpoller typeàspine

本文转自 chengchow 51CTO博客,原文链接:http://blog.51cto.com/chengchow/1363361,如需转载请自行联系原作者

继续阅读