[rrd-users] Python and RRDTool

Gregory Guthrie guthrie at mum.edu
Thu Apr 22 20:46:44 CEST 2010


I am in a similar situation, and strongly prefer rrdtool direct port API into Python since that is then portable; but it does not seem to be available for Windows, only Linux.

Odd to me, Windows is 20x the Linux market, and Python is the best scripting language around (! :) ), but little rrd penetration there in this overlap. Perl has a good Windows binding, lots of dusty old threads of the Python one, but I couldn't find anything working.

-------------------------------------------
Gregory Guthrie
-------------------------------------------

From: rrd-users-bounces+guthrie=mum.edu at lists.oetiker.ch [mailto:rrd-users-bounces+guthrie=mum.edu at lists.oetiker.ch] On Behalf Of K.D. Lucas
Sent: Thursday, April 22, 2010 1:02 PM
To: rrd-users at lists.oetiker.ch
Subject: [rrd-users] Python and RRDTool

I'm currently working on a Python application that will eventually use RRDTool to draw some graphs based on some statistics that I collect.

I'm wondering if people on this list would recommend using any of the existing python libraries for RRDTool (it looks like to two most robust ones are pyrrd and rrdfile):

http://code.google.com/p/pyrrd/
http://code.google.com/p/rrdfile/

But I see many comments about rrdfile leaking memory, so I'm hesitant to use that one. pyrrd looks ok, but I'm not sure if it would be easier to use that library or just write my own class with a few methods for creating and updating my RRDTool files and graphs.

I'd really appreciate anyone's comments about your experience and recommendations. It seems like there would be a more mature solution for python at this point, but I'm rather hesitant to use them after having a brief look at the code.

Regards,

Kelly

--
K.D. Lucas
kdlucas at gmail.com<mailto:kdlucas at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20100422/dc752e33/attachment-0001.htm 


More information about the rrd-users mailing list