Re: Integrating RRD data with JS plot libraries?

Dan Cech <[email protected]>
Newsgroups gmane.comp.db.rrdtool.devel
Message-ID <[email protected]>
On 6/24/2010 5:21 AM, Alex Bennee wrote:
> Hi,
>
> Has anyone looked at ways of doing this?
>
> I've been looking at the flot library [1] although there are many
> others that aim to achieve the same sort of thing. I'm guessing that
> graphs over a large number of sample buckets need to reduced to a
> sensible number of points, possibly collecting a new set when zooms
> are done.
>
> What's the best way to get RRD to spit out a series of data points as
> text? At the moment I'm using the RRDs perl module and doing a manual
> RRDs::fetch() and iterating through the returned @$rdata array but
> that does seem a little clunky, especially if I want to take advantage
> of the flexibility of the graph definition grammar.
>
> [1] http://code.google.com/p/flot/

Check out XPORT, I still haven't gotten around to playing with it, but 
seems like exactly what would be needed for this application.

http://oss.oetiker.ch/rrdtool/doc/rrdxport.en.html

Dan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.