create_mwindow
Create maintenance windows for monitors, specifying recurrence, start time, and duration to avoid false alerts during scheduled downtime.
Instructions
Create a new maintenance window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Window recurrence type. 1=Once, 2=Daily, 3=Weekly, 4=Monthly. | |
| value | No | Required for Weekly and Monthly types. Weekly (type 3): dash-separated days of week, 1=Mon through 7=Sun. Example: "1-3-5" for Mon/Wed/Fri. Monthly (type 4): dash-separated days of month. Example: "1-15" for 1st and 15th. | |
| duration | Yes | Duration of the window in minutes. | |
| start_time | Yes | For type 1 (Once): Unix timestamp (int) of the start time. For types 2-4 (recurring): time string in HH:MM format (e.g. "02:00"). | |
| friendly_name | Yes | Display name for the maintenance window. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||