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

Number of status changes in toptrigger.php

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: