zabbix_get_templates
Fetch Zabbix templates by filtering on host groups, linked hosts, or template IDs, and specify which fields to return for monitoring workflows.
Instructions
Get templates from Zabbix with filtering and output options
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Limit the number of records returned | |
| filter | No | Return only templates that match the given filter | |
| output | No | Object properties to be returned | |
| search | No | Return only templates that match the given wildcard search | |
| hostids | No | Return only templates that are linked to the given hosts | |
| groupids | No | Return only templates that belong to the given host groups | |
| sortfield | No | Sort the result by the given properties | |
| sortorder | No | Sort order | ASC |
| selectHosts | No | Return hosts that are linked to the template | |
| templateids | No | Return only templates with the given template IDs | |
| selectGroups | No | Return host groups that the template belongs to |