Hi,
We use a Zabbix API-based script to update the host prototype object tags and groupLinks for several hosts.
After we upgrade the Zabbix version to 6.0.3 the same script is not working anymore.
This really looks like a bug to me and I reported it to Zabbix https://support.zabbix.com/browse/ZBX-21035.
Is anyone facing the same issue? Any workaround do you have?
Here is the payload
Here is the response
We use a Zabbix API-based script to update the host prototype object tags and groupLinks for several hosts.
After we upgrade the Zabbix version to 6.0.3 the same script is not working anymore.
This really looks like a bug to me and I reported it to Zabbix https://support.zabbix.com/browse/ZBX-21035.
Is anyone facing the same issue? Any workaround do you have?
Here is the payload
{
"jsonrpc": "2.0",
"method": "hostprototype.update",
"params": {
"tags": [
{
"tag": "MongoDB-pseudo-servers"
}
],
"hostid": hostid
},
"auth": authtoken,
"id": 1
}
"jsonrpc": "2.0",
"method": "hostprototype.update",
"params": {
"tags": [
{
"tag": "MongoDB-pseudo-servers"
}
],
"hostid": hostid
},
"auth": authtoken,
"id": 1
}
{'error': {'code': -32602, 'data': 'Invalid parameter "/1": cannot update readonly parameter "tags" of inherited object.', 'message': 'Invalid params.'}, 'id': 1, 'jsonrpc': '2.0'}