Bram Klein Gunnewiek <[email protected]> wrote:
> Is it somehow possible to fill-up the gaps until the current day and leave
> the rest at unknown/zero?
Yes, you can use a time condition. It's a while since I did it, but you can
basically do :
if time< some value
then use <some value>
else use <some other value>
I've used this in the past to combine data from 2 RRDs where one ended and
another took over at some point - it was a few years ago, but IIRC I decided it
was easier to do it that way than to reconfigure the existing RRD with
different consolidations.
Either use NOW or a time picked by your script, and only convert UnKn to 0
where TIME less than that. I think you want something like either :
NOW,TIME,LT,IF or ${current_time},TIME,LT,IF
I'll leave you to fill in the rest ;)
See http://oss.oetiker.ch/rrdtool/doc/rrdgraph_rpn.en.html
_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users