这是原厂英文文档的翻译页面. 欢迎帮助我们 完善文档.
2022 Zabbix中国峰会
2022 Zabbix中国峰会

Zabbix API 在 6.0 中的变化

6.0.18

action

Changes:
ZBX-21804 action.create, action.get, action.update, action.delete: removed requirement of write permissions for hosts, host groups, templates, triggers, proxy.

6.0.15

script

Changes:
ZBX-19466 changed validation of script object to be unique by combination of 2 properties: name and menu_path.

6.0.14

user

Changes:
ZBXNEXT-8012 user.checkAuthentication: added new parameter token.

6.0.13

configuration

Changes:
ZBXNEXT-7951 configuration.import, configuration.importcompare: option deleteMissing: true for templateLinkage will now unlink missing templates (instead of unlink and clear).

discoveryrule

Changes:
ZBXNEXT-7951 discoveryrule.update: the parameter uuid can now be updated.

graph

Changes:
ZBXNEXT-7951 graph.update: the parameter uuid can now be updated.

graphprototype

Changes:
ZBXNEXT-7951 graphprototype.update: the parameter uuid can now be updated.

hostgroup

Changes:
ZBXNEXT-7951 hostgroup.update: the parameter uuid can now be updated.

hostprototype

Changes:
ZBXNEXT-7951 hostprototype.update: the parameter uuid can now be updated.

httptest

Changes:
ZBXNEXT-7951 httptest.update: the parameter uuid can now be updated.

item

Changes:
ZBXNEXT-7951 item.update: the parameter uuid can now be updated.

itemprototype

Changes:
ZBXNEXT-7951 itemprototype.update: the parameter uuid can now be updated.

template

Changes:
ZBXNEXT-7951 template.update: the parameter uuid can now be updated.

templatedashboard

Changes:
ZBXNEXT-7951 templatedashboard.update: the parameter uuid can now be updated.

trigger

Changes:
ZBXNEXT-7951 trigger.update: the parameter uuid can now be updated.

triggerprototype

Changes:
ZBXNEXT-7951 triggerprototype.update: the parameter uuid can now be updated.

valuemap

Changes:
ZBXNEXT-7951 valuemap.update: the parameter uuid can now be updated.

6.0.9

用户

变化:
ZBXNEXT-7971 user.createuser.update:将“url”字段的最大长度增加到 2048 个字符。

6.0.7

图形

变化:
ZBX-7706graph.get:图形可用性不依赖于图形“ymin_itemid”和“ymax_itemid”字段中指定监控项的权限。
具有链接到不可访问监控项的 MIN 或 MAX Y 轴的图表仍然可以访问,但 MIN/MAX Y 轴的工作方式与指定的计算方法为“已计算”时的工作方式相同。

####图形原型

变化:
ZBX-7706graphprototype.get:图形原型可用性不依赖于图形原型“ymin_itemid”和“ymax_itemid”中指定监控项的权限字段。

6.0.3

发现规则

Bug修复:
ZBX-19118 discoveryrule.creatediscoveryrule.update:不再需要属性 interfaceid 来创建/更新 HTTP 代理类型LLD 规则。

发现规则

Bug修复:
ZBX-19118 item.createitem.update:不再需要属性 interfaceid 来创建/更新 HTTP 代理类型的监控项。

监控项原型

Bug修复:
ZBX-19118 itemprototype.createitemprototype.update:不再需要属性 interfaceid 来创建/更新 HTTP 代理类型监控项原型。