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). HTH, Sebastian [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
signature.asc
Description: Digital signature
_______________________________________________ rrd-developers mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
