-
Problem report
-
Resolution: Fixed
-
Critical
-
3.4.2, 4.0.0alpha1
-
Sprint 18, Sprint 19, Sprint 24
-
4
1. Create a host with an item and a few triggers with tags and values:
- Trigger 1 - Service: abc, service: abcdef
- Trigger 2 - Service: abc
- Trigger 3 - App: qwe, Application: qwerty
- Trigger 4 - App: qwe
or more if desired, but this will do enough for example.
2. Generate some problems and check the API methods problem.get and event.get:
{ "output": ["eventid"], "tags": [ { "tag": "Service", "value": "abc" } ], "selectTags": "extend" }
3. Observe the broken result:
"result": [ { "eventid": "167", "tags": [] }, { "eventid": "168", "tags": [] }, { "tags": [ [], [], [] ] } ]
4. Expected result:
"result": [ { "eventid": "85", "tags": [ { "tag": "Service", "value": "abc" }, { "tag": "service", "value": "abcdef" } ] }, { "eventid": "86", "tags": [ { "tag": "Service", "value": "abc" } ] } ]
- part of
-
ZBXNEXT-4118 Advanced options for tag-based search of problems (Z4)
- Closed