Device Ports
device_portsRetrieve network ports for a specified device from LibreNMS, with options to limit, offset, and select specific columns. Use to inspect interface status and details.
Instructions
List ports for a device from LibreNMS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return | |
| offset | No | Number of results to skip (offset) for pagination | |
| columns | No | Comma-separated list of columns to return (e.g., 'port_id,ifName,ifAlias,ifOperStatus') | |
| hostname | Yes | Device hostname or ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||