环境:CentOS6.8+spine 0.8.8h
下载:
http://www.cacti.net/downloads/spine/cacti-spine-0.8.8h.tar.gz
//安装依赖包
yum install gcc net-snmp-devel mysql-devel dos2unix autoconf automake libtool
//解压
tar zxvf cacti-spine-0.8.8h.tar.gz
//进入目录
cd cacti-spine-0.8.8h
//安装
sh bootstrap
./configure --prefix=/usr/local/spine
make&make install
//检查
ln -s /usr/local/spine/bin/* /usr/bin
spine -v
//配置
cp /usr/local/spine/etc/spine.conf.dist /etc/spine.conf
vi spine.conf
DB_Host localhost DB_Database cacti DB_User cactiuser DB_Pass cactiuser DB_Port 3306
接下来配置cacti图形工具:
console->Setting->Paths设置spine的路径/usr/local/spine/bin/spine
console->Setting->Poller将默认轮循工具(cmd.php)设置为spine
现在就可以以spine为轮循工具监控系统信息了
转载于:https://blog.51cto.com/hnxsh/1787401