Maintenance Update
maintenance_updateModify an existing Zabbix maintenance window by updating its name, start/end times, time periods, or description while leaving unspecified fields unchanged.
Instructions
Update an existing maintenance period in Zabbix.
Modifies properties of an existing maintenance window. You can change the name, start time, end time, time periods, or description. Only specify the fields you want to change.
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": {
"maintenanceid": "<maintenanceid>"
},
"name": "maintenance_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New maintenance name. | |
| active_till | No | New end time (Unix timestamp). | |
| description | No | New description. | |
| timeperiods | No | Replaces all of the maintenance's time periods, e.g. [{'timeperiod_type': 0, 'start_date': 1735689600, 'period': 3600}]. Omit to keep them; a one-off period created for the old window is moved along with it. | |
| active_since | No | New start time (Unix timestamp). | |
| maintenanceid | Yes | ID of the maintenance to update. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||