-
Type:
Problem report
-
Resolution: Fixed
-
Priority:
Critical
-
Affects Version/s: 3.4.14, 4.0.0
-
Component/s: API (A)
-
Environment:Centos 7, Ubutnu Xenial
-
Sprint 45, Sprint 46, Nov 2018, Sprint 47, Dec 2018
-
0.5
Steps to reproduce:
- call the function specifing hostids="YYYYY" and (itemids=["XXXXX"] or itemids="XXXXXX" etc ) and filters in time
In Example
z.history.get(hostids=10350, itemids=46525, history=0, time_from=1538132400.0, time_till=1538136000.0, sortfield='clock', sortorder='ASC')
Result:
returns all the history values for all the items of the host
Expected:
just the history values for the item specified
Work arround:
specify the filter filter like
z.history.get(hostids=10350, itemids=46525, history=0, time_from=1538132400.0, time_till=1538136000.0, sortfield='clock', sortorder='ASC', filter={"itemid":"46525"})
- is duplicated by
-
ZBX-15363 4.0 history.get API returns incorrect history data if use both hostids and itemids parameter
-
- Closed
-