[rrd-users] Advice wanted on storing data from a xml file

Steve Shipway s.shipway at auckland.ac.nz
Tue Aug 30 03:27:31 CEST 2011

> > 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.

If you want to avoid the data normalisation, then you can normalise the timestamps before you use them.

IE,  t = int(t/300)*300, assuming a 5-min interval.


Steve Shipway
ITS Unix Services Design Lead
University of Auckland, New Zealand
Floor 1, 58 Symonds Street, Auckland
Phone: +64 (0)9 3737599 ext 86487
DDI: +64 (0)9 924 6487
Mobile: +64 (0)21 753 189
Email: s.shipway at auckland.ac.nz
 Please consider the environment before printing this e-mail 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4928 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20110830/88e80eac/attachment.bin 

More information about the rrd-users mailing list