Áú»¢¶Ä²©

This is the documentation page for an unsupported version of Áú»¢¶Ä²©.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.

Appendix 2. Changes from 5.2 to 5.4

Backward incompatible changes

action

Changes:
removed support of conditiontype value 15 (application).
removed properties type, execute_on, port, command, username, password, authtype, publickey, privatekey from opcommand object.

auditlog

Changes:
removed support of resourcetype value 12 (Application).
removed support of screens and slideshows - values 20 and 24 in resourcetype parameter.

application

Changes:
dropped support of whole Application API.

configuration

Changes:
configuration.import: removed support of parameter rules value applications.
configuration.export: removed support of screens - value screens in options parameter.
configuration.import: removed support of screens - value screens in rules parameter.
configuration.import: lookup of existing host groups and template elements will be done by UUIDs.

dashboard

Changes:
dashboard.create and dashboard.update: added multipage support - removed widgets array parameter in favor of new pages array parameter, each dashboard page object now containing it's own collection of widgets.
dashboard.get: added multipage support - removed selectWidgets query parameter in favor of new selectPages query parameter.

discoveryrule

Changes:
discoveryrule.get: removed support of parameter selectApplicationPrototypes.

event

Changes:
event.get: removed support of parameter applicationids.

host

Changes:
host.get: removed support of parameters selectApplications, with_applications and applicationids.
host.get: host interface fields available, error, errors_from, disable_until for all type of host interfaces were moved on host interface level.
host.get: removed tls_psk_identity and tls_psk properties from response.
host.get: added selectValueMaps to get host value maps.

hostgroup

Changes:
hostgroup.get: removed support of parameter with_applications.

hostinterface

Changes:
hostinterface.get: added new host interface fields: available, error, errors_from, disable_until.

httptest

Changes:
httptest.get: removed web scenario property applicationid.

item

Changes:
removed support of item type 8 - aggregate.
implemented new calculated item formula syntax.
item.create and item.update: removed support of property applications.
item.get: removed support of parameters applicationids, application and selectApplications.
item.get: added selectValueMap to get item value map.

item prototype

Changes:
removed support of item prototype type 8 - aggregate.
implemented new calculated item prototype formula syntax.
itemprototype.create and itemprototype.update: removed support of properties applications and applicationPrototypes.
itemprototype.get: removed support of parameters selectApplications and selectApplicationPrototypes.
itemprototype.get: added selectValueMap to get item prototype value map.

map

Changes:
map.create and map.update: removed support of map element application property.

problem

Changes:
problem.get: removed support of applicationids property.

proxy

Changes:
proxy.get: removed tls_psk_identity and tls_psk properties from response.

role

Changes:
removed support of application API methods in api parameter.
removed support of screens - value monitoring.screens in rule name parameter.

task

Changes:
task.create: removed support of aggregated item checks for task type 6.

template

Changes:
template.get: removed support of selectApplications property.
template.get: added selectValueMaps property to get template value maps.

template dashboard

Changes:
templatedashboard.create and templatedashboard.update: added multipage support - removed widgets array parameter in favor of new pages array parameter, each dashboard page object now containing it's own collection of widgets.
templatedashboard.get: added multipage support - removed selectWidgets query parameter in favor of new selectPages query parameter.

trigger

Changes:
implemented support of new trigger expression syntax.
trigger.get:removed support of applicationids property.

triggerprototype

Changes:
implemented support of new trigger expression syntax.
triggerprototype.get:removed support of applicationids property.

valuemap

Changes:
valuemap.create, valuemap.get: added required field hostid.

Other changes and bug fixes

action

Changes:
added support of conditiontype values 25 (event tag) and 26 (event tag value) for internal actions.

configuration

Changes:
added new API method configuration.importcompare.

dashboard

Changes:
added multipage support: new properties display_period and auto_start added to dashboard object. New object dashboard page introduced.

dcheck

Changes:
added options 2 - SHA224, 3 - SHA256, 4 - SHA384, 5 - SHA512 to snmpv3_authprotocol property and options 2 - AES192, 3 - AES256, 4 - AES192C, 5 - AES256C to snmpv3_privprotocol property

discoveryrule

Changes:
discoveryrule.create, discoveryrule.update, discoveryrule.get: added support of preprocessing step value 27 (XML to JSON).
discoveryrule.create, discoveryrule.update, discoveryrule.get: added support of filter condition operator value 12 (exists) and 13 (does not exist).
discoveryrule.create, discoveryrule.get: added support of uuid property.

event

Changes:
event.get: added new tag filtering operators.
event.get: renamed field alias ¡ú username in acknowledges object.

graph

Changes:
graph.create, graph.get: added support of uuid property.

graphprototype

Changes:
graphprototype.create, graphprototype.get: added support of uuid property.

host

Changes:
host.get: added new tag filtering operators.

hostgroup

Changes:
hostgroup.create, hostgroup.get: added support of uuid property.

hostinterface

Changes:
added options 2 - SHA224, 3 - SHA256, 4 - SHA384, 5 - SHA512 to authprotocol property and options 2 - AES192, 3 - AES256, 4 - AES192C, 5 - AES256C to privprotocol property

hostprototype

Changes:
added options 2 - SHA224, 3 - SHA256, 4 - SHA384, 5 - SHA512 to authprotocol property and options 2 - AES192, 3 - AES256, 4 - AES192C, 5 - AES256C to privprotocol property hostprototype.create, hostprototype.get: added support of uuid property.

httptest

Changes:
httptest.create and httptest.update: added support of tags property.
httptest.get: added support of parameters evaltype, tags and selectTags.
httptest.create, httptest.get: added support of uuid property.

map

Changes:
map.create and map.update: added support of map element evaltype and tags properties.

item

Changes:
item.get: added support of properties evaltype, tags and selectTags.
item.create and item.update: added support of parameter tags.
item.create, item.update, item.get: added support of preprocessing step value 27 (XML to JSON).
item.create, item.get: added support of uuid property.

itemprototype

Changes:
itemprototype.create and itemprototype.update: added support of property tags.
itemprototype.get: added support of parameters selectTags.
itemprototype.create, itemprototype.update, itemprototype.get: added support of preprocessing step value 27 (XML to JSON).
itemprototype.create, itemprototype.get: added support of uuid property.

problem

Changes:
problem.get: added new tag filtering operators.

report

Changes:
added a new report API introducing new methods report.create, report.update, report.get and report.delete.

role

Changes:
UI element object: added support of new value reports.scheduled_reports.
Action object: added support of new value manage_scheduled_reports.

settings

Changes:
added support of new properties url and report_test_timeout.

script

Changes:
added properties scope, port, authtype, username, password, publickey, privatekey, menu_path.
script.get: added option selectActions which returns action properties actionid, name, eventsource, status, esc_period, pause_suppressed into actions property.
script.create: changed default value of type property to 5 (Webhook).
script.create: type property became mandatory.
script.create, script.update, script.get: added new properties timeout and parameters to store settings specific to webhook scripts.
script.execute: added new parameter eventid to run script on event.
script.execute: parameter hostid is no longer mandatory if eventid is specified.
script.execute: to run a script, either parameter hostid or parameter eventid must be specified.

template

Changes:
template.get: added new tag filtering operators.
template.create, template.get: added support of uuid property.

template dashboard

Changes:
added multipage support: new properties display_period and auto_start added to dashboard object. New object dashboard page introduced.
templatedashboard.create, templatedashboard.get: added support of uuid property.

token

Changes:
added a new token API introducing new methods token.create, token.update, token.get, token.delete and token.generate.

trigger

Changes:
trigger.get: added new tag filtering operators.
trigger.create, trigger.get: added support of uuid property.

triggerprototype

Changes:
triggerprototype.create, triggerprototype.get: added support of uuid property.

user

Changes:
user.login: Renamed parameter user ¡ú username.
Renamed field alias ¡ú username in user object.

valuemap

Changes:
valuemap.create, valuemap.get: added support of uuid property.