Set Maintenance Window Active
setMaintenanceWindowActiveSwitches a maintenance window on or off to control monitor suppression and scheduling; disable it to resume checks, enable it to start or resume maintenance.
Instructions
Switches a maintenance window off (active: false) or back on (active: true). Off, it stops suppressing its monitors and its schedule stops; on, a manual window starts maintenance immediately and a scheduled one follows its schedule again. It acts on a maintenance window; to stop a monitor's checks use setMonitorActive. Find the ID with listMaintenanceWindows.
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>",
"active": "<active>"
},
"name": "setMaintenanceWindowActive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | Yes | false switches the window off, true switches it on | |
| maintenanceID | Yes | The ID of the maintenance window to switch |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| msg | No | ||
| active | Yes | ||
| maintenanceID | Yes |