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

Top triggers widget with custom trigger count shows incorrect entries

    XMLWordPrintable

Details

    • Team B
    • Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023)
    • 0.5

    Description

      Precondition:

      1. Use import file -> ZBX_23288.yaml or create:
      • Host AA with trapper item and 2 triggers:
      • Host BB with trapper item and 2 triggers:
      • Create a dashboard with top triggers widget (default state without any filters)

      Steps to reproduce:

      • turn on Zabbix server and trigger one problem for both hosts e.g.
        ./bin/zabbix_sender -vv -z "localhost" -p 10051 -s "AA" -k "trap" -o 1
        ./bin/zabbix_sender -vv -z "localhost" -p 10051 -s "BB" -k "trap" -o 1
        
      • Open previously created dashboard and check top triggers widget
      • Observe 4 problem entries that are sorted by severities (highest on the top) e.g.
      • Open top triggers edit form and change trigger count to 2
      • Save changes and check the widget

      Result: Two entries appears but sorting by severity is missing.

      Expected: Two entries with the highest severity (Disaster) should appear.
      e.g.


      Note: looks like it is a rare case because the issue appears when entries have the same number of problems.

      Attachments

        Issue Links

          Activity

            People

              iivs Ivo Kurzemnieks
              kseve Kirils Seve
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: