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

*_foreach() functions must use the ValueCache, not the History Pollers.

XMLWordPrintable

      Steps to reproduce:

      1. Create a calculated item prototype like:
      min(last_foreach(/*/onuPonRxOpticalPower[0]?[tag="CTO:{$CTO}"]))
      1. Apply the new item to the template (5k+ hosts!)

      Result:
      Utilization of history poller data collector processes go to 100%
      Load on database increased.

      Expected:
      The same as any other calculated item: get it from Cache, instead of polling the database.

        1. Value Cache is ok: 6.0.31.png
          Value Cache is ok: 6.0.31.png
          55 kB
        2. Same server.png
          Same server.png
          131 kB
        3. last_foreach.png
          last_foreach.png
          83 kB
        4. grep.slow.log.zst
          439 kB

            dgoloscapov Dmitrijs Goloscapovs
            livreacesso.pro LivreAcesso.Pro
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: