[rrd-users] Advice wanted on storing data from a xml file
Alex van den Bogaerdt
alex at vandenbogaerdt.nl
Tue Aug 30 03:03:39 CEST 2011
> I need somehow to save measurements from a csv or xml that is generated
> every 15 minutes that contains 3 sets of values for a 5 min measurement
> period.
>
> Is there some way that I can/could do this with rrd.
>
> I thought about parsing the file saving the first set into a database and
> saving the 2nd and 3rd set into a buffer. Which on the next 5 min period
> the
> next set is saved, etc.
>
> Each data set has its own time stamp
so, wait until a file is generated, parse it, you now have 3 sets of
values with timestamp. Update your RRD oldest first, then immediately the
middle timestamp, then the newest.
No need to wait 5 minutes inbetween. You have timestamps, use them!
More information about the rrd-users
mailing list