hey all,

how can i use the ds[x].max value in a graph command.?

i'd like to use the max value in a calculation, but I'm not sure how to get
at it... if i understand correctly, the ds[x].max value is not the same as
the :MAX consolidation function (which is the maximum recorded value for the
ds and the ds.max is the manually set limit on what the ds can do).

i'd like to do something like:

DEF:bytes_free=myrrdfile.rrd:1:MAX                       # max recorded
value
CDEF:real_max=ds[1].max                            # max possible upper
bound
VDEF:bytes_used=real_max,bytes_free,-       # used bytes -- my rrd only
records the FREE amount, so i need to calculate this

any pointers?

Thanks!

J
_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to