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

Number of status changes in toptrigger.php

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Workaround proposed
    • Icon: Trivial Trivial
    • None
    • 4.0.32
    • Frontend (F)
    • Linux

      Steps to reproduce:

      1. Navigate to toptriggers.
      2. Query API

      Number of "number of status changes" in toptriggers.php consider all Severities instead of the ones set as filter and differs from same query using API (events.get).

      Just the number is different, the list of triggers corresponds to the filter.

      API:

      query = {
       "source": "0",
       "object": "0",
       "time_from": 1629477655,
       "time_end": 1629481255,
       "selectHosts": ["host"],
       "severities": [4, 5], # 4-high,5-disaster
       "output": ["name", "hosts"],
       }

      Result:
      Number of events are different
      Expected:
      Same number

            asincovs Antons Sincovs
            amandahlak Amanda H. L. A. Katz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: