hey all,<br><br>how can i use the ds[x].max value in a graph command.?<br><br>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).<br>
<br>i'd like to do something like:<br><br>DEF:bytes_free=myrrdfile.rrd:1:MAX # max recorded value<br>CDEF:real_max=ds[1].max # max possible upper bound<br>VDEF:bytes_used=real_max,bytes_free,- # used bytes -- my rrd only records the FREE amount, so i need to calculate this<br>
<br>any pointers?<br><br>Thanks!<br><br>J<br>