Documentation

You are viewing documentation for the development version, it may be incomplete.
Join our translation project and help translate Zabbix documentation into your native language.

Sidebar

Become a monitoring expert!
Sign up for Zabbix training

Appendix 2. Changes from 6.0 to 6.2

Backward incompatible changes

authentication

Changes:
ZBXNEXT-2289 authentication.get, authentication.create, authentication.update: removed properties ldap_host, ldap_port, ldap_base_dn, ldap_search_attribute, ldap_bind_dn, ldap_bind_password.

configuration

Changes:
ZBXNEXT-2592 configuration.export: option groups is not supported, instead new options introduced host_groups and template_groups.

hostgroup

Changes:
ZBXNEXT-2592 hostgroup object does not have property internal anymore.
ZBXNEXT-2592 hostgroup.get: removed options templated_hosts, with_hosts_and_templates, selectTemplates.
ZBXNEXT-2592 hostgroup.massadd, hostgroup.massupdate: does not accept templates parameter anymore.
ZBXNEXT-2592 hostgroup.massremove: does not accept templateids parameter anymore.

template

Changes:
ZBXNEXT-2592 template.create, template.massadd, template.massupdate, template.update: parameter groups now accepts only template groups and must contain template group groupid.
ZBXNEXT-2592 template.massremove: parameter groupids is now template groups groupids.

trigger

Changes:
ZBX-20613 trigger.adddependencies, trigger.deletedependencies: support for the methods dropped.

Other changes and bug fixes

auditlog

ZBXNEXT-2592 added new resourcetype (50 - Template group).
ZBXNEXT-2289 added new resourcetype (49 - LDAP user directory).
ZBXNEXT-1580 added new action (11 - Config refresh).

authentication

ZBXNEXT-2289 authentication.get, authentication.create, authentication.update: added property ldap_userdirectoryid.

event

ZBXNEXT-721 event.acknowledge: added support of new acknowledge actions 32 - suppress and 64 - unsuppress.
ZBXNEXT-721 event.acknowledge: added new property suppress_until to specify time for suppress action.
ZBXNEXT-721 event.get: added new parameter userid to suppression_data property.

graph

Changes:
ZBXNEXT-2592 graph.get: deprecated option selectGroups, new options selectHostGroups, selectTemplateGroups.

graphprototype

Changes:
ZBXNEXT-2592 graphprototype.get: deprecated option selectGroups, new options selectHostGroups, selectTemplateGroups.

host

Changes:
ZBXNEXT-2592 host.get: deprecated option selectGroups, new option selectHostGroups.
ZBXNEXT-5517 host.update: added new field automatic to macros property with possible value "0" to change state of existing discovered host macro to manually user created macro.
ZBXNEXT-5517 host.update: added possibility to add user macros to discovered hosts.
ZBXNEXT-5517 host.get: added new field automatic to macros property that determines if macro on discovered host was created by discovery rule or manually created by user (0 - user created macro, 1 - macro created by discovery rule).
ZBXNEXT-5088 host.get: added new property for host active interface availability status active_available (0 - unknown, 1 - available, 2 - not available).
ZBXNEXT-7523 host.get: option selectParentTemplates returns a new property link_type (0 - manually linked, 1 - linked by LLD) and allows only to select template related fields "templateid", "host", "name", "description", "uuid" and "link_type". As well as "extend" or "count".
ZBXNEXT-7523 host.massremove: properties templateids and templateids_clear allow to remove only templates that are manually linked. Automatically linked templates by LLD are skipped.
ZBXNEXT-7523 host.massupdate, host.update: properties templates and templates_clear are now allowed for discovered hosts. Only manually linked templates can be removed.

hostgroup

Changes:
ZBXNEXT-2592 hostgroup.get: deprecated options monitored_hosts, real_hosts, new options with_hosts, with_monitored_hosts.
ZBXNEXT-2592 hostgroup.propagate: new method.

maintenance

Changes:
ZBXNEXT-2592 maintenance.get: deprecated option selectGroups, new option selectHostGroups.

problem

Changes:
ZBXNEXT-721 problem.get: added new parameter userid to suppression_data property.

role

Changes:
ZBXNEXT-4768 rules -> actions property name accepts new value "invoke_execute_now" and property status has possible values: 0 - (default) user cannot execute item check if user has only read permissions to host, 1 - user may execute item check even though user has only read permissions to host. This value is ignored for super admins.

script

Changes:
ZBXNEXT-2592 script.get: deprecated option selectGroups, new option selectHostGroups.

settings

Changes:
ZBXNEXT-7402 settings.get: new property vault_provider (0 - HashiCorp Vault, 1 - CyberArk Vault).

task

Changes:
ZBXNEXT-1580 added new type (2 - Refresh proxy configuration) and new field proxy_hostids in request property.
ZBXNEXT-4768 task.create: tasks with type "6" (Execute now) now accepts dependent items, but only if top level master item is of allowed type: (0 - Zabbix agent, 3 - Simple check, 5 - Zabbix internal, 10 - External check, 11 - Database monitor, 12 - IPMI agent, 13 - SSH agent, 14 - TELNET agent, 15 - Calculated, 16 - JMX agent, 19 - HTTP agent, 20 - SNMP agent, 21 - Script).

template

Changes:
ZBXNEXT-2592 template.get: deprecated option selectGroups, new option, selectTemplateGroups.
ZBXNEXT-7523 template.get: option selectParentTemplates returns a new property "link_type" (0 - manually linked, 1 - linked by LLD) and allows only to select template related fields "templateid", "host", "name", "description" and "uuid". As well as "extend" or "count".

templategroup

Changes:
ZBXNEXT-2592 added new templategroup API introducing new methods: templategroup.create, templategroup.delete, templategroup.get, templategroup.massadd, templategroup.massremove, templategroup.massupdate, templategroup.propagate, templategroup.update.

trigger

Changes:
ZBXNEXT-2592 trigger.get: deprecated option selectGroups, new options selectHostGroups, selectTemplateGroups.

triggerprototype

Changes:
ZBXNEXT-2592 triggerprototype.get: deprecated option selectGroups, new option selectHostGroups, selectTemplateGroups.

user

Changes:
ZBXNEXT-2289 user.checkAuthentication: returns a new property userdirectoryid.
ZBXNEXT-2289 user.login: option userData returns a new property userdirectoryid.

userdirectory

Changes:
ZBXNEXT-2289 added new userdirectory API introducing new methods userdirectory.get, userdirectory.create, userdirectory.update, userdirectory.delete, userdirectory.test.

usergroup

Changes:
ZBXNEXT-2592 usergroup.get: deprecated option selectRights, new options selectHostGroupRights, selectTemplateGroupRights.
ZBXNEXT-2289 usergroup.create, usergroup.update, usergroup.get: added property userdirectoryid.

usermacro

Changes:
ZBXNEXT-2592 usermacro.get: deprecated option selectGroups, new options selectHostGroups, selectTemplateGroups.
ZBXNEXT-5517 usermacro.update: added new field automatic to macros property with possible value "0" to change state of existing discovered host macro to manually user created macro.
ZBXNEXT-5517 usermacro.update: added possibility to add user macros to discovered hosts.
ZBXNEXT-5517 usermacro.get: added new field automatic to macros property that determines if macro on discovered host was created by discovery rule or manually created by user (0 - user created macro, 1 - macro created by discovery rule).