zabbix_create_maintenance
Create a time-boxed Zabbix maintenance window for selected hosts or groups to suppress alerts during planned work; specify a duration in minutes.
Instructions
[WRITE][risk=medium] Create a time-boxed Zabbix maintenance window.
Requires minutes > 0 (never open-ended) and at least one host or group id. Reversible: the undo deletes exactly the maintenance id this call created.
Args: name: Maintenance window name shown in Zabbix. minutes: Window length in minutes (must be > 0). host_ids: Host ids to cover (from zabbix_hosts). group_ids: Host-group ids to cover (from zabbix_hostgroups). target: Zabbix target name from config; omit for the default.
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": {
"name": "<name>",
"minutes": "<minutes>"
},
"name": "zabbix_create_maintenance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| target | No | ||
| minutes | Yes | ||
| host_ids | No | ||
| group_ids | No |