cacti-spine-0.8.8b.tar.gz 下载见
具体下载目录在 /2013年资料/11月/15日/RHEL6.4环境Cacti中spine安装
-----------------------------------分割线-----------------------------------
#tar zxf cacti-spine-0.8.8b.tar.gz
#cd cacti-spine-0.8.8b
#sh bootstrap //所要支持的依赖包net-snmp-devel mysql-devel openssl-devel dos2unix autoconf automake binutils libtool gcc cpp glibc-headers kernel-headers glibc-devel
#./configure //default安装路径为/use/local/spine
#make
#make instal
#cd /usr/loca/spine/etc
#cp spine.conf.dist spine.conf
#vi spine.conf
DB_Host localhost
DB_Database cacti
DB_User cacti
DB_Pass cacti
DB_Port 3306
DB_PreG 1
#/usr/local/spine/bin/spine //此时在spine.conf目录下,执行此命令成功,显示如下
SPINE: Using spine config file [/etc/spine.conf]
SPINE: Version 0.8.8b starting
SPINE: Time: 0.1483 s, Threads: 1, Hosts: 2
#cd //退出当前目录,返回到家目录
#/usr/local/spine/bin/spine //此时再执行该命令,会显示如下错误,找不到配置文件,则需要将spine.conf移到/etc目录中,再次执行则成功 10/12/2013 01:17:02 AM - SPINE: Poller[0] FATAL: Unable to read configuration file! (Spine init)
接下来配置cacti图形工具:
console->Setting->Paths设置spine的路径
console->Setting->Poller将默认轮循工具(cmd.php)设置为spine
现在就可以以spine为轮循工具监控系统信息了
Cacti 的详细介绍:请点这里
Cacti 的下载地址:请点这里
相关阅读:
RHEL6.4中使用Cacti+Spine监控主机实现发送邮件报警
CentOS 5.5完整安装Cacti+Spine