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

Details

    • Team B
    • 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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: