-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
None
-
None
-
None
-
zabbix 4.0.27
zabbix 5.0.6
SUMMARY
I tried to update an zabbix_proxy was failed after I created a zabbix_proxy via API, and the following error occurred.
zabbix_api.ZabbixAPIException: ('Error -32500: Application error., Unknown interface type. while sending {"jsonrpc": "2.0", "method": "proxy.update", "params": {"proxyid": "10271", "status": "5"}, "auth": "253fc1ac25467ddff615265e8c1789f6", "id": 1}', -32500)
ERROR OCCURS VERSION
As far as I'm confirming the error occurred in the following version.
- 4.0.27
- 5.0.6
The above version less than hasn't occurred the error.
STEPS TO REPRODUCE
I executed the following params using zabbix-api library to create a zabbix_proxy.
r = zapi.proxy.create({ 'host': 'ExampleProxy', 'status': '6', 'dns': '', 'interface': { 'ip': '', 'dns': 'hoge.com', 'useip': '0', 'port': '10051' } })
I tried to execute the following params to update a zabbix_proxy failed.
r = zapi.proxy.update({ 'proxyid': '10271', 'status': '5', })
Is this thing bug?