device_ports
List network ports for a device from LibreNMS. Query ports by device hostname or ID, with options to limit, offset, and select specific columns.
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 | |||