Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-9101

Trend function for absolute count of changes in time X

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • None
    • Server (S)
    • None

      It would be nice to have also changecount functions for trends.
      Currently they exists only for history: https://www.zabbix.com/documentation/6.4/en/manual/appendix/functions/history

      It seems to be similar to baselinedev function, but the return value of the baselinedev is horrible to comprehend
      We need a easier function that returns the absolute count of value changes over time.

      Could based on the trend avg value.

      Example use case:
      Item with an counter for something. But not the counter value it self is interesting, just the changes.
      How often changed it in the last x days, weeks, months?

      Example trend data:

      Time AVG Value
      10:00 0
      11:00 10
      12:00 10
      13:00 0
      14:00 1
      15:00 1

      Expected result at 15:01:

      Function call return value
      trendchangecount(1h:now/h) 0
      trendchangecount(2h:now/h) 2
      trendchangecount(3h:now/h) 3
      trendchangecount(4h:now/h) 4
      trendchangecount(5h:now/h) 4
      trendchangecount(6h:now/h) 5

            wiper Andris Zeila
            marcel.japel Marcel Jäpel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: