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

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

      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.

        1. image-2023-08-18-09-26-02-363.png
          6 kB
          Kirils Seve
        2. image-2023-08-18-09-26-41-400.png
          6 kB
          Kirils Seve
        3. image-2023-08-18-09-45-21-306.png
          8 kB
          Kirils Seve
        4. image-2023-08-18-09-46-28-279.png
          6 kB
          Kirils Seve
        5. image-2023-08-18-09-48-04-413.png
          5 kB
          Kirils Seve
        6. top_triggers.gif
          891 kB
          Kirils Seve
        7. ZBX_23288.yaml
          1 kB
          Kirils Seve

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

              Created:
              Updated:
              Resolved: