Maintenance Create
maintenance_createCreates a Zabbix maintenance window that suppresses alerts during planned upgrades, patching, or system work to prevent false alarms.
Instructions
Create a new maintenance period in Zabbix.
Schedules a maintenance window when monitoring alerts are suppressed. Useful for planned upgrades, patching, or system maintenance without triggering false alarms.
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>",
"active_since": "<active_since>",
"active_till": "<active_till>"
},
"name": "maintenance_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Maintenance name. | |
| hostids | No | List of specific host IDs to apply maintenance to. | |
| groupids | No | List of host group IDs to apply maintenance to. At least one of groupids or hostids is required. | |
| active_till | Yes | End time (Unix timestamp). | |
| description | No | Optional description explaining the maintenance purpose. | |
| timeperiods | No | When maintenance actually runs, e.g. [{'timeperiod_type': 0, 'start_date': 1735689600, 'period': 3600}]. Required by Zabbix; if omitted, a single one-off period covering active_since to active_till is sent. | |
| active_since | Yes | Start time (Unix timestamp). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||