CentOS-6.0下安装配置Cacti-spine

源代码安装spine

1、#yum install -y gcc make net-snmp-devel mysql-devel openssl-devel

2、#wget -t http://www.cacti.net/downloads/spine/cacti-spine-0.8.7g.tar.gz

3、#tar zxvf cacti-spine*

4、#cd cacti-spine*

5、#./configure --prefix=/usr/local/spine

6、#make

7、#make install

8、#cp /usr/local/spine/etc/spine.conf.dist  /etc/spine.conf

9、#vi /etc/spine.conf
      修改下图中的配置
      spine.conf

10、打开cacti设置spine     
      http://localhost/cacti/
      Console -- Cacti Settings -- Paths -- Alternate Poller Path -- Spine Poller File Path:/usr/local/spine/bin/spine
      Console -- Cacti Settings -- Poller -- Poller Type:spine

你可能感兴趣的:(centos,休闲,Spine,cacti-spine,CentOS-6.0)