Zabbix Documentation 4.0

3.04.04.45.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools

This translation is older than the original page and might be outdated. See what has changed.

Sidebar

zh:manual:api:changes_3.4_-_4.0

This is an old revision of the document!


Appendix 2. Changes from 3.4 to 4.0

附录2. 从3.4到4.0的变更

Backward incompatible changes

非向后兼容的变更

General

通用

Changes:
ZBXNEXT-4247 dropped support of the deprecated methods user.updateprofile, user.addmedia, user.updatemedia, user.deletemedia, usergroup.massadd, usergroup.massupdate and usermedia.get
ZBXNEXT-4175 E-mail values in API methods user.get, user.create and user.update are represented as array if type of Media type is e-mail.

变化:
ZBXNEXT-4247 不再支持user.updateprofile, user.addmedia, user.updatemedia, user.deletemedia, usergroup.massadd, usergroup.massupdate and usermedia.get 这些已经弃用的方法。
ZBXNEXT-4175 如果Media type为e-mail类型,则API方法中的E-mail值: user.get, user.createuser.update 将以数组方式呈现。

dashboard

Changes:
ZBXNEXT-4516 renamed dashboard widget types: actlogactionlog, dscvrydiscovery, favgrphfavgraphs, favmapfavmaps, favscrfavscreens, hoststatproblemhosts, navigationtreenavtree, stszbxsysteminfo, sysmapmap, syssumproblemsbysv and webovrweb

仪表盘

变化:
ZBXNEXT-4516 重命名了仪表盘小工具的类型: actlogactionlog, dscvrydiscovery, favgrphfavgraphs, favmapfavmaps, favscrfavscreens, hoststatproblemhosts, navigationtreenavtree, stszbxsysteminfo, sysmapmap, syssumproblemsbysv and webovrweb

drule

Changes:
ZBX-3783 discovery rules cannot be deleted when are used in actions

发现规则

变化:
ZBX-3783 如果发现规则正在动作中使用,那么该规则将不能被删除

Other changes and bug fixes

其他变更及Bug修复

General

通用

Changes:
ZBXNEXT-4426 added a new task API introducing a new method task.create.
ZBXNEXT-4152 added possibility to filter IDs by zero. For example: host.get() with option {“proxyids”: [0]} will return hosts monitored by server.

变化:
ZBXNEXT-4426 添加了一个新的任务API,引入了一个新方法:“task.create”。
ZBXNEXT-4152 增加了通过 零 来过滤id的可能性。 例如: host.get(){“proxyids”: [0]}选项,将返回被zabbix server监控的主机。

apiinfo

Changes:
ZBX-3783 added strict validation of input parameters for version method

api信息

变化:
ZBX-3783 增加了对 “version” 方法输入参数的严格验证

action

Changes:
ZBXNEXT-2788 added support for not operator in custom expression filter formula
ZBX-3783 added strict validation of input parameters for delete method; added audit

动作

变化:
ZBXNEXT-2788 在自定义表达式的筛选器公式中,增加了对“not”运算符的支持
ZBX-3783 增加了对 “delete” 方法输入参数的严格验证;添加了审计

correlation

Changes:
ZBXNEXT-2788 added support for not operator in custom expression filter formula
ZBX-3783 added strict validation of input parameters for delete method; added audit

相互关系

变化:
ZBXNEXT-2788 在自定义表达式的筛选器公式中,增加了对“not”运算符的支持
ZBX-3783 增加了对 “delete” 方法输入参数的严格验证;添加了审计

discoveryrule

Changes:
ZBXNEXT-2788 added support for not operator in custom expression filter formula
ZBXNEXT-2788 added support of value 9 in the filter condition operator

发现规则

变化:
ZBXNEXT-2788 在自定义表达式的筛选器公式中,增加了对“not”运算符的支持
ZBXNEXT-2788 在过滤条件运算符中,增加了数值“9”的支持

drule

Changes:
ZBX-3783 added strict validation of input parameters for delete method

发现规则

Changes:
ZBX-3783 增加了对 “delete” 方法输入参数的严格验证

event

Changes:
ZBXNEXT-4118 event.get: added a new property evaltype and extended tags property to support new value “<​operator>”
ZBXNEXT-4119 event.get: returns only problems and corresponding recovery events that match the tag based permission filters

item

Changes:
ZBXNEXT-4358 added new item type “HTTP agent”.

itemprototype

Changes:
ZBXNEXT-4200 itemprototype.create, itemprototype.update: added possibility to add regular items and web items as master items in master_itemid property.

mediatype

Changes:
ZBXNEXT-4144 password field for authentication type “Username and password” was made as optional.

problem

Changes:
ZBXNEXT-4118 problem.get: added a new property evaltype and extended tags property to support new value “<​operator>”
ZBXNEXT-4119 problem.get: returns only those events that match the tag based permission filters

proxy

Changes:
ZBXNEXT-4411 added a new property auto_compress.

trigger

Changes:
ZBXNEXT-4357 trigger.get: added a new selectTriggerDiscovery option that returns the trigger discovery object in the triggerDiscovery property

usergroup

Changes:
ZBXNEXT-4119 usergroup.get: added a new selectTagFilters option that returns the array of the tag based permissions objects in the tag_filters property
ZBXNEXT-4119 usergroup.create and usergroup.update: added a new tag_filters property