device_set_maintenance
Set a maintenance window for a LibreNMS device by hostname or ID. Specify duration, title, notes, and optional start time to suppress alerts during scheduled maintenance.
Instructions
Set device maintenance in LibreNMS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Maintenance mode payload: - duration (required): Duration in "H:i" format (e.g., "02:00" for 2 hours) - title (optional): Maintenance window title - notes (optional): Maintenance notes - start (optional): Start time in "Y-m-d H:i:00" format (default: now) | |
| hostname | Yes | Device hostname or ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||