Sidebar

Appendix 2. Changes from 5.4 to 6.0

Backward incompatible changes

action

Changes:
ZBXNEXT-6920 action.create, action.update: added strict validation of the methods parameters.
ZBXNEXT-6755 action.create, action.update: renamed parameter acknowledge_operations to update_operations.
ZBXNEXT-6755 action.get: renamed parameter selectAcknowledgeOperations to selectUpdateOperations.

auditlog

Changes:
ZBXNEXT-6715 dropped support of property note.
ZBXNEXT-6715 dropped support of resourcetype values (2 - Configuration of Zabbix, 7 - Graph element).
ZBXNEXT-6715 dropped support of action values (5 - Enable, 6 - Disable).
ZBXNEXT-6718 dropped support of action value (3 - Login).
ZBXNEXT-6715 auditlog.get: dropped support of parameter selectDetails.

host group

Changes:
ZBXNEXT-6868 hostgroup.massupdate: hosts and templates fields are now required.
ZBXNEXT-6868 hostgroup.massadd, hostgroup.massupdate, hostgroup.massremove: added strict validation of the method parameters.

iconmap

Changes:
ZBXNEXT-6914 iconmap.create, iconmap.update: dropped support of the icon mapping object property sortorder.

maintenance

Changes:
ZBXNEXT-6890 maintenance.create, maintenance.update,maintenance.delete: added strict validation of the methods parameters.
ZBXNEXT-6890 maintenance.get,maintenance.update: dropped support for parameter timeperiodid of the timeperiod object.

mediatype

Changes:
ZBXNEXT-6885 mediatype.create, mediatype.update: added strict validation of the methods parameters.

role

Changes:
ZBXNEXT-6787 dropped support of value manage_services for name property in action object.
ZBXNEXT-3022 dropped support of value configuration.services for name property in UI object.

service

Changes:
ZBXNEXT-6999 added uuid, description and created_at properties.
ZBXNEXT-6999 dropped support for the showsla, goodsla and times properties.
ZBXNEXT-6800 changed status value "0" meaning from "OK" to "Not classified".
ZBXNEXT-3022 dropped support of service.adddependencies, service.addtimes, service.deletedependencies, service.deletetimes.
ZBXNEXT-6674 dropped support of property triggerid.

ZBXNEXT-6999 service.get: dropped support for showsla, selectAlarms, selectTimes parameters.
ZBXNEXT-6999 service.getsla: dropped support for the method.
ZBXNEXT-6999 sla.get, sla.create, sla.update, sla.delete, sla.getsli methods added.
ZBXNEXT-6999 service.get: added support for sorting by serviceid, status and created_at.
ZBXNEXT-6999 service.get: added support for slaids parameter; added support for filtering by uuid.
ZBXNEXT-6999 service.create, serevice.update: dropped support for showsla, goodsla and times parameters.
ZBXNEXT-2406 service.getsla: removed status and problems properties from response of request with intervals parameter.
ZBXNEXT-3022 service.create, service.update: dropped support of parameters dependencies and parentid.
ZBXNEXT-3022 service.get: dropped support of parameters selectParent, selectDependencies and selectParentDependencies.
ZBXNEXT-6674 service.get: dropped support of parameter selectTrigger.

template

Changes:
ZBXNEXT-6867 template.create, template.update, template.delete, template.massadd, template.massupdate, template.massremove: added strict validation of the methods parameters.
ZBXNEXT-6867 template.create, template.update, template.massadd, template.massupdate: dropped support of parameter hosts.
ZBXNEXT-6867 template.massremove: dropped support of parameter hostids.

trigger

Changes:
ZBXNEXT-6867 trigger.adddependencies, trigger.deletedependencies: dropped the ability to edit the dependencies of inherited triggers.

Other changes and bug fixes

action

Changes:
ZBXNEXT-6755 added new conditiontype values (27 - Service, 28 - Service name).
ZBXNEXT-6250 action.get, action.create, action.update: added new property notify_if_canceled.

auditlog

Changes:
ZBXNEXT-6999 added new resourcetype (48 - SLA).
ZBXNEXT-6923 added new resourcetype (47 - High availability node).
ZBXNEXT-6718 added support of action values (8 - Login, 9 - Failed login, 10 - History clear).
ZBXNEXT-6715 added support of properties: username, recordsetid, details.

authentication

Changes:
ZBXNEXT-4029 added new password policy fields passwd_min_length and passwd_check_rules.

dashboard

Changes:
ZBXNEXT-6999 added new widget type slareport and widget field types (9 - Service, 10 - SLA).
ZBXNEXT-6966 added new widget type item.

history

Changes:
ZBXNEXT-6714 added new API method history.clear.

housekeeping

Changes:
ZBXNEXT-6755 added support of property hk_events_service.

item

Changes:
ZBXNEXT-7049 item.get, item.create, item.update: added the third parameter to the Prometheus pattern preprocessing step. The second parameter will now determine an aggregation method: value, label, function. The third parameter will now contain Prometheus output for the aggregation method label or an aggregation function for the aggregation method function.

item prototype

Changes:
ZBXNEXT-7049 itemprototype.get, itemprototype.create, itemprototype.update: added the third parameter to the Prometheus pattern preprocessing step. The second parameter will now determine an aggregation method: value, label, function. The third parameter will now contain Prometheus output for the aggregation method label or an aggregation function for the aggregation method function.

maintenance

Changes:
ZBXNEXT-6890 maintenance.create, maintenance.update: the parameter groupids is now deprecated. Use groups instead.
ZBXNEXT-6890 maintenance.create, maintenance.update: the parameter hostids is now deprecated. Use hosts instead.
ZBXNEXT-6890 maintenance.create, maintenance.update: changed the type of parameters groups, hosts, timeperiods and tags from array to object/array.

mediatype

Changes:
ZBXNEXT-6755 message template object: added support of conditiontype value: 4 - (event created on service status update).

proxy

Changes:
ZBXNEXT-6889 proxy.create, proxy.update: dropped support of interface.interfaceid and interface.hostid properties.

regexp

Changes:
ZBXNEXT-6717 added regexp.get, regexp.create, regexp.update and regexp.delete API.

role

Changes:
ZBXNEXT-6787 added support of new properties services.read.mode, services.read.list, services.read.tag, services.write.mode, services.write.list and services.write.tag.
ZBXNEXT-3022 added support of name value manage_services.

service

Changes:
ZBXNEXT-6787 added new property readonly.
ZBXNEXT-6800 added support of properties weight, propagation_rule and propagation_value.
ZBXNEXT-6800 added support of status value (-1 - OK).
ZBXNEXT-2406 service.get: added support of parameters deep_parentids and selectProblemEvents.
ZBXNEXT-6800 service.create, service.update: added support of parameter status_rules.
ZBXNEXT-6800 service.get: added support of parameter selectStatusRules.
ZBXNEXT-6800 service.get: added support of count for parameter selectAlarms.
ZBXNEXT-3022 service.create, service.update: added support of parameters children, parents and tags.
ZBXNEXT-3022 service.get: added support of parameters evaltype, tags, selectChildren, selectParents, selectTags.
ZBXNEXT-3022 service.get: added support of parameters problem_tags, without_problem_tags and selectProblemTags.
ZBXNEXT-6674 service.create, service.update: added support of parameter problem_tags.

settings

Changes:
ZBXNEXT-6945 settings.get, settings.update: added support of parameters geomaps_tile_provider, geomaps_tile_url, geomaps_max_zoom and geomaps_attribution.
ZBXNEXT-6715 settings.get, settings.update: added support of parameter auditlog_enabled.

sla

Changes:
ZBXNEXT-6999 added new API sla with methods: sla.create, sla.delete, sla.get, sla.getsli, sla.update.

templatedashboard

Changes:
ZBXNEXT-6966 added support of new widget type item.

user

Changes:
ZBXNEXT-6718 added new method user.unblock.
ZBXNEXT-4029 user.create, user.update: implemented password strength validation according the password policy.

usergroup

Changes:
ZBXNEXT-6866 usergroup.create, usergroup.update: userids parameter is now deprecated. Use users instead.