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

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.ship...@auckland.ac.nz
 Please consider the environment before printing this e-mail 


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to