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

New trigger function rate()

XMLWordPrintable

      Consider the following raw data:

      10:00 – 100
      11:00 – 150
      12:00 – 600

      The following change rates can be derived:

      ?
      +50/h
      +450/h

      Keeping the rates as a separate item seems somewhat inefficient for this task and is complicated due to ZBXNEXT-1049.

      Without the separate item, if I wanted to trigger on a particular rate (s^-1), I can try to compare "(LAST minus PREV) / hardcoded interval" or even "DIFF / hardcoded interval". The problem there is, if the item interval changes or is not constant in the first place (trapping!), the result is wrong.

      I would like to see a trigger function like the following:

      Function | Parameter(s) | Supported value types
      --------------------------------------------------------------------
      rate | sec or #num | float, int

      The rate of change in a period; The period is set in seconds or as a number of collected values (preceded by a # hash mark) in the first parameter.

      The function accepts a second, optional parameter time_shift.

        1. added_Rate.patch
          19 kB
        2. ZBXNEXT-2374.patch
          12 kB
        3. ZBXNEXT-2374.patch
          4 kB

            Unassigned Unassigned
            volter Volker Fröhlich
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: