for that there is the PRINT function in rrdtool graph, instead of the GPRINT. PRINT prints it to the stdout.

Bredi wrote:



 The problem is that I get a list of values over the last hour as
opposed to a single value representing the average over the hour.


You can get one value if you use 'rrdtool xport' with the same start and 
endtime.
Using 'rrdtool last' will give you the latest update time. You can use this 
time for the 'rrdtool xport' but you have to substract the step in second of 
your database. I'm sorry but I don't know why you have to do this. ;-)
This disatvantage of this procedure is to parse the xport output with an XML 
tool.

Best regards, Bredi.

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