Zabbix API changes in 2.0
2.0.17
service
Bug fixes:
ZBX-10232 service.getSla:
fixed SQL errors with invalid "year" parameter in IT services report
webcheck
Bug fixes:
ZBX-10316 removed faulty
web scenario step name validation
2.0.16
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.0.15
hosts
Bug fixes:
ZBX-9093 host.create:
fixed "inventory" property causing SQL errors when using MySQL strict
mode
maintenance
Bug fixes:
ZBX-5656 fixed
"timeperiods" validation when passing a single timeperiod object
2.0.14
triggers
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).
2.0.13
configuration
Bug fixes:
ZBX-8151
configuration.import: fixed XXE vulnerability while importing XML with
external entities
2.0.12
graphprototpye
Bug fixes:
ZBX-6151 fixed graph
prototype validation so item prototypes are no longer allowed from
multiple discovery rules\
trigger
Bug fixes:
ZBX-7674 trigger.delete:
fixed trigger unlink from IT Services\
triggerprototpye
Bug fixes:
ZBX-6151 fixed trigger
prototype validation so item prototypes are no longer allowed from
multiple discovery rules\
2.0.11
user
Bug fixes:
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\
2.0.10
action
Bug fixes:
ZBX-7101 action.get: fixed
generated SQL queries when simultaneously selecting more than one
condition and operation\
2.0.9
General
Bug fixes:
ZBX-7091 fixed multiple
SQL injection vulnerabilities\
service
Bug fixes:
ZBX-6992 service.getsla:
fixed calculation of SLA for PostgreSQL\
2.0.8
No changes.
2.0.7
itemprototype
Bug fixes:
ZBX-6644
itemprototype.get: fixed sorting by history and trends fields\
map
Bug fixes:
ZBX-6561 map.get: fixed
incorrect API response (only for zabbix administrators)\
2.0.6
services
Bug fixes:
ZBX-6261 service.get:
fixed method not working with Oracle\
templates
Bug fixes:
ZBX-6408 template.delete:
fixed action conditions not being deleted and actions not being disabled
when deleting a template\
triggers
Changes:
ZBX-6389 trigger.get:
added option "selectLastEvent" to select latest trigger event\
webcheck
Bug fixes:
ZBX-6413 fixed wrongly
implemented web scenario name validation, which raised exception even if
name was not set
2.0.5
actions
Bug fixes:
ZBX-6142 action.update:
fixed not being able to remove the "current host" target from remote
command operations\
event
Bug fixes:
ZBX-6005 event.get: fixed
not returning network discovery or auto-registration events for admin
users when passing only the "source" parameter\
host
Bug fixes:
ZBX-6214
hostgroup.massupdate: fixed being able to unlink all groups from a host\
maintenance
Bug fixes:
ZBX-5900 fixed timeperiod
validation in maintenance periods\
map
Bug fixes:
ZBX-5945 map.get: fixed
selectSelements used together with expandUrls not returning map URls
when their IDs match map element URL IDs; selements urls property will
now be returned as an array instead of a hash\
services
Bug fixes:
ZBX-5532 service.get:
added support of 1.8 service time reading
Changes:
ZBX-6002 service.getsla:
improved SLA calculation performance\
template
Bug fixes:
ZBX-3534 fixed not being
able to link templates with read-only permissions
ZBX-5806 template.massadd:
fixed returning an empty hostids array
ZBX-5806
template.massremove: fixed returning an empty hostids array
=== user ===
Bug fixes:
ZBX-6097 user.login: fixed
the ability to override LDAP configuration\
2.0.4
General
Bug fixes:
ZBX-5648 disallowed
explicitly setting the "templateid" property for objects\
application
Bug fixes:
ZBX-5977
application.massadd: disallowed possibility to add discovery rule in
applications\
discoveryrule
Bug fixes:
ZBX-5977 removed
possibility to add an LLD rule to an application
ZBX-5684
discoveryrule.get: added support for 'interfaceids' parameter
ZBX-5751
discoveryrule.get: fixed parameter "selectGraph" not working
graph
Bug fixes:
ZBX-5693 fixed possibility
to create graph with the same name as existing graph prototype within
template; improved error message
ZBX-5740 graph.get:
removed unsupported "discoveryids" parameter\
graphprototype
Bug fixes:
ZBX-5693 fixed possibility
to create graph prototype with the same name as existing graph within
template; improved error message\
hostgroup
Bug fixes:
ZBX-5860
hostgroup.massupdate: fixed multiple issues
ZBX-5837 hostgroup.get:
fixed filtering by proxy status in HostGroup API get method\
image
Bug fixes:
ZBX-5737 image.create:
fixed image saving using Oracle
ZBX-5704 image.create:
fixed validation on file uploading\
item
Bug fixes:
ZBX-5684 item.get: added
possibility to unset 'flags' parameter in CItem get()
ZBX-5684 item.get: fixed
inconsistency that CItem get() returned discovery rules and item
prototypes by default
ZBX-5740 item.get: removed
unsupported "discoveryids" parameter
ZBX-5742 item.get: fixed
sorting of triggers returned by the selectTriggers parameter
ZBX-4097 item.get: fixed
the group, host and application parameters being case insensitive\
itemprototype
Bug fixes:
ZBX-5684
itemprototype.get: added support for 'graphids' parameter
ZBX-5751
itemprototype.get: fixed parameter "selectGraph" not working. Fixed
"limitSelects" for "selectTriggers" not working
ZBX-5740
itemprototype.get: fixed parameter "selectTriggers" not working
ZBX-5742
itemprototype.get: fixed sorting of triggers returned by the
selectTriggers parameter
=== maintenance ===
Bug fixes:
ZBX-5656
maintenance.create: fixed "timeperiods" validation when passing a single
timeperiod object\
screenitem
Bug fixes:
ZBX-1946 fixed the colspan
and rowspan properties not being validated\
scripts
Bug fixes:
ZBX-5744
script.getscriptsbyhost: fixed returning an unnecessary array of hosts
for each script
=== templatescreen ===
Changes:
ZBX-4833
templatescreen.copy: implemented
ZBX-4833
templatescreen.isreadable: implemented
ZBX-4833
templatescreen.iswritable: implemented
Bug fixes:
ZBX-5648
templatescreen.update: disallowed updating the "templateid" property
trigger
Bug fixes:
ZBX-5643 fixed sql error
by adding permission check for triggers when adding nonexistent
dependencies
ZBX-5643 fixed being able
to create circular dependencies
ZBX-3920 added check for
dependency duplicates
ZBX-5740 trigger.get:
removed unsupported "discoveryids" parameter
ZBX-4097 trigger.get:
fixed the group and host parameters being case insensitive
ZBX-5111 trigger.update:
fixed child trigger data reset after changes in parent trigger
=== triggerprototype ===
Bug fixes:
ZBX-5698
triggerprototype.create: fixed bug when response doesn't return
"triggerids"
ZBX-5665
triggerprototype.delete: fixed bug when deleting a trigger prototype and
not deleting created triggers
ZBX-4097
triggerprototype.get: fixed the group and host parameters being case
insensitive
=== user ===
Bug fixes:
ZBX-3907 user.logout:
fixed user.logout method\
usermacro
Bug fixes:
ZBX-4983
usermacro.replacemacros: fixed an error when attempting to replace
existing macro with identical macro\
2.0.3
alert
Changes:
ZBX-5489 alert.create:
removed
ZBX-5489 alert.delete:
removed\
configuration
Bug fixes:
ZBX-5307 fixed undefined
index error when importing a trigger that depends on an unexisting
trigger
ZBX-5307 fixed errors when
importing item prototypes without applications\
event
Changes:
ZBX-5489 event.create:
removed
ZBX-5489 event.delete:
removed
ZBX-5489
event.deleteByTriggerIds: removed\
graph
Bug fixes:
ZBX-5363 fixed checking
that the Y axis MAX value is greater than Y axis MIN value when the MAX
value is not fixed\
graphprototype
Bug fixes:
ZBX-5363 fixed check that
the Y axis MAX value is greater than Y axis MIN value when the MAX value
is not fixed\
host
Bug fixes:
ZBX-5250 host.massRemove:
fixed macros parameter not working\
item
Bug fixes:
ZBX-4852 fixed delay_flex
attribute validation
ZBX-5510 item.get: fixed
Oracle DB error when trying to retrieve the name of the item and using
the group parameter\
itemprototype
Bug fixes:
ZBX-5434 fixed error when
inheriting an item prototype with the same key as an item on the target
host or template\
maintenance
Changes:
ZBX-5351 maintenance.get:
implemented the selectTimeperiods parameter\
map
Bug fixes:
ZBX-5317 map.update: fixed
duplicate entry error when updating map link triggers
template
Bug fixes:
ZBX-5250
template.massRemove: fixed macros parameter not working\
templatescreenitem
Changes:
ZBXNEXT-1253
templatescreenitem.get: implemented\
trigger
Changes:
ZBX-2060 implemented the
expandExpression parameter
Bug fixes:
ZBX-5307 fixed being able
to create dependencies from a templated trigger to an inherited trigger
ZBX-5307 fixed inherited
trigger dependencies not being validated on hosts
ZBX-5308 fixed templated
triggers not overriding dependencies on inherited triggers\
triggerprototype
Changes:
ZBX-2060
triggerprototype.get: implemented the expandExpression parameter\
usergroup
Bug fixes:
ZBX-5440 fixed not being
able to remove the last user or the last permission from a user group
ZBX-5440
usergroup.massUpdate: fixed checking that the usrgrpids parameter is
passed\
usergroup
Changes:
ZBX-5292 the value
attribute can now be set to an empty string\
webcheck
Bug fixes:
ZBX-4316 fixed checking
that the status_codes attribute of a step object is valid
2.0.2
application
Bug fixes:
ZBX-5252 fixed multiple
level templated application inheritance\
graphprototype
Bug fixes:
ZBX-5349
graphprototype.create: fixed graph prototypes being created as plain
graphs
host
Changes:
ZBX-5208 host.update: the
interfaces parameter will now also accept a single interface
Bug fixes:
ZBX-5079 host.get: fixed
selectTriggers and selectGraphs returning objects that the user has no
permissions to
ZBX-5060 host.update:
fixed inventory_mode attribute not being updated without updating
inventory
ZBX-5208 host.update:
fixed interface updating not working
ZBX-5060 host.massUpdate:
fixed inventory_mode attribute not being updated without updating
inventory\
hostgroup
Changes:
ZBX-5267 hostgroup.delete:
fixed method not accepting a single ID
ZBX-4007 hostgroup.get:
fixed the graphid attribute being returned for hostgroup objects
hostinterface
Bug fixes:
ZBX-5208
hostinterface.massRemove: fixed checking that the default interface is
not deleted\
item
Bug fixes:
ZBX-2055 fixed flexible
interval validation
proxy
Bug fixes:
ZBX-5311 proxy.delete:
fixed checking that a proxy is not used for monitoring or network
discovery
screenitem
Bug fixes:
ZBX-4007 fixed using
resources from child nodes
service
Bug fixes:
ZBX-5065 fixed checking
that services do not create circular dependencies
ZBX-5065 service.delete:
fixed not being able to delete services with soft linked dependencies\
template
Bug fixes:
ZBX-5079 template.get:
fixed selectTriggers and selectGraphs returning objects that the user
has no permissions to\
triggerprototype
Bug fixes:
ZBX-4963 fixed inherited
trigger prototypes lacking certain data
usergroup
Bug fixes:
ZBX-5213
usergroup.massUpdate: fixed update failing when updating only
permissions or users
2.0.1
graph
Bug fixes:
ZBX-5053 fixed checking
that the Y axis MAX value is greater than Y axis MIN value
graphprototype
Bug fixes:
ZBX-5053 fixed checking
that the Y axis MAX value is greater than Y axis MIN value
ZBX-4861 fixed graph item
color not being validated
item
Changes:
ZBX-5150 value_type
attribute can accept value 3, numeric, for aggregate items
itemprototype
Changes:
ZBX-5150 value_type
attribute can accept value 3, numeric, for aggregate items
user
Changes:
ZBX-5032 user.get:
implemented the selectMediatypes parameter
usermedia
Changes:
ZBX-5032 usermedia.create:
removed
ZBX-5032 usermedia.delete:
removed
ZBX-5032
usermedia.isReadable: removed
ZBX-5032
usermedia.isWritable: removed
ZBX-5032 usermedia.update:
removed\