[rrd-users] RRDtool Average for 1 Day

Boer, Martin martin.boer at atosorigin.com
Mon Mar 17 08:12:39 CET 2008

It doesn't. 
There are 2 options for you here; 
1) read the documentation on how RRD's work because your question really
implies you should. 
You might want to start at this page:
If you don't update your rrdfile in -exactly- a day (starting at 12pm
sharp and ending there as well, don't be a second off) you won't be able
to use the -r option to get daily averages.
2) Don't read the documentation, add all 288 numbers you get and divide
by 288. It should give you the average you want.

Either way there is a solution for your problem. :)
Good luck,

-----Original Message-----
From: rrd-users-bounces at lists.oetiker.ch
[mailto:rrd-users-bounces at lists.oetiker.ch] On Behalf Of apoch632
Sent: zondag 16 maart 2008 18:58
To: rrd-users at lists.oetiker.ch
Subject: [rrd-users] RRDtool Average for 1 Day

Beginner at this rrd stuff

Basically I want to get the average traffic usage from an RRD File for
one day

I used 

rrdtool fetch bytesRcvd.rrd AVERAGE -r 86400 -s 1187691600(When the file
begins) -e 1187778000 (One day later)

However when I run this command it gives me values for every 300
How do I get it to give me a single value for the one day time frame
View this message in context:
Sent from the RRDTool - User mailing list archive at Nabble.com.

rrd-users mailing list
rrd-users at lists.oetiker.ch

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: disclaimer.txt
Url: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20080317/fd32f52e/attachment-0001.txt 

More information about the rrd-users mailing list