You are viewing documentation for the development version, it may be incomplete.
Join our translation project and help translate Zabbix documentation into your native language.

Template object

The following objects are directly related to the template API.

Template

The template object has the following properties.

Property Type Description
templateid ID ID of the template.

Property behavior:
- read-only
- required for update operations
host string Technical name of the template.

Property behavior:
- required for create operations
description text Description of the template.
name string Visible name of the template.

Default: host property value.
uuid string Universal unique identifier, used for linking imported templates to already existing ones. Auto-generated, if not given.
vendor_name string Template vendor name.

For create operations, both vendor_name and vendor_version should be either set or left empty. For update operations, vendor_version can be left empty if it has a value in the database.
vendor_version string Template vendor version.

For create operations, both vendor_name and vendor_version should be either set or left empty. For update operations, vendor_name can be left empty if it has a value in the database.

Template tag

The template tag object has the following properties.

Property Type Description
tag string Template tag name.

Property behavior:
- required
value string Template tag value.