device_set_maintenance
Set a network device into maintenance mode with configurable duration, title, notes, and optional start time. Manage maintenance windows without triggering alerts.
Instructions
Set device maintenance in LibreNMS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | Device hostname or ID | |
| 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) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||