Dear All,

I have been trying to figure out how to give a running total (or
cumulative total) of a GAUGE DS. Basically I would like the integral of
the DS so that for each time step I have the cumulative total.

I have tried the following:

DS:Registrations2007:GAUGE:86400:0:1000
DS:TotalReg:COMPUTE:Registrations2007,PREV(TotalReg),+

However I get the error: ERROR: failed to parse computed data source

I'm not sure if this is expected behaviour but I can see that it is
coming from the PREV(TotalReg) not being a DS.

I have also tried:

CDEF:TotalReg=TotalReg,PREV(Registrations2007),+

However this does not work either.

Is there a simple way to get a running total onto an RRD graph?

Many thanks,

- Ollie Maitland

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

Reply via email to