Appendix 2. Changes from 6.4 to 7.0

Backward incompatible changes

alert

ZBXNEXT-6974 alert.get: Added strict validation of the method parameters.

authentication

ZBXNEXT-8880 Properties http_auth_enabled, http_login_form, http_strip_domains, http_case_sensitive will be available only if $ALLOW_HTTP_AUTH is enabled in the frontend configuration file (zabbix.conf.php).

connector

ZBXNEXT-8735 Added new property item_value_type, which is supported if data_type is set to "Item values" (0).
ZBXNEXT-8735 Added new property attempt_interval, which is supported if max_attempts is greater than 1.

dashboard

ZBXNEXT-8316, ZBXNEXT-9193, ZBX-24488, ZBX-24490 Renamed dashboard widget type plaintext to itemhistory, replaced its dashboard widget fields itemids.0, style, show_as_html with columns.0.itemid, layout, columns.0.display, and added new dashboard widget fields.
ZBXNEXT-8496 Replaced dashboard widget fields columns.0.timeshift, columns.0.aggregate_interval with columns.0.time_period._reference, columns.0.time_period.from, columns.0.time_period.from in tophosts widget.
ZBXNEXT-2299 Replaced dashboard widget field unacknowledged with two new fields acknowledgement_status and acknowledged_by_me in problems widget.
ZBXNEXT-8245 Removed dashboard widget field adv_conf in clock and item widgets.
ZBXNEXT-8145 Changed dashboard widget field naming: complex data fields renamed from str.str.index1.index2 to str.index1.str.index2 (e.g. thresholds.0.threshold.1, ds.0.hosts.1); fields referencing database objects renamed from str to str.index1 (e.g. itemid.0, severities.0).
ZBXNEXT-8145 Replaced dashboard widget field filter_widget_reference with sysmapid._reference, and removed field source_type in map widget.
ZBXNEXT-8145 Replaced dashboard widget field dynamic with override_hostid._reference in gauge, graph, graphprototype, item, plaintext, and url widgets.
ZBXNEXT-8145 Replaced dashboard widget fields graph_time with time_period._reference, time_from with time_period.from, time_to with time_period.to in svggraph widget.
ZBXNEXT-9044 Changed the value range of the dashboard widget parameters x (from 0-23 to 0-71 ) and y (from 0-62 to 0-63) as well as width (from 1–24 to 1–72) and height (from 2–32 to 1–64).

discoveryrule

ZBXNEXT-7578 discoveryrule.get, discoveryrule.create, discoveryrule.update: The properties headers and query_fields changed from name-indexed object to array of objects with separate name and value properties.

event

ZBXNEXT-6974 event.get: Added strict validation of the method parameters.

host

ZBXNEXT-5878 host.create, host.update, host.massAdd, host.massUpdate, host.massRemove: Added strict validation of the groups, macros, tags, templates parameters.
ZBXNEXT-8500 host.get: Removed support for parameter proxy_hosts.
ZBXNEXT-8500 Renamed property proxy_hostid to proxyid.

hostgroup

ZBXNEXT-8702 hostgroup.get: Renamed parameters selectHostPrototype to selectHostPrototypes, selectDiscoveryRule to selectDiscoveryRules, selectGroupDiscovery to selectGroupDiscoveries; now each parameter will return an array of objects instead of an object.
ZBXNEXT-8702 hostgroup.get: Renamed output properties hostPrototype to hostPrototypes, discoveryRule to discoveryRules, groupDiscovery to groupDiscoveries.
ZBXNEXT-8702 hostgroup.get: Removed support for groupid property in selectGroupDiscoveries (previously - selectGroupDiscovery) parameter.

item

ZBXNEXT-7726 The params property is now required for preprocessing steps of the type "Check for not supported value".
ZBXNEXT-7578 item.get, item.create, item.update: The properties headers and query_fields changed from name-indexed object to array of objects with separate name and value properties.

item prototype

ZBXNEXT-7726 The params property is now required for preprocessing steps of the type "Check for not supported value".
ZBXNEXT-7578 itemprototype.get, itemprototype.create, itemprototype.update: The properties headers and query_fields changed from name-indexed object to array of objects with separate name and value properties.

problem

ZBXNEXT-6974 problem.get: Added strict validation of the method parameters.

proxy

ZBXNEXT-8500 Removed interface and auto_compress object properties.
ZBXNEXT-8500 Added address and port properties for passive Zabbix Proxies.
ZBXNEXT-8500 Renamed properties host to name, status to operating_mode, proxy_address to allowed_addresses.
ZBXNEXT-8500 Changed operating_mode (previously - status) property values (0 - active proxy, 1 - passive proxy) .
ZBXNEXT-8500 proxy.get: Removed support for parameter selectInterface.
ZBXNEXT-8500 proxy.create and proxy.update: Removed support for parameter interface.

script

ZBXNEXT-8880 script.create and script.update: Parameter execute_on value "1" (run on Zabbix server) will be supported only if execution of global scripts is enabled on Zabbix server.
ZBXNEXT-8121 script.getscriptsbyhosts: Method no longer accepts array of host IDs. It now accepts object with the following parameters hostid, scriptid, manualinput.
ZBXNEXT-8121 script.getscriptsbyevents: Method no longer accepts array of event IDs. It now accepts object with the following parameters eventid, scriptid, manualinput.

task

ZBXNEXT-8500 Renamed property proxy_hostid to proxyid.

templatedashboard

ZBXNEXT-9044 Changed the value range of the dashboard widget parameters x (from 0-23 to 0-71 ) and y (from 0-62 to 0-63) as well as width (from 1–24 to 1–72) and height (from 2–32 to 1–64).

user

ZBXNEXT-8760 user.update: Property userdirectoryid for user is made read-only.
ZBXNEXT-8760 user.get: Added new read-only property userdirectory_mediaid for media created by provision action.

userdirectory

ZBXNEXT-8760 userdirectory.create, userdirectory.update: Added new properties to media mappings - active, severity, period.

usergroup

ZBXNEXT-8760 usergroup.update: Added restriction on changes of group users for provisioned users.

Other changes and bug fixes

action

ZBXNEXT-6524 Added support of two new values in operationtype property (13 - Add host tags, 14 - Remove host tags) and new property optag for two eventsource action types (1 - Discovery, 2 - Autoregistration) available only in the operations property.
ZBX-21850 action.get: Filter conditions will be sorted in the order of their placement in the formula.

auditlog

ZBXNEXT-8541 Added new audit log entry action (12 - Push) and resource type (53 - History).

authentication

ZBXNEXT-6876 Added new properties mfa_status and mfaid.

correlation

ZBX-21850 correlation.get: Filter conditions will be sorted in the order of their placement in the formula.

dashboard

ZBXNEXT-8956 Added new dashboard widget fields groupids._reference, hostids._reference, itemid._reference, graphid._reference, reference in multiple widgets.
ZBXNEXT-9057 Added new dashboard widget field show_software_update_check_details in systeminfo widget.
ZBXNEXT-8686 Added new dashboard widget type itemnavigator.
ZBXNEXT-8685 Added new dashboard widget type hostnavigator.
ZBXNEXT-8683 Added new dashboard widget type honeycomb.
ZBXNEXT-8907 Added new dashboard widget field legend_lines_mode in graph widget.
ZBXNEXT-8496 Added new dashboard widget fields aggregate_function, history, time_period._reference, time_period.from, time_period.from in item widget.
ZBXNEXT-7736 Added new dashboard widget field interface_type value (5 - Zabbix Agent(active checks)) in hostavail widget.
ZBXNEXT-7736 Added new dashboard widget field only_totals in hostavail widget.
ZBXNEXT-7687 Added new dashboard widget field maintenance in tophosts widget.
ZBXNEXT-6974 Added new dashboard widget type toptriggers.
ZBXNEXT-743 Added new dashboard widget type gauge.
ZBXNEXT-8331, ZBXNEXT-8145, ZBXNEXT-8908, ZBXNEXT-8907 Added new dashboard widget type piechart.
ZBXNEXT-8331 Added new dashboard widget field legend_aggregation in graph widget.
ZBXNEXT-8145 Added new dashboard widget field reference in svggraph, graph, and graphprototype widgets.
ZBXNEXT-8145 Added new dashboard widget fields time_period._reference, time_period.from, time_period.to in actionlog, graph, graphprototype, and toptriggers widgets.

dcheck

ZBXNEXT-8079 Added new property allow_redirect.

discoveryrule

ZBXNEXT-9150 Added new LLD rule type (22 - Browser).
ZBXNEXT-8645 Added new LLD rule preprocessing type "SNMP get value" (30).
ZBXNEXT-8645 Property timeout is now also supported if item type is set to "SNMP agent" (20) and snmp_oid starts with "get[".
ZBXNEXT-1096 Property timeout is now supported if item type is set to "Zabbix agent" (0), "Simple check" (3) and key_ does not start with "vmware." and "icmpping", "Zabbix agent (active)" (7), "External check" (10), "Database monitor" (11), "SSH agent" (13), "TELNET agent" (14), "SNMP agent" (20) and snmp_oid starts with "walk[".
ZBXNEXT-7726 Added support for LLD rule preprocessing type "Matches regular expression" (14).
ZBXNEXT-6986 Deprecated method discoveryrule.copy.
ZBXNEXT-7578 It is now possible to store more data for the query_fields property, have repeated header and query_fields entries.
ZBXNEXT-2020 Added new properties lifetime_type, enabled_lifetime and enabled_lifetime_type.
ZBXNEXT-2020 Changed default value of lifetime parameter from 30d to 7d.
ZBX-21850 discoveryrule.get: Filter conditions will be sorted in the order of their placement in the formula.

drule

ZBXNEXT-2732 Added new property concurrency_max.
ZBXNEXT-8500 Renamed proxy_hostid to proxyid

event

ZBXNEXT-6974 event.get: Added new parameters selectAcknowledges, selectAlerts, trigger_severities, and groupBy.
ZBXNEXT-6974 event.get: Deprecated parameters select_acknowledges and select_alerts.
ZBXNEXT-2299, ZBX-23240 event.get: Added new parameters action and action_userids.

graph

ZBXNEXT-2020 graph.get: Method now also supports status property if selectGraphDiscovery parameter is used.

history

ZBXNEXT-9193 history.get: Parameter sortfield now supports ns.
ZBXNEXT-8541 Added new method history.push.

host

ZBXNEXT-8758 Added new properties monitored_by and proxy_groupid.
ZBXNEXT-8758 Added new read-only property assigned_proxyid.
ZBXNEXT-8758 host.get: Added new parameter proxy_groupids.
ZBXNEXT-2020 host.get: Method now also supports status, ts_disable and disable_source properties if selectHostDiscovery parameter is used.

hostgroup

ZBXNEXT-2020 hostgroup.get: Method now also supports status property if selectGroupDiscoveries parameter is used.

item

ZBXNEXT-9150 Added new item type (22 - Browser).
ZBXNEXT-7460 Added new read-only property name_resolved.
ZBXNEXT-8645 Added new item preprocessing type "SNMP get value" (30).
ZBXNEXT-8645 Property timeout is now also supported if item type is set to "SNMP agent" (20) and snmp_oid starts with "get[".
ZBXNEXT-1096 Property timeout is now supported if item type is set to "Zabbix agent" (0), "Simple check" (3) and key_ does not start with "vmware." and "icmpping", "Zabbix agent (active)" (7), "External check" (10), "Database monitor" (11), "SSH agent" (13), "TELNET agent" (14), "SNMP agent" (20) and snmp_oid starts with "walk[".
ZBXNEXT-7726 Added scope and pattern components to parameters for steps of the type "Check for not supported value".
ZBXNEXT-7578 It is now possible to store more data for the query_fields property, have repeated header and query_fields entries.
ZBXNEXT-2020 item.get: Method now also supports status, ts_disable and disable_source properties if selectItemDiscovery parameter is used.

item prototype

ZBXNEXT-9150 Added new item prototype type (22 - Browser).
ZBXNEXT-8645 Added new item prototype preprocessing type "SNMP get value" (30).
ZBXNEXT-8645 Property timeout is now also supported if item type is set to "SNMP agent" (20) and snmp_oid starts with "get[".
ZBXNEXT-1096 Property timeout is now supported if item type is set to "Zabbix agent" (0), "Simple check" (3) and key_ does not start with "vmware." and "icmpping", "Zabbix agent (active)" (7), "External check" (10), "Database monitor" (11), "SSH agent" (13), "TELNET agent" (14), "SNMP agent" (20) and snmp_oid starts with "walk[".
ZBXNEXT-7726 Added scope and pattern components to parameters for steps of the type "Check for not supported value".
ZBXNEXT-7578 It is now possible to store more data for the query_fields property, have repeated header and query_fields entries.

mediatype

ZBXNEXT-4165 mediatype.get: Added new parameter selectActions.
ZBXNEXT-9138 mediatype.get, mediatype.create, mediatype.update: Added new property message_format.
ZBXNEXT-9138 mediatype.get, mediatype.create, mediatype.update: Deprecated property content_type.

mfa

ZBXNEXT-6876 Added new MFA API with methods mfa.create, mfa.update, mfa.get, mfa.delete.

problem

ZBXNEXT-2299, ZBX-23240 problem.get: Added new parameters action and action_userids.

proxy

ZBXNEXT-9150 Added new property timeout_browser.
ZBXNEXT-8758 Added new read-only property state.
ZBXNEXT-8758 proxy.get: Added new parameters selectAssignedHosts and selectProxyGroup.
ZBXNEXT-8758 proxy.get: Parameter selectHosts now supports count.
ZBXNEXT-1096 Added new properties custom_timeouts, timeout_zabbix_agent, timeout_simple_check, timeout_snmp_agent, timeout_external_check, timeout_db_monitor, timeout_http_agent, timeout_ssh_agent, timeout_telnet_agent, timeout_script.
ZBXNEXT-8500 Added address and port properties for passive Zabbix proxies.

proxygroup

ZBXNEXT-8758 Added new proxygroup API.

script

ZBXNEXT-8121 Added new properties manualinput, manualinput_prompt, manualinput_validator, manualinput_validator_type, manualinput_default_value.
ZBXNEXT-8121 script.execute: Added new parameter manualinput.

settings

ZBXNEXT-9150 Added new property timeout_browser.
ZBXNEXT-8837 Added new property auditlog_mode.
ZBXNEXT-1096 Added new properties timeout_zabbix_agent, timeout_simple_check, timeout_snmp_agent, timeout_external_check, timeout_db_monitor, timeout_http_agent, timeout_ssh_agent, timeout_telnet_agent, timeout_script.

templatedashboard

ZBXNEXT-8686 Added new template dashboard widget type itemnavigator.
ZBXNEXT-8685 Added new template dashboard widget type hostnavigator.
ZBXNEXT-8683 Added new template dashboard widget type honeycomb.
ZBXNEXT-6974 Added new template dashboard widget type toptriggers.
ZBXNEXT-743 Added new template dashboard widget type gauge.
ZBXNEXT-8086 Added new template dashboard widget types actionlog, dataover, discovery, favgraphs, favmaps, hostavail, map, navtree, problemhosts, problems, problemsbysv, slareport, svggraph, systeminfo, tophosts, trigover, web.
ZBXNEXT-8086 Added new template dashboard widget field types (8 - Map, 9 - Service, 10 - SLA, 11 - User, 12 - Action, 13 - Media type).
ZBXNEXT-8331 Added new template dashboard widget type piechart.

trigger

ZBXNEXT-2020 trigger.get: Method now also supports status, ts_disable and disable_source properties if selectTriggerDiscovery parameter is used.

user

ZBXNEXT-6876 Added new method user.resettotp.
ZBXNEXT-6876 user.login: Method now also returns mfaid if userData parameter is used.

usergroup

ZBXNEXT-6876 Added new properties mfa_status and mfaid.
ZBXNEXT-6876 usergroup.get: Added new parameters mfa_status and mfaids.