Ad Widget

Collapse

Aggregating the change in a variable that is not a counter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eitank
    Junior Member
    • Oct 2009
    • 1

    #1

    Aggregating the change in a variable that is not a counter

    I have been trying with no success to create an item which is the difference of an aggregation of an item.

    I have an item configured in a template that is not a counter, it fluctuates up and down, so it's being stored as a float (since integers can't go negative). I can't store the item as a delta since the fluctuations are considered a reset of the counter. I can easily aggregate using the grpsum[..., "last", "0"] and get sum of the last observations. What I'm trying to get is the sum of the change (but "change" isn't a supported item function for aggretgate items). I know I can create a trigger to alert if "change(0)" is too large for n observations, but Ideally I would also be able to create a graph of this aggregation of the change.

    Anyone out there that knows how to do this? Any help creating this item would be greatly appreciated.

    Thanks.
Working...