« Return to Thread: RRDtool Average for 1 Day

Re: RRDtool Average for 1 Day

by Boer, Martin :: Rate this Message:

Reply to Author | View in Thread

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:
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


ÿþDit bericht is vertrouwelijk en kan geheime informatie bevatten enkel
bestemd voor de geadresseerde. Indien dit bericht niet voor u is bestemd,
verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te
vernietigen.
Aangezien de integriteit van het bericht niet veilig gesteld is middels
verzending via internet, kan Atos Origin niet aansprakelijk worden gehouden
voor de inhoud daarvan.
Hoewel wij ons inspannen een virusvrij netwerk te hanteren, geven
wij geen enkele garantie dat dit bericht virusvrij is, noch aanvaarden wij
enige aansprakelijkheid voor de mogelijke aanwezigheid van een virus in dit
bericht.
 
Op al onze rechtsverhoudingen, aanbiedingen en overeenkomsten waaronder
Atos Origin goederen en/of diensten levert zijn met uitsluiting van alle
andere voorwaarden de Leveringsvoorwaarden van Atos Origin van toepassing.
Deze worden u op aanvraag direct kosteloos toegezonden.
 
This e-mail and the documents attached are confidential and intended solely
for the addressee; it may also be privileged. If you receive this e-mail
in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin group
liability cannot be triggered for the message content. Although the
sender endeavours to maintain a computer virus-free network, the sender
does not warrant that this transmission is virus-free and will not be
liable for any damages resulting from any virus transmitted.
 
On all offers and agreements under which Atos Origin supplies goods and/or
services of whatever nature, the Terms of Delivery from Atos Origin
exclusively apply.
The Terms of Delivery shall be promptly submitted to you on your request.
 
Atos Origin Nederland B.V. / Utrecht
KvK Utrecht 30132762
_______________________________________________
rrd-users mailing list
rrd-users@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

 « Return to Thread: RRDtool Average for 1 Day