python-zabbix-utils
python-zabbix-utils copied to clipboard
history.clear bug
The Zabbix API documentation say I can pass the item id's for which history should be cleared like: "params": [ "10325", "13205" ], This does not work with api.history.clear(params=["10325", "13205"]) and gives the error zabbix_utils.exceptions.APIRequestError: Invalid params. Invalid parameter "/1": a number is expected.
Using V2.0.1 Doing a api.history.clear(params=[10325, 13205]) gives the same error.
Doing a api.history.clear(params=10325) does work........