[rrd-users] [unsure] How do i create Graphs, that show the aggregation fuzzyness?
Alex van den Bogaerdt
alex at vandenbogaerdt.nl
Sat Oct 14 08:29:33 CEST 2017
> Hi,
>
> Some time ago I saw graphs, that indicated the MIN, AVG and MAX value in
> the graph with help of shaded stacked areas between MIN and MAX, and AVG
> plotted in a line. I imagine this should best be done with translucent
> colors, too, in case of several overlapping values.
>
> However i can not find an example for this. Can you please help me and
> point me to a good example(s)?
I think you should try to use the manual and experiment on your own, to
see what works best for you. Keep it simple. Start with a simple graph and
then add/modify elements one at a time.
As a start (from memory, you may need to correct typos and/or mistakes)
with "min", "avg" and "max" being your datasources:
1: Compute max - min. CDEF:dif=max,min,-
2: Draw an invisible line or area (no color) up to min. LINE:min
3: STACK the difference between max and min on top of that.
AREA:dif#CCCCCC80:spread
4: Draw the line over this area: LINE:avg#FF0000:value
> BTW, Collectd created the rrd file like this (see below) - is that the
> right layout and the proper layout and usable consolidation function for
> showing the aggregation fuzzyness?
I fail to see how these consolidation parameters make any sense.
10 seconds per step is a choice which may or may not be what you want/need.
1 pdp per row is okay, you have 2400 of those so you can display up to
24000 seconds, which is 6 hours 40 minutes, at full resolution.
3 pdp per row is also okay. That becomes a resolution of 30 seconds, and
with 2880 of those you can display 1440 minutes == 24 hours
But then...
25 pdp per row equals 250 seconds per row. not a nice number. Close to,
but not equal to, 4 minutes per row.
111 idem dito: 18.5 minutes per row
1317 idem dito: 3 hours 39 minutes 30 seconds per row ?!?!?
13149 idem dito, you do the math
39447 idem dito, you do the math
They probably result in more or less correct amounts of time per graph,
given one specific graph width. It's a choice, but not my choice. I would
rather display 400 days on a 400 pixel wide graph, or make a graph of 365
pixels wide as yearly graph.
I would want to consolidate my data so that it represents sane amounts of
time, e.g. 5 minutes per row, 15 minutes per row, 1 hour per row, 1 day
per row, and so on.
HTH
Alex
More information about the rrd-users
mailing list