rrdpy


Python RRD Utilities

rrdpy - Python RRDTool Utilities

Python module and scripts to simplify working with RRD's

by Corey Goldberg


RRDtool is the Open Source industry standard, high performance data logging and graphing system for time series data. RRD stands for "Round Robin Database". It stores data in a very compact way that will not expand over time.

RRDTool is a really good back-end for storing time-series data. If you are developing tools that need a data repository and graphing capabilities, this provides you both. You create an RRD and then you begin inserting data values at regular intervals. You then call the graphing API to have a graph displayed. The neat thing about this data storage is its “round robin” nature. You define various time spans, and the granularity at which you want them stored. A fixed binary file is created, which never grows in size over time. As you insert more data, it is inserted into each span. As results are collected, they are averaged and rolled into successive time spans. It makes a much more efficient system than using your own complex data structures, relational database, or file system storage.


Contents:

  • rrd.py : main RRD module
  • rrd_maker.py : create an RRD
  • rrd_grapher.py : generate a graph from an RRD
  • rrd_feeder_rand.py : example - random number data feeder/grapher
  • rrd_feeder_http.py : example - HTTP performance meter (data feeder/grapher)

Download:

No official release yet, but you can browse/checkout the source code at: http://code.google.com/p/rrdpy/source/browse/trunk


Sample Graph:

http://www.goldb.org/goldblog/cmg_images/test.rrd.http.png


Maintainer:

Corey Goldberg - http://www.goldb.org

Project Information

  • License: GNU GPL v3
  • 19 stars
  • svn-based source control

Labels:
RRDTool RRD Python Graphs