Hi,

2017-02-14 19:44 GMT+01:00 SolarMan <h...@vega.demon.nl>:

> Hello Olivier,
> The error message is confusing and should actually read:
> rrdtool.OperationalError: rpn expressions without DEF or CDEF variables are
> not supported
> as it does in other cases.
> The meaning is clear: you must use a DEF or CDEF in your CDEF definition.
> Regards,
> hans
>

Thank you Hans for your quick response. I understand the documentation is
wrong then.

Any idea how to easily create a DEF with 0 value all along ? I'm using it
in a automatized script that write the whole 'rrdtool graph' line, and when
original DEF file is not present, I would like to replace it with 0 to keep
the same logic.

Olivier
_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to