[rrd-developers] RRDTool and C/C++ interface

Sebastian Harl sh at tokkee.org
Wed Nov 12 10:41:23 CET 2008

Hi Jeeva,

On Tue, Nov 11, 2008 at 03:50:31PM +0530, Kathirvel, Jeevanandam wrote:
> Is anybody used rrdthread calls (like rrd_update_r) directly in C/C++
> application  instead of using the command line tool 

You can have a look at collectd's rrdtool plugin [1] which is very
similar to rrdcached pointed out by Kevin though. The creation of RRD
files has been split out into a separate module in collectd [2]. Also,
Google code search might find some more examples [3] (replace the
function names in the search with whatever you're looking for).


[1] http://git.verplant.org/?p=collectd.git;a=blob;f=src/rrdtool.c
[2] http://git.verplant.org/?p=collectd.git;a=blob;f=src/utils_rrdcreate.c
[3] http://google.com/codesearch?q=rrd_update|rrd_fetch+lang:c&as_case=y

Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20081112/2219f4e9/attachment.bin 

More information about the rrd-developers mailing list