X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=website%2Fgallery%2Falex-01.wml;fp=website%2Fgallery%2Falex-01.wml;h=0000000000000000000000000000000000000000;hb=ea3ebe6e517f024dd6c2a36898082ae4855becf7;hp=b609dbe66a7f19284c474216b6335fd1ce13bd76;hpb=b87bdf9d576b7e5456ecb2004e97663040aa8c25;p=rrdtool-all.git diff --git a/website/gallery/alex-01.wml b/website/gallery/alex-01.wml deleted file mode 100644 index b609dbe6..00000000 --- a/website/gallery/alex-01.wml +++ /dev/null @@ -1,32 +0,0 @@ -#include "$(ROOT)/.wml/template.inc" section=gallery subsection=alex-01 - -

Billing Cross Check

- -

by Alex van den Bogaerdt

- -

-Our internet provider does usage based billing. Part of the bandwidth -is at a fixed price, the remaining bandwidth is subject to UBB.

- -

The UBB works as follows: every sample period the current bandwidth is -calculated. When it is above the UBB rate, the excess is used to build -an average over a month. This average is used to calculate the bill.

- -

I do trust the provider however I do not necessarily trust their billing -system. Therefore I need a way to check the bill.

- -

Normal usage would be to graph from the 1st of the previous month until -the 1st of the current month. RRDtool does all the calculations, using -CDEF statements. I use bash to collect the prices from a database, then -start the RRDtool script with those variables filled in.

- -

The data that I used to create the image has been altered to protect -our privacy and the providers pricing policy (meaning: its bogus data). -It does show however how it works. If I create the graph using correct -values for start and end times, the only difference should be caused by -rounding and by different polling times.

- -

- -

If you are interested in the script generating this, get it -here.