Create Maintenance
createMaintenanceSchedule maintenance windows to suppress monitor alerts and show MAINTENANCE status instead of DOWN. Supports one-time, recurring, or manual schedules.
Instructions
Schedules a new maintenance window. During maintenance, affected monitors are suppressed and show MAINTENANCE status instead of DOWN.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Title of the maintenance window | |
| active | No | Whether the window is active (default: true) | |
| strategy | Yes | Scheduling strategy: single=one-time, recurring-interval=every N days, recurring-weekday=specific weekdays, recurring-day-of-month=specific dates, manual=manually activated | |
| timezone | No | Timezone (e.g. "America/New_York", "UTC"). Defaults to server timezone. | |
| weekdays | No | Days of week (0=Sunday … 6=Saturday) for recurring-weekday strategy | |
| dateRange | No | Date range as [startISO, endISO] (required for single strategy) | |
| timeRange | No | Start and end time within the day as [{hours, minutes}, {hours, minutes}] | |
| daysOfMonth | No | Days of month (1-31) for recurring-day-of-month strategy | |
| description | No | Description or reason for the maintenance | |
| intervalDay | No | Interval in days for recurring-interval strategy |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| msg | No | ||
| maintenanceID | No |