Collectd是转为周期性收集统计数据和存储而设计的一种后台进程软件
安装EPEL源:
Su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm'
安装collectd
Yum install collectd
服务器配置collectd.conf
BaseDir
PIDFile
PluginDir
TypesDB
<Plugin network>
#
#
#
</Plugin>
LoadPlugin exec
<Plugin network>
#
#
#
#
#
</Plugin>
<Plugin exec>
</Plugin>
Service collectd start
启动后,就可以在master的机器
上面看到相应的rrd文件了,以CPU为例
读取文件
绘图
Rrd文件的前端绘图可以选kcollectd、drraw、Collectd-web、CollectGraph、Visage等进行画图