configuration_import
Imports hosts, templates, and other Zabbix configurations from JSON, XML, or YAML content. Use for migration, cloning, or restoring configurations.
Instructions
Import configurations into Zabbix.
Imports hosts, templates, and other configurations from JSON, XML or YAML. Useful for migration, cloning, or restoring configurations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | No | Per-object import rules, e.g. {'hosts': {'createMissing': true, 'updateExisting': true}}. Defaults to creating and updating every object type, without deleting anything. | |
| content | Yes | Configuration content to import. | |
| format_type | No | Import format: 'json', 'xml' or 'yaml'. | json |
| delete_missing | No | If true, the default rules also delete objects absent from the import. Ignored when 'rules' is given. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||