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
http://s3.运维网.com/wyfs02/M02/12/B1/wKiom1MMTGnT4j_SAACgl5Br40g543.jpg
测试
cd ../bin
./spine
http://s3.运维网.com/wyfs02/M01/12/B1/wKioL1MMTFmjeip1AACYmJ7_UAY583.jpg
登录cacti设置spine路径
ConsoleàsettingsàpathsàSpine Poller File Pathà
/var/www/localhost/htdocs/cacti/plugins/spine/bin/spine
Consoleàsettingsàpolleràpoller typeàspine
页:
[1]