[rrd-users] Re: The script is here, to view actual data trans fer in your RRD graphs
Simon Mullis
Simon.Mullis at equinoxsolutions.com
Fri Mar 14 10:05:36 MET 2003
>From the RRDTool CVS Tree (>1.1.0), gaze in awe at the VDEF:
'DEF:Ain=<file>.rrd:ds0:AVERAGE'
'DEF:Aout=<file>.rrd:ds1:AVERAGE'
'VDEF:A_totalin=Ain,TOTAL'
'VDEF:A_totalout=Aout,TOTAL'
>From the MAN page:
VDEF
VDEF:vname=RPN expression
This command returns a value and/or a time according to the RPN statements
used. The resulting vname will, depending on the functions used, have a
value and a time component. When you use this vname in another RPN
expression, you are effectively inserting its value just as if you had put a
number at that place. The variable can also be used in the various graph
and print elements.
Example: "VDEF:avg=mydata,AVERAGE"
This has saved me alot of time.
SM
-----Original Message-----
From: Colin Percival [mailto:colin.percival at wadham.ox.ac.uk]
Sent: 14 March 2003 05:31
To: Adam Denenberg; Colin Percival; rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Re: The script is here, to view actual data
transfer in your RRD graphs
At 00:20 14/03/2003 -0500, Adam Denenberg wrote:
> I don't think it is such a huge deal.
Even if my code is worthless, the fact that someone was trying to sell
it and claim it was his own is a big deal -- at least to me.
> just curious what your script does for $25, and if it handles knowing the
>start times of each month to calculate running totals for the month for
>people who say, pay a monthly bill at an ISP based on data transfer and
need
>numbers based on the first day of the month at midnite.
My code displays the total bandwidth used since the beginning of the
month; the predicted bandwidth for the month (assuming the current monthly
trend continues); the previous month's total bandwidth; the Xth percentile
level based on the past N days, where N is the number of days in the
current month and X is an integer between 1 and 99 (usually 95, of course);
and the Xth percentile level of the previous month. In other words, it
provides the data which companies use to calculate their bandwidth bills,
and estimates of what those numbers will end up being for the current
month. There are also HRULEs at the mean/percentile/max in/out values.
Whether this is worth $25... to be honest, I wouldn't pay for it -- but
then I'm not running a web hosting company.
Colin Percival
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
------------------------------------------------------------------------------------------
Equinox Converged Solutions Limited.
Tel: +44 (0)1252 405 600
http://www.equinoxsolutions.com
IMPORTANT NOTICE:
This message is intended solely for the use of the Individual or organisation to whom it is addressed. It may contain privileged or confidential information. If you have received this message in error, please notify the originator immediately.
If you are not the intended recipient, you should not use, copy, alter, or disclose the contents of this message. All information or opinions expressed in this message and/or any attachments are those of the author and are not necessarily those of Equinox Converged Solutions Limited.
Equinox Converged Solutions Limited accepts no responsibility for loss or damage arising from its use, including damage from virus.
------------------------------------------------------------------------------------------
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list