[rrd-users] Fetching average of last n samples, rrdtool fetch perl
leif at neland.dk
Wed Sep 21 13:57:11 MEST 2005
I'm samping some temperatures every 60 seconds.
I want to fetch the average of the last 5 minutes, and use the number in a
I've tried commands like
rrdtool fetch /usr/local/www/data/temperatur/temp2.rrd AVERAGE --resolution
300s -snow-8min -enow-2min
but I still get several lines of data, with timestamps 60 seconds apart.
Are there other options than calculating the average myself in perl?
Any examples of parsing the output of rrdtool fetch in perl?
The project is to be able to dial in and read the temperature in the fridge
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users