zabbix_create_maintenance
Create a maintenance period in Zabbix to suppress alerts and control data collection for selected hosts, groups, or problem tags during planned downtime.
Instructions
Create a new maintenance period in Zabbix
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the maintenance period | |
| tags | No | Problem tags to match for maintenance | |
| hostids | No | IDs of hosts to put in maintenance | |
| groupids | No | IDs of host groups to put in maintenance | |
| active_till | Yes | End time of the maintenance period (Unix timestamp) | |
| description | No | Description of the maintenance period | |
| timeperiods | Yes | Time periods when the maintenance should be active | |
| active_since | Yes | Start time of the maintenance period (Unix timestamp) | |
| maintenance_type | No | Type of maintenance (0 - with data collection, 1 - without data collection) |