[rrd-users] Re: totalling..

Alex van den Bogaerdt alex at ergens.op.HET.NET
Wed Apr 3 00:59:01 MEST 2002

Wupsje wrote:

> Got another question again..
> Home come the totals for a whole year end up way high? (see attached)..

The average is multiplied by the total amount of seconds on the graph.

However, in your case most of the graph is *unknown* data and the average
function discards the unknowns.  This normally isn't a problem but in
this extreme case it is.

> Even though I started out with a clean rrd file on the 30th of march?

If you do the same for '20020330 00:00' to '20020403 00:00' and multiply
by 4*86400, it should be closer to what you expect to see.

> PS Tried the VDEF TOTAL function, but that seems to result in exactly the
> same results as the CDEF function.

Hmmm...  this *used* to work.  Are you sure it doesn't anymore?

Note to others: This is for 1.1.x, not for 1.0.35
   GPRINT:totalIn:"%6.2lf %sB"
            (yes, no CF in here)
   GPRINT:totalOut:"%6.2lf %sB"

 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
| Technical questions sent directly to me will be nuked. Use the list. | 
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |

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