zabbix_create_maintenance
Create a time-boxed Zabbix maintenance window for selected hosts or groups to suppress alerts during planned work; it automatically removes the maintenance when the set minutes elapse.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| target | No | ||
| minutes | Yes | ||
| host_ids | No | ||
| group_ids | No |