RRDTool lib fetch
Olivier <[email protected]> Tue, 3 Nov 2015 17:29:10 +0100
| Newsgroups | gmane.comp.db.rrdtool.user |
|---|---|
| Message-ID | <CAPPqfY1=tK4hn0tUfZEMgAS3RZHM1o3ODEFoZL0R1EFfSrU=wg@mail.gmail.com> |
Hello, I'm looking for documentation on rrdtool library. I'm actually using it through PHP and PECL project. I'm using function rrd_fetch() to grab data from a specific .rrd file. I can see that 'resolution' parameter is not respected (as rrd_graph is doing) : RRD seems to find the most accurate resolution available, but returns the raw data. For example, if I have data with resolution =60 and I request resolution =3600, data is not aggregated, and I have one row every minute instead of one per hour. First, I want to know if this is an expected behaviour. In that case, it means that rrd_graph is doing this aggregate itself. Is there a way to ask rrdtool to do the math for me ? Olivier _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users