Appendix 2. Changes from 3.4 to 4.0

附录2. 从3.4到4.0的变更

Backward incompatible changes

action

Changes:
ZBXNEXT-413 renamed property maintenance_mode to pause_suppressed.

非向后兼容的变更

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: actlog => actionlog, dscvry => discovery, favgrph => favgraphs, favmap => favmaps, favscr => favscreens, hoststat => problemhosts, navigationtree => navtree, stszbx => systeminfo, sysmap => map, syssum => problemsbysv and webovr => web

仪表盘

变化:
ZBXNEXT-4516 重命名了仪表盘小工具的类型: actlog => actionlog, dscvry => discovery, favgrph => favgraphs, favmap => favmaps, favscr => favscreens, hoststat => problemhosts, navigationtree => navtree, stszbx => systeminfo, sysmap => map, syssum => problemsbysv and webovr => web

drule

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

发现规则

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

Other changes and bug fixes

其他变更及Bug修复

通用

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

事件

变化:
ZBXNEXT-4118 event.get: 新增 evaltype 属性,扩展 tags 属性以支持新的值 "<​operator>"
ZBXNEXT-4119 event.get: 只返回与基于权限筛选器的标记匹配的问题和相应的恢复事件

item

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

监控项

变化:
ZBXNEXT-4358 新增"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.

监控项原型

Changes:
ZBXNEXT-4200 itemprototype.create, itemprototype.update: 在master_itemid属性中,添加了常规监控项和web监控项作为主监控项的可能性。

mediatype

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

媒介类型

Changes:
ZBXNEXT-4144 验证类型 "Username and password"中的password字段变为选填项。

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

问题

变化:
ZBXNEXT-4118 problem.get: 新增 evaltype 属性,扩展 tags 属性以支持新的值 "<​operator>"
ZBXNEXT-4119 problem.get: 只返回与基于权限筛选器的标记匹配的事件

proxy

Changes:
ZBXNEXT-4411 added a new property auto_compress.

代理

变化:
ZBXNEXT-4411 新增属性 auto_compress

trigger

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

触发器

变化:
ZBXNEXT-4357 trigger.get: 新增 selectTriggerDiscovery 选项, 该选项返回在triggerDiscovery属性中的触发器发现对象

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

用户组

变化:
ZBXNEXT-4119 usergroup.get: 新增 selectTagFilters 选项, 该选项返回 在 tag_filters 属性中,基于标签的权限对象数组
ZBXNEXT-4119 usergroup.create and usergroup.update: 新增 tag_filters 属性