[rrd-users] Upper-Lower limit and VDEF

Tobi Oetiker tobi at oetiker.ch
Sun Feb 23 14:27:50 CET 2014

Hi Anonymus,

Norrdtooldoes not support this ... but it isaninteresting idea. feel free to submit a patch: github.com/oetiker/rrdtool-1.x
Tobias Oetiker

tobi at oetiker.ch
062 775 9902

> On 23.02.2014, at 14:18, sminc <disposable at sminc.me.uk> wrote:
> Do --lower-limit or --upper-limit accept VDEF variables as values ?
> All the examples I have seen use actual numeric values within the
> upper/lower commands to fix the Y-axis but I would like to have it more
> dynamic based on the values within the graph itself.
> I have a set of data (hard disk temperatures) which I have manipulated with
> CDEF and VDEF to arrive at simple numeric values related to the maximum and
> minimum temperature seen on the graph. These are stored in VDEF variables.
> I can plot LINEs using the above VDEF values for position yet when I use the
> same VDEF variable names in the lower/upper limit commands they are either
> ignored or force the wrong scale.
> I realise that auto-scaling is doing this for me but I would like more
> control.
> I can substitute variables into the lower/upper commands from outside the
> rrdtool graph command with $variable etc but then cannot see a way of
> creating the same values I found via CDEF and VDEF via the script (using
> rrdtool fetch etc).
> So my question is, should this work and I am doing it wrong or does
> upper/lower-limit not support VDEF substitution for values ?
> I am running RRDTOOL on a synology NAS as a pre-compiled IPKG package,
> listed as version 1.2.30-1
> Many thanks.
> --
> View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/Upper-Lower-limit-and-VDEF-tp7581778.html
> Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

More information about the rrd-users mailing list