[rrd-users] How to draw a sum over a time range?
mali at blackbase.de
Mon Apr 10 10:57:13 MEST 2006
I want to draw a graph with the sum of collected data for each month
over a year but i don't know how.
The graph should be updated once a day.
The rrd is updated once a day and provides data since 04.04.2006.
It was created with
- step 86400
To create the graph i do the following:
- start 00 20060101
- end 00 20070101
- xgrid MONTH:1:YEAR:1:MONTH:1:2592000:%m
Now i want to accumulate all values of a month and then draw the total
for each month.
Is it possible (and if yes, how)?
- I inserted "VDEF:intotal=in,TOTAL" after the CDEF command, but
although the drawed area has the right height it's width (which should
be fit to the current month) ranges from January to December.
- Adding a step of 2592000 to the DEF command shows the same.
The rrd version is 1.2.11.
Aside from that is it possible to write the total of each month in the
corresponding area, maybe as vertical text?
Thx in advance for any help or hint,
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users