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

Zabbix API在5.0版本中的变更

5.0.26

graph

Changes:
ZBX-7706 graph.get: Graph availability doesn't depend on permissions to items specified in graph "ymin_itemid" and "ymax_itemid" fields.
Graph having MIN or MAX Y axis linked to inaccessible items will still be accessible but MIN/MAX Y axis works the same way as if specified calculation method is "Calculated".

graphprototype

Changes:
ZBX-7706 graphprototype.get: Graph prototype availability doesn't depend on permissions to items specified in graph prototype "ymin_itemid" and "ymax_itemid" fields.

5.0.5

任务

变更:
ZBXNEXT-6167 添加了一个新方法 task.get
ZBXNEXT-6167task.get 方法添加了一个新任务类型。
ZBXNEXT-6167 变更了 task.create 请求的格式。 查阅 task.create 可以获得更多详细信息。

5.0.13

configuration

Bug fixes:
ZBX-8999 configuration.export: fixed exporting of images separately from other objects

graph

Bug fixes:
ZBX-19200 graph.get removed discover field from request
ZBX-19388 graph.update: fixed method to properly change values on template graph instead of making a new inherited graph if case user has no permissions to child host or template

graphprototype

Bug fixes:
ZBX-19388 graphprototype.update: fixed method to properly change values on template graph prototype instead of making a new inherited graph prototype if case user has no permissions to child host or template

host

ZBX-19200 host.get removed discover field from request

item

ZBX-19200 item.get removed discover field from request

mediatype

Changes:
ZBXNEXT-6582 increased maxattempts from 10 to 100 and attempt_interval from 60s to 1h

task

Bug fixes:
ZBX-18941 task.create: improved error message by adding item or discovery rule and host name if any of them are not monitored for task with type value 6

template

ZBX-19200 template.get removed discover field from request

trigger

Bug fixes:
ZBX-19200 trigger.get removed discover field from request
ZBX-19424 trigger.create: fixed trigger creation on PostgreSQL with host name consisting of only numbers

5.0.5

task

Changes:
ZBXNEXT-6167 added a new method task.get.
ZBXNEXT-6167 added a new type of task for task.get method.
ZBXNEXT-6167 changed format of task.create request. See task.create for more details.