Hello,
I am getting the following error:
I have a list of computers assigned to a proxy, I add a new host and I want it to be managed by a proxy.
I launch the following query.
{
"jsonrpc": "2.0",
"method": "proxy.update",
"params": {
"proxyid": "10524",
"hosts": [
{ "hostid": "11116"}
]
},
"auth": "-------------------------------",
"id": 1
}
Now the host is managed by the proxy, but the rest of the hosts are not.
I know there are parameters that the Zabbix API removes if they do not appear, but in this case it is not specified in the documentation and I seem to remember that "proxy.update - hosts" did not work this way.
I am getting the following error:
I have a list of computers assigned to a proxy, I add a new host and I want it to be managed by a proxy.
I launch the following query.
{
"jsonrpc": "2.0",
"method": "proxy.update",
"params": {
"proxyid": "10524",
"hosts": [
{ "hostid": "11116"}
]
},
"auth": "-------------------------------",
"id": 1
}
Now the host is managed by the proxy, but the rest of the hosts are not.
I know there are parameters that the Zabbix API removes if they do not appear, but in this case it is not specified in the documentation and I seem to remember that "proxy.update - hosts" did not work this way.
Comment