Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-7170

Using item.get with output extend in the frontend

    XMLWordPrintable

    Details

      Description

      After ZBXNEXT-1689 to return the values for the lastvalue and lastclock properties item.get needs to perform a separate request to the history table. That means that unnecessary use of output extend may significantly impact performance.

      The following places in the frontend must be corrected to not use output extend for item.get:

      history.php
      popup_trexpr.php
      configuration.screen.constructor.edit.php

      CApplication::massAdd()
      CDiscoveryRule::copyGraphPrototypes()
      CGraph::validateItems()
      CGraphPrototype::validateCreate()
      CGraphPrototype::validateUpdate()
      CItem::delete()

      CScreenClock::get()
      CScreenHistory::__construct()

      We should also check if there are other places with this problem.

        Attachments

          Activity

            People

            Assignee:
            iivs Ivo Kurzemnieks
            Reporter:
            jelisejev Pavels Jelisejevs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: