-
Incident report
-
Resolution: Won't fix
-
Major
-
None
-
2.1.0
host.update method in 2.0 cannot update host macro
For 2.0 if a {$MACRO} macro exists then it's not possible to update it:
Request:
{"jsonrpc":"2.0","method":"host.update","params":{"hostid":"10126","macros":[{"macro":"{$MACRO}","value":"foo"}]},"id":0,"auth":"e3d94003fb212c82888d6342c8209f2a"}
Response:
"message":"Invalid params.",
"data":"Macro \"{$MACRO}\" already exists on \"it0\".",
But such macro update works well in 1.8.13
Creation of a macro works ok in 2.0.
Reproduced for: Zabbix 2.1.0-27709
- is duplicated by
-
ZBXNEXT-1269 Unable to update existing host macro
- Closed