[rrd-users] Re: How to or examples to pull all entries?

Roth, Gabrielle gabrielle.roth at xo.com
Thu Oct 6 21:16:51 MEST 2005


Andy Canfield wrote:
> I am needing to develop a C or C++ app that loops through every entry
> in an rrd file and pushes it out to a database. I am in need of
> something that shows me what arguments I need to pass to rrd_fetch in
> order to accomplish this. Is there a resource online somewhere that
> shows me the example arguments needed that will pull everything in the
> .rrd?
Are you sure rrd_fetch is what you want?  The format given on
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/doc/rrdfetch.en.html
states that rrdfetch requires a CF (consolidation function).  This means
it's going to "do something" to the raw data - e.g. average it.  From
your description it sounds like you want raw values.  Maybe you want
something more along the lines of rrdxport
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/doc/rrdxport.en.html?

- gabrielle -
vi vi vi...the editor of the beast

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list