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
测试 cd ../bin ./spine
登录cacti设置spine路径 ConsoleàsettingsàpathsàSpine Poller File Pathà /var/www/localhost/htdocs/cacti/plugins/spine/bin/spine Consoleàsettingsàpolleràpoller typeàspine