Template Create
template_createCreate a Zabbix template to define reusable monitoring configurations (items, triggers, graphs) for standardized monitoring across hosts.
Instructions
Create a new template in Zabbix.
Templates define the monitoring configuration (items, triggers, graphs) that can be reused across multiple hosts. Creating custom templates enables standardized monitoring for specific applications or server types.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"host": "<host>",
"groups": "<groups>"
},
"name": "template_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Technical name of the template. | |
| name | No | Template name (required). Example: 'Apache Web Server', 'PostgreSQL Database'. Should describe what the template monitors. | |
| groups | Yes | Template groups the template belongs to, e.g. [{'groupid': '10'}]. Since Zabbix 6.2 these are template groups, not host groups. | |
| description | No | Optional template description explaining its purpose and use. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||