附录 2. 从 7.4 到 8.0 的变更

重大变更

history

ZBXNEXT-10069 为 history.get 方法新增了参数 maxValueSize。 如果您正在请求具有二进制值(history=5)的监控项数据,请将 maxValueSize 设置为 null;否则,history.get 将返回被截断为 64KiB 的监控项值。

主机

ZBXNEXT-10387 host.massupdate:已移除该方法。 请改用 host.update。

主机群组

ZBXNEXT-10387 hostgroup.massupdate:已移除该方法。 请改用 hostgroup.update、hostgroup.massadd 或 hostgroup.massremove。

hostinterface

ZBXNEXT-10387 hostinterface.replacehostinterfaces:已移除该方法。 请改用 hostinterface.update、hostinterface.massadd 或 hostinterface.massremove。

模板

ZBXNEXT-10387 template.massupdate:已移除该方法。 请改用 template.update、template.massadd 或 template_massremove。

模板组

ZBXNEXT-10387 templategroup.massupdate:已移除该方法。 请改用 templategroup.update、templategroup.massadd 或 templategroup.massremove。

其他更改和错误修复

action

如果事件源为发现/自动注册,则在 conditiontype action 过滤参数中新增值 29(proxy 组)。

配置

ZBXNEXT-5419 为 configuration.importcompare 方法新增了 returnMissingObjects 参数。
ZBXNEXT-5419 为 rules 对象(configuration.importcompare 方法)新增了 dashboards 参数。
ZBXNEXT-5419 为 configuration.import 方法新增了 returnMissingObjects 参数。
ZBXNEXT-5419 为 rules 对象(configuration.import 方法)新增了 dashboards 参数。 ZBXNEXT-10390 为 configuration.export 方法的 options 对象新增了 global_regexes 参数。 ZBXNEXT-10390 为 configuration.importcompare 和 configuration.import 方法的 rules 对象新增了 global_regexes 参数。

连接器

ZBXNEXT-10069 已向 connector 对象新增 item_value_type 值(64 - JSON)。

仪表板

ZBXNEXT-4769 为 graph 小组件新增了仪表板小组件字段 show_hostnames。
ZBXNEXT-9546 为 svggraph 和 piechart 小组件新增了仪表板小组件字段 ds.0.item_tags_evaltype、ds.0.item_tags.0.tag、ds.0.item_tags.0.operator 和 ds.0.item_tags.0.value。
ZBXNEXT-10158 为 topitems 小组件新增了仪表板小组件字段 columns.0.aggregate_columns、columns.0.combined_column_name 和 columns.0.column_aggregate_function。
ZBXNEXT-9424、ZBXNEXT-4769 新增了仪表板小组件类型 scatterplot。
ZBXNEXT-8160 为 geomap 小组件新增了仪表板小组件字段 clustering_mode 和 clustering_zoom_level。
ZBXNEXT-943 为 graph 小组件新增了仪表板小组件字段 ds.0.invert_values。
ZBXNEXT-10657 为 honeycomb 小组件的 Color 和 Background color 参数新增了“dark-blue-theme”主题的默认值。

事件

ZBXNEXT-1150 在 event.get 方法的 selectAcknowledges 参数中新增了一个 maintenanceid 属性。

templatedashboard

ZBXNEXT-9424 新增了模板仪表板小部件类型 scatterplot。

历史记录

ZBXNEXT-10069 已向 history.get 方法添加新的 history 值(6 - JSON)。
ZBXNEXT-10069 已添加新的 JSON history 对象。

主机原型

ZBXNEXT-9546 向 hostprototype.get 方法新增了参数 selectInheritedTags。

httptest

ZBXNEXT-9546 已向 httptest.get 方法添加了新参数 inheritedTags 和 selectInheritedTags。

监控项

ZBXNEXT-10069 向item对象新增了 value_type 值(6 - JSON)。
ZBXNEXT-9546 向item.get 方法新增了参数 inheritedTags 和 selectInheritedTags。

itemprototype

ZBXNEXT-10069 已向 itemprototype 对象添加新的 value_type 值(6 - JSON)。
ZBXNEXT-9546 已向 itemprototype.get 方法添加新的参数 selectInheritedTags。

问题

ZBXNEXT-1150 在 problem.get 方法的 selectAcknowledges 参数中新增了一个属性 maintenanceid。

regexp

ZBXNEXT-10390 为 regular expression 对象新增了一个 description 属性。

角色

ZBXNEXT-10469 更改了角色规则对象中 api.access 属性的默认值。 默认值现在为 0(禁用)。

设置

ZBXNEXT-10657 为 settings 对象的 default_theme 属性添加了 dark-blue-theme 值。

模板

ZBXNEXT-9546 向 template.get 方法新增了参数 inheritedTags 和 selectInheritedTags。

触发器

ZBXNEXT-9546 已向 trigger.get 方法添加了新参数 inheritedTags 和 selectInheritedTags。

triggerprototype

ZBXNEXT-9546 向 triggerprototype.get 方法新增了参数 selectInheritedTags。

triggertag

ZBXNEXT-5467 已向触发器标签对象添加了 automatic 属性。

用户

ZBXNEXT-10657 为 user 对象的 theme 属性添加了 dark-blue-theme 值。

userdirectory

ZBXNEXT-9834 已向 用户目录 对象添加属性 idp_certificate、sp_private_key、sp_certificate、idp_certificate_hash、sp_private_key_hash 和 sp_certificate_hash。