Zabbix Documentation 2.4

2.23.04.04.2 (current)In development:4.4 (devel)Unsupported:1.82.02.43.23.4

User Tools

Site Tools


Sidebar

manual:api:changes_2.2_-_2.4

Appendix 2. Changes from 2.2 to 2.4

Backward incompatible changes

General

ZBXNEXT-1343 dropped support of all node-related parameters
ZBXNEXT-2017 dropped support of output “refer” for all get methods
ZBXNEXT-2017 changed the default value of the “output” parameter to “extend”

action

ZBXNEXT-1133 replaced the conditions array with the action filter object

alert

ZBX-7345 alert.get: removed the deprecated triggerids parameter

apiinfo

ZBX-7781 apiinfo.version: calling the method with the “auth” parameter will now trigger an error

discoveryrule

ZBXNEXT-581 changed the “filter” property to contain a filter object instead of a string

event

ZBX-7345 event.get: removed the deprecated selectTriggers, selectItems and triggerids parameters
ZBX-7345 event.get: removed the deprecated object value for the sortfield parameter

host

ZBX-7345 host.delete: passing array of objects is no longer supported, only array of IDs

httptest

ZBX-7345 dropped support of the deprecated webcheck alias
ZBX-7345 removed the deprecated HTTP test macros property
ZBX-7345 removed the deprecated HTTP test step webstepid property

image

ZBX-8118 image.update: removed possibility to change image type

proxy

ZBX-7345 proxy.delete: passing array of objects is no longer supported, only array of IDs
ZBX-7345 proxy.get: removed the deprecated selectInterfaces parameter

trigger

ZBX-7345 removed the deprecated value_flag property

user

ZBX-7345 user.authenticate: removed deprecated method
ZBX-7345 user.delete: passing array of objects is no longer supported, only array of IDs
ZBX-7781 user.login: calling the method with the “auth” parameter will now trigger an error

Other changes and bug fixes

General

Changes:
ZBX-7981 all of the “exists” methods have been deprecated
ZBXNEXT-2398 all of the “getObjects” methods have been deprecated
ZBXNEXT-2398 all of the “expandData” parameters have been deprecated

application

Changes:
ZBXNEXT-2398 application.get: added “selectHost” parameter; the “selectsHosts” parameter has been deprecated

configuration

Changes:
ZBXNEXT-219 configuration.import: added parameter “deleteMissing” for parameters “applications”, “items”, “discoveryRules”, “triggers”, “graphs” and “templateScreens”

Bug fixes:
ZBXNEXT-219 configuration.import: fixed “createMissing” parameter for applications
ZBX-8216 configuration.import: fixed bug importing multiple screens
ZBX-8791 configuration.import: fixed bug when importing maps when linked elements have linked triggers

discoveryrule

Changes:
ZBXNEXT-581 discoveryrule.get: implemented the “selectFilter” parameter

drule

Bug fixes:
ZBX-8301 restricted “unique” flag in checks to SNMP, Zabbix agent and IP checks
ZBX-8430 added cascade deletion of action condition when deleting connected checks

graph

Bug fixes:
ZBX-7949 fixed child graph name validation to case be case sensitive

graphprototype

Bug fixes:
ZBX-7949 fixed child graph prototype name validation to case be case sensitive

host

Changes:
ZBXNEXT-2117 implemented the “description” property
ZBXNEXT-2123 host.get: implemented the “searchInventory” parameter

Bug fixes:
ZBX-4772 fixed status validation
ZBX-7981 host.massupdate: fixed validation when renaming host to an existing template
ZBX-8530 host.update, host.massupdate: fixed order in which template linking and interface updates are done

hostgroup

Bug fixes:
ZBX-7981 hostgroup.create: fixed duplicate name validation
ZBX-5567 hostgroup.get: removed confusing parameter “not_proxy_hosts”

hostinterface

Changes:
ZBXNEXT-2301 implemented the “bulk” property

httptest

Changes:
ZBXNEXT-282 implemented web scenario “headers”, “verify_peer”, “verify_host”, “ssl_cert_file”, “ssl_key_file” and “ssl_key_password” properties
ZBXNEXT-282 implemented web scenario step “follow_redirects”, “retrieve_mode” and “headers” properties
ZBXNEXT-282 increased the length of web scenario step “url” property to 2048 symbols

Bug fixes:
ZBX-8194 fixed SQL errors generated by missing hosts and duplicate web scenario names, and added missing web step validation
ZBX-8817 httptest.delete: fixed incorrectly generated audit log message with quatation marks instead or brackets
ZBX-8195 httptest.create, httptest.update: fixed step name and URL validation

image

Bug fixes:
ZBX-8132 image.get: fixed not properly returning all images for sysmaps

item

Bug fixes:
ZBX-8568 item.delete: fixed to also delete trigger prototypes using deleted items

itemprototype

Bug fixes:
ZBX-8568 itemprototype.delete: fixed to also delete trigger prototypes using deleted item prototypes

maintenance

Changes:
ZBXNEXT-1910 maintenance.get: allowed sorting by the “active_till” and “active_since” properties.

Bug fixes:
ZBX-7981 fixed duplicate name validation

map

Changes:
ZBXNEXT-2124 implemented the “application” map element filter
ZBX-8950 map.get: fixed “selecIconMap” option

proxy

Changes:
ZBXNEXT-2117 implemented the “description” property

screenitem

Changes:
ZBXNEXT-1583 implemented two new “resourcetype” property values: 19 - “simple graph prototype”, 20 - “graph prototype”
ZBXNEXT-1583 implemented new property “max_columns” with interger value range 1-100

Bug fixes:
ZBX-7921 changed validation of colspan and rowspan values to be bigger than 0
ZBX-8764 screenitem.create, screenitem.update: improved validation of resource ID to disallow it for screen element types that do not use a resource
ZBX-8764 screenitem.update: fixed code to set resource ID to 0 for element types that do not use it

service

Bug fixes:
ZBX-8169 service.getsla: fixed SLA period calculation to account for DST changes

template

Changes:
ZBXNEXT-2117 implemented the “description” property

Bug fixes:
ZBX-7981 template.massupdate: fixed validation when renaming template to an existing host

trigger

Changes:
ZBXNEXT-1782 implemented the new “<>”, “<=”, “>=”, “not”, “or” and “and” operators

Bug fixes:
ZBX-6174 trigger.get: fixed “skipDependent” option not handling cases when triggers upon which other triggers depend are disabled (or have disabled items or disabled item hosts).
ZBX-8227 trigger.get: fixed “applicationids” overriding “groupids”
ZBX-6834 trigger.get: fixed the “host” parameter not returning any results
ZBX-6596 trigger.get: fixed trigger sorting by hostname