#./configure
#make && make install
#cp /usr/local/spine/etc/spine.conf.dist /etc/spine.conf
#vi /etc/spine.conf
修改为你的Cacti数据库相关信息。DB_User和DB_Pass
从better-cacti-templates-1.1.8.tar.gz的scripts中将ss_get_by_ssh.php拷贝到/var/www/html/cacti/scripts目录下
#/usr/local/spine/bin/spine
SPINE: Using spine config file [/etc/spine.conf]
SPINE: Version 0.8.7i starting
SPINE: Time: 1.1416 s, Threads: 1, Hosts: 4
如果是其他输出如FATAL: Unable to read configuration file! (Spine init)可能配置文件有错误。
如果提示Could not open input file /var/www/html/cacti/scripts/ss_get_by_ssh.php,那从better-cacti-templates-1.1.8.tar.gz的scripts中拷贝上去
a)以admin用户登录到Cacti。
b)从目录菜单中选择设置”Settings”,选择”Paths”选项卡。
c)在”Spine Poller File Path”中输入Spine可执行程序的完整路径,我的是/usr/local/spine/bin/spine,保存设置。
d)选择”Poller”选项卡。
e)在”Poller Type”下拉框设置中,选择”spine”。
本文链接:https://www.kinber.cn/post/1183.html 转载需授权!
推荐本站淘宝优惠价购买喜欢的宝贝: