See www.zabbix.com for the official Zabbix site.

Export changelog

From Zabbix.org
Jump to: navigation, search

Export changelog

Changes from 1.8 till 2.0

General

  • The export version was moved from the version attribute to the version element in zabbix_export.
  • version was set to "2.0".
  • The date and time were moved from date and time to the date element in zabbix_export.

hosts

  • The groups element has been moved from host to the root zabbix_export element, groups for all hosts are now listed together. The names of host groups were wrapped in the name element.
  • Name of the host was moved from the name attribute to the host element.
  • The interfaces element was introduced for hosts, which contains the default, type, useip, ip, dns, port and interface_ref elements. The interface_ref element contains a temporary reference to the interface and other fields match the corresponding properties of a host interface. Interfaces are created according to the following logic:
    • A new default agent interface is created from the hosts useip, ip and port elements.
    • If at least one IPMI item exists on the host, a new default IMPI interface is created with useip set to 1, port set to ipmi_port, empty dns and ip set to either ipmi_ip if it's set or ip otherwise.
    • For each SNMP item port a new SNMP interface is created with port set to snmp_port of the item and useip, ip and dns values taken from the host. The first SNMP interface is marked as default.
  • Applications are exported in applications.
  • Discovery rules are exported in discovery_rules.
  • host_profile and host_profiles_ext elements were merged into inventory. Some of the elements have been renamed according to the pairs below. If, after being renamed, name of elements from host_profiles_ext match the ones from host_profiles, their value is appended using "\r\n\r\n".
 devicetype - type
 serialno - serialno_a
 macaddress - macaddress_a
 hardware - hardware_full
 software - software_full
 device_type - type_full
 device_alias - alias
 device_os - os_full
 device_os_short - os_short
 device_serial - serialno_b
 device_tag - asset_tag
 ip_macaddress - macaddress_b
 device_hardware - hardware
 device_software - software
 device_app_01 - software_app_a
 device_app_02 - software_app_b
 device_app_03 - software_app_c
 device_app_04 - software_app_d
 device_app_05 - software_app_e
 device_chassis - chassis
 device_model - model
 device_hw_arch - hw_arch
 device_vendor - vendor
 device_contract - contract_number
 device_who - installer_name
 device_status - deployment_status
 device_url_1 - url_a
 device_url_2 - url_b
 device_url_3 - url_c
 device_networks - host_networks
 ip_subnet_mask - host_netmask
 ip_router - host_router
 oob_subnet_mask - oob_netmask
 date_hw_buy - date_hw_purchase
 site_street_1 - site_address_a
 site_street_2 - site_address_b
 site_street_3 - site_address_c
 poc_1_phone_1 - poc_1_phone_a
 poc_1_phone_2 - poc_1_phone_b
 poc_2_phone_1 - poc_2_phone_a
 poc_2_phone_2 - poc_2_phone_b
 device_notes - notes
  • For hosts that have data in host_profile or host_profiles_ext their inventory_mode is set to manual, otherwise - disabled.
  • A name element has been added and contains the visible name of the host.
  • Templates are now exported separately in the templates element. Each template element contains the following elements: template - technical name of the template, name - visible name of the template, groups, applications, items, discovery_rules, macros, templates and screens.

Breaking changes

  • proxy_hostid element was replaced with proxy which contains the name of the proxy in name.

items

  • Item key was moved from the key attribute to the key element.
  • Item type was moved from the type attribute to the type element.
  • Item value type was moved from the value_type attribute to the value_type element.
  • Simple check item keys are converted into the new format.
  • description was renamed to name.
  • Implemented the new allowed_hosts, ipmi_sensor, description and interface_ref elements.
  • The names of applications in applications were wrapped in the name element.

Breaking changes

  • valuemapid element was replaced with valuemap which contains the name of the value map in name.

triggers

  • The triggers element was moved from host to the root zabbix_export element, triggers for all hosts are now listed together.
  • description was renamed to name.
  • comments was renamed to descripion.
  • Simple check item keys used in expression are converted into the new format.
  • {HOSTNAME} and {HOST.HOST} macros in expression are replaced with the host name of the host that the trigger was exported with.

templates

  • The name of the template was wrapped in the name element.

graphs

  • The graphs element was moved from host to the root zabbix_export element, graphs for all hosts are now listed together.
  • Name of the graph was moved from the name attribute to the name element.
  • Width and height of the graphs was moved from the width and height atributes to the width and height elements.
  • graphtype was renamed to type.
  • periods_cnt element was removed.
  • The items used as minimum and maximum values for the Y scale were moved from ymin_item_key and ymax_item_key elements to ymin_item_1 and ymax_item_1 respectfully. Each element contains the item key and host name in the key and host elements.
  • graph_elements and graph_element were renamed to graph_items and graph_item respectfully. The item reference was moved from the item attribute of graph_element to item which contains the item key and host name in the key and item elements.
  • {HOSTNAME} and {HOST.HOST} macros in the item attribute are replaced with the host name of the host that the graph was exported with.
  • Simple check item keys used in the item attribute are converted into the new format.
  • show_legend is set to 1 for normal and stacked graphs.

macros

  • name was renamed to macro.

images

No changes.

sysmaps

  • sysmaps and sysmap were renamed to maps and map.
  • grid_size, grid_show, grid_align and urls elements were implemented.
  • label_format, label_type_host, label_type_hostgroup, label_type_trigger, label_type_map, label_type_image, label_string_host, label_string_hostgroup, label_string_trigger, label_string_map and label_string_image elements were implemented for element.
  • selementid was removed.
  • elementid was renamed to element.
  • elementsubtype, areatype, width, height, viewtype, use_iconmapid elements were added in element.
  • The host element was removed from selement/element for trigger elements.
  • The triggerid was renamed to trigger in the link element.
  • host was removed from link/triggerid
  • iconid_off, iconid_on, iconid_disabled and iconid_maintenance were renamed to icon_off, icon_on, icon_disabled and icon_maintenance in element
  • iconid_unknown was removed from element

Breaking changes

  • url in selement was renamed to urls and can now contain multiple url elements. Each url element contains a name and url element.

dependencies

  • Dependencies are now exported for each trigger separately in the dependencies element. Each dependency is contained in the dependency element with two child elements: name and expression, which contain the name and expression of the trigger it points to.

screens

  • screenitems and screenitem were renamed to screen_items and screen_item.
  • resourceid was renamed to resource.
  • sort_trigger element was added to screenitem.
  • key_ element in screenitem/resourceid was renamed to key.

Changes from 2.0 till 2.2

hosts

items

  • status value 3 (unsupported) is converted to 0 (active).
  • Added new snmpv3_contextname, snmpv3_authprotocol, snmpv3_privprotocol and logtimefmt elements.

discovery_rules

  • status value 3 (unsupported) is converted to 0 (active).
  • Added the host_prototypes element.
  • Added new snmpv3_contextname, snmpv3_authprotocol, snmpv3_privprotocol elements.

Breaking changes

  • LLD rules of type 8 (Aggregate check), 15 (Calculated check) and 17 (SNMP Trap check) are no longer supported.

maps

  • Added the severity_min element.

screens

  • Added the application element.

Changes from 2.2 till 2.4

hosts

  • Added the description element.
  • Added bulk for the interface element.

discovery_rules

  • The filter element was changed to implement custom filters. It now contains the evaltype, formula and conditions elements. conditions contains condition element each containing macro, value, operator and formulaid. Old filter strings are converted into a filter with evaltype set to 0 (and/or) and a single condition composed of the macro and regexp from the filter.
  • Old "&", "|" and "#" operators in the expressionelement of trigger_prototype are replaced with the new ones.

templates

  • Added the description element.

screens

  • Added the max_columns element to screen_item.

Breaking changes

  • colspan and rowspan values "0" are no longer accepted as valid and must be corrected to "1".

triggers

  • Old "&", "|" and "#" operators in the expression and dependency/expression elements are replaced with the new ones.

maps

  • Added the application element to selement.

Changes from 2.4 till 3.0

screens

  • colspan and rowspan values "0" will be auto-corrected to "1" during import.
  • Added key and host elements into screen_item/resource for screen element with type Clock and time type Host time

triggers

  • Dependencies will be cleared for existing triggers if dependencies element is empty in an XML.

trigger_prototypes

  • An optional dependencies element has been added for each trigger_prototype. Each dependency is contained in the dependency element with two child elements: name and expression, which contain the name and expression of the trigger or the trigger prototype. Dependencies will not be updated for existing trigger prototypes if dependencies element is not present in an XML.


application_prototypes

  • An optional application_prototypes element has been added for reach item_prototype. Each application prototype has one child element name.

hosts

  • Added encryption elements for each host: tls_connect, tls_accept, tls_issuer, tls_subject, tls_psk_identity and tls_psk.

value_maps

  • Added a new optional element value_maps. Value maps appear when an item uses it and only the ones that are used. Each value map contains two child elements name and mappings. Each mapping contains two elements value and newvalue.

Changes from 3.0 till 3.2

triggers

  • Added new elements recovery_mode, recovery_expression, correlation_mode, correlation_tag, manual_close and tags. recovery_expression also resides in trigger dependencies. Each tag has two child elements tag and value.

trigger_prototypes

  • Added new elements recovery_mode, recovery_expression, correlation_mode, correlation_tag, manual_close and tags. recovery_expression also resides in trigger dependencies. Each tag has two child elements tag and value.

httptests

  • A new element httptests has been added for each item. Each web scenario has elements: name, application, delay, attempts, agent, http_proxy, variables, headers, status, authentication, http_user, http_password, verify_peer, verify_host, ssl_cert_file, ssl_key_file, ssl_key_password, steps. Each application has a child element name. Each step has child elements: name, url, posts, variables, headers, follow_redirects, retrieve_mode, timeout, required and status_codes.

maps

  • If a map contains links, then linktriggers each trigger now contains recovery_expression.