-
Problem report
-
Resolution: Fixed
-
Trivial
-
3.4.4
-
docker zabbix/zabbix-server-mysql:ubuntu-3.4-latest
-
Sprint 25, Sprint 26, Sprint 27, Sprint 28
-
0.5
Steps to reproduce:
- Changes in configuration...
After upgrade to version 3.4.4 from 3.2 API calls is not working as they are described in documentation.
Result:
Call:
{"jsonrpc": "2.0", "method": "item.create", "params": {"name": "uhoidla.Summary.Delete","key_": "uhoidla.Summary.Delete", "hostid" :"10254", "description": "Delete / Second", "type": 2, "value_type": 3, "delta": 1, "history":2, "trend":90, "applications": ["1065"], "delay": 60}, "auth": "861486bafe312b8d2cec683cbfc5b9ea", "id": 1}
gives back:
{ "jsonrpc": "2.0", "error": { "code": -32602, "message": "Invalid params.", "data": "Incorrect value for field \"trapper_hosts\": invalid address range \"\"." }, "id": 1 }
Expected:
Acording to documentation, in case of Item Type:2 (trapper), there is no
need for trapper_hosts value.
Also I don't like, that in API version 3.4, there is no possibilities to describe value_type . Now this can be done only manually under PreProcessing tab.