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

Test button breaks formula for calculated item and not able to test anything

XMLWordPrintable

    • Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023)
    • 0.5

      Steps to reproduce:

      1. install 6.4rc4 or 6.2.7 or 6.0.13
      2. import template: zbx_export_templates-16.yaml
      3. import 3 hosts: zbx_export_hosts.yaml
      4. find host named: 'Site watcher' and open item named: 'Calculate something.', press Test button.

      Result:

      Expected:
      Working Test button which will not break Formula expression.

      Correct expression is:

      sum(min_foreach(/*/health.check?[tag="Webcheck: {$SOMETHING}"],5m))
      /
      count(min_foreach(/*/health.check?[tag="Webcheck: {$SOMETHING}"],5m))
      

      On the screenshot "tag" is lost.

        1. Screenshot 2023-03-02 at 16.58.53.png
          50 kB
          Edgar Akhmetshin
        2. zbx_export_hosts.yaml
          1 kB
          Edgar Akhmetshin
        3. zbx_export_templates-16.yaml
          0.7 kB
          Edgar Akhmetshin

            Miks.Kronkalns Miks Kronkalns
            edgar.akhmetshin Edgar Akhmetshin
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: