Number of status changes in toptrigger.php

XMLWordPrintable

    • Type: Problem report
    • Resolution: Workaround proposed
    • Priority: Trivial
    • None
    • Affects Version/s: 4.0.32
    • Component/s: Frontend (F)
    • Environment:
      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

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

              Created:
              Updated:
              Resolved: