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. grep.slow.log.zst
          439 kB
          LivreAcesso.Pro
        2. last_foreach.png
          83 kB
          LivreAcesso.Pro
        3. Same server.png
          131 kB
          LivreAcesso.Pro
        4. Value Cache is ok: 6.0.31.png
          55 kB
          LivreAcesso.Pro

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

              Created:
              Updated: