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 perl script.
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 with asterisk.... Leif -- 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:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
