Why are you using addrra? Or even using rrdtoolx at all?You need to read the documentation on rrdtool's export functionality on the rrdtool site. It's not difficult to get data out of RRD, but it is fiddly and time consuming.adam.On 27/06/2017 16:11:09, austin wonderly <lacrosse1991@gmail.com> wrote:
Hello,What would be the correct way to extract rrd data for a certain period of time (last 7 days for example). I'm trying to extract data for the following graph http://imgur.com/a/Gw9y2, although when I open up the data in excel, I'm not able to get anything of use.I used this command to produce an RRD export first:/opt/observium/scripts/rrdtoolx.py addrra netstats-udp.rrd /tmp/testrrdafter which I used:rrdtool dump /tmp/testrrd > /tmp/rrd.xmlto get the file into an xml format, and finally I imported the xml into excel.I'm trying to put together a list of time stamps and their appropriate data points, so for example:time1 : 22 errorstime2: 10 errorstime3: 30 errors....Would it even be possible to extract this kind of data from the RRD files?Thanks for your help,Austin______________________________________________________________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium