Maintenance Get
maintenance_getRetrieve Zabbix maintenance periods to inspect planned monitoring pauses, filter by hosts, groups, or IDs, and page through results or count matches.
Instructions
Get maintenance periods from Zabbix.
Maintenance windows define periods when monitoring is paused for planned upgrades, maintenance, or testing. Alerts are suppressed during maintenance periods.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "maintenance_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return. Default is 100. | |
| offset | No | Number of matching records to skip. Use with 'limit' to page through results; check 'has_more' and 'total' in the response. | |
| output | No | extend | |
| hostids | No | List of host IDs to get maintenance for. An empty list matches none. | |
| groupids | No | List of host group IDs to get maintenance for. An empty list matches none. | |
| sortfield | No | Field to sort by. A deterministic sort is required for paging to be consistent. | maintenanceid |
| sortorder | No | Sort direction - 'ASC' or 'DESC'. | ASC |
| count_output | No | If true, returns only the count of matched objects as an integer. | |
| maintenanceids | No | List of maintenance IDs to get. Omit to return all maintenance periods; an empty list matches none. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||