zabbix_get_maintenance
Retrieve maintenance periods from Zabbix monitoring. Filter by hosts, groups, or IDs, and select output fields to manage scheduled downtime.
Instructions
Get maintenance periods from Zabbix with filtering and output options
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Limit the number of records returned | |
| filter | No | Return only maintenance periods that match the given filter | |
| output | No | Object properties to be returned | |
| search | No | Return only maintenance periods that match the given wildcard search | |
| hostids | No | Return only maintenance periods that affect the given hosts | |
| groupids | No | Return only maintenance periods that affect hosts in the given groups | |
| sortfield | No | Sort the result by the given properties | |
| sortorder | No | Sort order | ASC |
| selectHosts | No | Return hosts affected by the maintenance | |
| selectGroups | No | Return host groups affected by the maintenance | |
| maintenanceids | No | Return only maintenance periods with the given IDs | |
| selectTimeperiods | No | Return time periods of the maintenance |