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

Optimize value cache data fetching for nodata() functions

    XMLWordPrintable

    Details

      Description

      The nodata() function retrieves last value from value cache and checks if its timestamp is inside the nodata period. This can result in retrieving value a way beyond the specified range (for example if server was not running for few days).

      To optimize nodata() evaluation zbx_vc_get_value_range() function must support both - time period and value count parameters at the same time. This will allow nodata() function to request one value from the specified period and return 0 or 1 depending on if a value was returned or not.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            wiper Andris Zeila
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: