maintenance_create
Schedule a maintenance window in Zabbix to suppress monitoring alerts during planned upgrades or system maintenance, preventing 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.
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 | Optional list of time period objects for recurring maintenance. | |
| active_since | Yes | Start time (Unix timestamp). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||