|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
RRDtool Average for 1 DayBeginner 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 seconds. How do I get it to give me a single value for the one day time frame |
|
|
Re: RRDtool Average for 1 DayIt 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: http://oss.oetiker.ch/rrdtool/doc/rrdfetch.en.html 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, Martin -----Original Message----- From: rrd-users-bounces@... [mailto:rrd-users-bounces@...] On Behalf Of apoch632 Sent: zondag 16 maart 2008 18:58 To: rrd-users@... 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 seconds. How do I get it to give me a single value for the one day time frame -- View this message in context: http://www.nabble.com/RRDtool-Average-for-1-Day-tp16081862p16081862.html Sent from the RRDTool - User mailing list archive at Nabble.com. _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users ÿþD i t b e r i c h t i s v e r t r o u w e l i j k e n k a n g e h e i m e i n f o r m a t i e b e v a t t e n e n k e l |