Fritjof Bornebusch - Skyfillers wrote: >Hi folks, > >I have to get the timestamp from every sample which is in the data array: > >info , ds_rrd , data = rrdtool.fetch( rrd_file, "AVERAGE", >"--start", str(start), "--end", str(end) ) > >How can I extract the timestamp? > >I'm using the Python API.
First thing - are you expecting to find the timestamps of the original data that was put in, or of the normalised/consolidated data you are getting out ? The former does not exist as it is never stored, the latter is in the data when using the standalone rrd tools. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users