This is the documentation page for an unsupported version of Zabbix.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.

Zabbix API changes in 2.2

2.2.16

httptest

Bug fixes:
ZBX-10842 httptest.update: fixed SQL error when updating httptest with applicationid and without httpstepid parameters
ZBX-10842 httptest.update: prevented disappearing of step items when updating httptest without applicationid, httpstepid parameters
ZBX-10842 httptest.update: fixed connecting web scenario applicationid to created steps when updating

usergroup

Bug fixes:
ZBX-11121 usergroup.update, usergroup.massupdate, usergroup.delete: disallowed leaving a user without linked user groups

2.2.15

host

Bug fixes:
ZBX-11020 host.create: made both "inventory" and "inventory_mode" optional

2.2.14

trigger

Bug fixes:
ZBX-10933 trigger.update: fixed unexpected overwriting of trigger expressions for unchanged triggers when updating multiple triggers simultaneously via the API trigger.update method

2.2.13

host

Bug fixes:
ZBX-10587 host.create: fixed inventory mode not being inherited for host prototypes when linking a template to this host

item

Bug fixes:
ZBX-10755 item.delete: fixed possible SQL errors when deleting items which are used in Y axis MIN/MAX parameters

template

Bug fixes:
ZBX-10587 template.create: fixed inventory mode not being inherited for host prototypes when linking this template to another template or host

2.2.12

hostgroup

Bug fixes:
ZBX-9162 hostgroup.get: performance improvements under MySQL

httptest

Bug fixes:
ZBX-10316 removed faulty web scenario step name validation

item

Bug fixes:
ZBX-10262 item.update: fixed "delta" field being modified for templated items

maintenance

Bug fixes:
ZBX-4842 maintenance.create, maintenance.update, maintenance.delete: added auditlog

map

Bug fixes:
ZBX-10251 map.get: fixed "countOutput" calculation for unprivileged users

screen

Bug fixes:
ZBX-10150 screen.get: fixed "countOutput" calculation for unprivileged users
ZBX-10369 screen.update: fixed unexpected deleting of screen items when updating both screen size and screen items

service

Bug fixes:
ZBX-10232 service.getSla: fixed SQL errors with invalid "year" parameter in IT services report

triggerprototype

Bug fixes:
ZBX-10155 triggerprototype.create, triggerprototype.update: prohibited creation of a trigger prototype which belongs to a host and a template simultaneously
ZBX-10155 triggerprototype.create, triggerprototype.update: prohibited creation of a trigger prototype without item prototypes in the expression
ZBX-10155 triggerprototype.create, triggerprototype.update: prohibited creation of a trigger prototype without permissions to a host or template in the expression

2.2.11

General

Bug fixes:
ZBX-9340 fixed "data" property not being returned by API when error is generated on DB level

hostgroup

Bug fixes:
ZBX-9738 hostgroup.delete: fixed deletion of related action operations when deleting a host group

item

Bug fixes:
ZBX-8235 item.update: fixed losing initial values when updating templated items

2.2.10

maintenance

Bug fixes:
ZBX-5656 fixed "timeperiods" validation when passing a single timeperiod object

2.2.9

host

Bug fixes:
ZBX-8448 host.update, host.massupdate, host.massadd: fixed "groups" property to also accept read-only "groupid" if host currently belongs to both read and read-write groups
ZBX-9093 host.create: fixed "inventory" property causing SQL errors when using MySQL strict mode

hostgroup

Bug fixes:
ZBX-8448 hostgroup.massupdate, hostgroup.massremove: fixed permissions validation to no longer silently remove hosts and templates to which user has no write permissions

template

Bug fixes:
ZBX-8448 template.massadd: fixed "groups" property to also accept read-only "groupid" if template currently belongs to both read and read-write groups
ZBX-8448 template.update, template.massupdate: fixed "hosts" property to no longer silently remove hosts and templates to which user has no write permissions

2.2.8

application

Bug fixes:
ZBX-8832 application.create: fixed template application inheritance when template is linked to one or more templates having applications with same name

item

Bug fixes:
ZBX-8904 item.get: fixed "selectInterfaces" option retrieving all host interfaces

hostgroup

Bug fixes:
ZBX-9017 hostgroup.create, hostgroup.update: fixed methods accepting readonly "internal" param for create/update.

httptest

Bug fixes:
ZBX-8486 fixed web scenario re-linking

2.2.7

trigger

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)

user

Bug fixes:
ZBX-8650 user.get: fixed undefined index 'passwd' when using 'search' option

2.2.6

host

Bug fixes:
ZBX-8603 host.massadd: fixed web scenario fields "http_proxy" and "retries" not updating properly when linking template to host

item

Breaking changes:
ZBX-8428 item.get: changed item last value retrieval to use only values from last 24 hours

usergroup

Bug fixes:
ZBX-8493 usergroup.massadd: fixed creating duplicate entries in "rights" table

template

Bug fixes:
ZBX-8603 template.massadd: fixed web scenario fields "http_proxy" and "retries" not updating properly when linking to template

trigger

Breaking changes:
ZBX-8473 trigger.delete, trigger.update: removed trigger event deletion directly via frontend API
Bug fixes:
ZBX-8510 fixed possible deadlocks when updating or removing triggers used in IT services
ZBX-8424 trigger.get: fixed option 'selectLastEvent' not returning results when clock value is higher than event ID
=== service ===

Bug fixes:
ZBX-8510 fixed possible deadlocks when changing the structure of the service graph

2.2.5

configuration

Bug fixes:
ZBX-8151 configuration.import: fixed XXE vulnerability while importing XML with external entities

2.2.4

hostprototype

Bug fixes:
ZBX-8334 hostprototype.get: fixed getting of group prototypes in Oracle

httptest

Bug fixes:
ZBX-7766 fixed web scenario step validation to allow user macro in status code field
ZBX-8195 fixed step name and URL validation

image

Bug fixes:
ZBX-8101 image.get: fixed returning image data having defined "sysmapids" and extended output options for ORACLE database

2.2.3

application

Bug fixes:
ZBX-7879 fixed creating and updating applications with multibyte characters in template which is linked to host while mbstring.func_overload set greater than 1

graph

Bug fixes:
ZBX-6742 fixed templated graph item validation when items seem to belong to multiple hosts
ZBX-6151 graph.update: fixed validation allowing to pass only 'gitemid' parameter without 'itemid'
ZBX-7809 graph.update: fixed unused graph Y axis min/max fields unsetting from db

graphprototype

Bug fixes:
ZBX-6742 fixed templated graph prototype item validation when items seem to belong to multiple hosts
ZBX-6151 fixed validation so item prototypes are no longer allowed from multiple discovery rules
ZBX-6151 graphprototype.create: added missing graph prototype name in error message when validating non-numeric items
ZBX-6151 graphprototype.update: fixed validation allowing to pass only 'gitemid' parameter without 'itemid'. Added missing graph prototype name in error message when validating non-numeric items

screen

Bug fixes:
ZBX-7832 screen.update: fixed screen item row- and colspans not being adjusted when reducing the size of a screen

trigger

Bug fixes:
ZBX-7674 trigger.delete: fixed trigger unlink from IT Services

triggerprototype

Bug fixes:
ZBX-6151 fixed validation so item prototypes are no longer allowed from multiple discovery rules

2.2.2

action

Bug fixes:
ZBX-7407 action.update: fixed being able to change 'eventsource' parameter

configuration

ZBX-7671 configuration.import: fixed error when importing an existing trigger with dependencies from 1.8

graph

Bug fixes:
ZBX-7578 graph.update: fixed graph item validation

host

Bug fixes:
ZBX-7660 host.get: fixed method returning the "templates" property even if the "templateids" parameter is not used
ZBX-7454 host.massupdate: updating only host inventory parameters with no 'inventory_mode' parameter set no longer changes inventory mode from 'Automatic' to 'Manual'
=== hostgroup ===

Bug fixes:
ZBX-6348 hostgroup.create: fixed allowing now to enter host group name containing only zeros

httptest

Bug fixes:
ZBX-7591 httptest.update: fixed deleting web scenario steps on template linked to host
ZBX-6348 httptest.update: fixed allowing now to enter web scenario name and step name containing only zeros

screen

Bug fixes:
ZBX-7338 fixed screen validation

screenitem

Bug fixes:
ZBX-7338 fixed screen item validation

template

Bug fixes:
ZBX-6348 template.create object name is now shown in double quotes instead of brackets in error messages
ZBX-7687 template.get: fixed method returning and incorrect "parenttemplateid" property with PostgreSQL

templatescreen

Bug fixes:
ZBX-7338 fixed template screen validation

templatescreenitem

Bug fixes:
ZBX-7338 fixed template screen item validation

trigger

Bug fixes:
ZBX-7509 changed deprecated parameter "value_flag" to its proper name "value_flags"
ZBX-7345 trigger.get: fixed method trying to sort by "lastchange" DESC even if a different sort field or sort order is given

user

ZBX-7693 fixed multiple media validation issues
ZBX-7693 fixed admin users being able to edit media for other users
ZBX-7703 user.login: fixed being able to switch users without proper credentials when using HTTP authentication
=== usergroup ===

Bug fixes:
ZBX-7483 usergroup.delete: fixed user group delete validation

2.2.1

drule

Bug fixes:
ZBX-7316 drule.delete: fixed SQL errors preventing method from working and added existing ID validation

screenitem

Bug fixes:
ZBX-7351 fixed screen item not being saved if resource type is URL

script

Bug fixes:
ZBX-7372 script.getscriptsbyhosts: fixed undefined indexes while resolving macros in confirmation messages