Installing Pre-Requisites Note that RRDTool 1.0.x versions included all dependancies, but 1.2.x versions require you to install these dependancies before installing RRDTool. For RedHat 9, you'll need to install the following RPMs from the RH9 CD: lib
转自:http://www.jianshu.com/p/b925b1584ab2 RRDTool是一套监测工具,可用于存储和展示被监测对象随时间的变化情况.比如,我们在 Windows 电脑上常见的内存和 CPU 使用情况. RRD 全称是 Round Robin Database ,即「环型数据库」.顾名思义,它是一种循环使用存储空间的数据库,适用于存储和时间序列相关的数据. RRD 数据库在被创建的时候就已经定义好了大小,当空间存储满了以后,又从头开始覆盖旧的数据,所以和其他线性增长的数据库
在updatev rrdfile时, ret = rrdtool.updatev(filename, ds) 报了argument 0 must be string的异常,经查是因为python 的rrdtool不是用unicode,而传递进来的参数使用了unicode,解决办法很简单 ret = rrdtool.updatev(filename.encode(), ds.encode())
rrdtool(round robin database)工具为环状数据库的存储格式,round robin是一种处理定量数据以及当前元素指针的技术.rrdtool主要用来跟踪对象的变化情况,生成这些变化的走势图,比如业务的访问流量.系统性能.磁盘利用率等趋势图,很多流行监控平台都使用到rrdtool,比较有名的为Cacti.Ganglia.Monitorix等.更多rrdtool介绍见官网http://oss.oetiker.ch/rrdtool/.rrdtool是一个复杂的工具,涉及较多参数
需求:用RRDtool绘制lvs的连接数图形 RRDtool是一个强大的绘图工具,作者是Tobias Oetiker. RRD全称Round Robin Database,轮转数据库,也是一个时间序列数据库.数据库文件以rrd结尾,RRD在创建好后大小是固定的,超过容量之后旧数据会被新采集的数据覆盖. 看看官方说明: RRDtool is designed to store time series of data. With every data update, an associated ti