-
Problem report
-
Resolution: Workaround proposed
-
Trivial
-
None
-
4.0.32
-
Linux
Steps to reproduce:
- Navigate to toptriggers.
- 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