device_ports
List network ports for a device from LibreNMS by providing the hostname. Control output with optional limit, offset, and column selection.
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 | |||