We would like to configure a "calculated" item whose value is a "cumulative" function of the value of another item. That is :
* Let us assume that we have configured an item with key = "A" whose value is 10 at t=0, 5 at t=1, 20 at t=2, etc.
* We would like to configure a new item with key = "B" whole value is 10 at t=0, 15 at t=1, 35 at t=2, etc. Of course, if it is possible to define a "cumulative" function on item "A" directly even better.
So, in practice we would like to define a function on item "B" so that B = last(A) + prev(B) but e.g. such a function seems "incorrect" because an error is being thrown as the initial value of "B" at t = 0 cannot be evaluated.
note | Zabbix version : 2.0.8
* Let us assume that we have configured an item with key = "A" whose value is 10 at t=0, 5 at t=1, 20 at t=2, etc.
* We would like to configure a new item with key = "B" whole value is 10 at t=0, 15 at t=1, 35 at t=2, etc. Of course, if it is possible to define a "cumulative" function on item "A" directly even better.
So, in practice we would like to define a function on item "B" so that B = last(A) + prev(B) but e.g. such a function seems "incorrect" because an error is being thrown as the initial value of "B" at t = 0 cannot be evaluated.
note | Zabbix version : 2.0.8
Comment