Port Group Graph
port_group_graphPlot traffic graphs for multiple ports on one chart using numeric port IDs. Compare LAG member utilization over a chosen time range.
Instructions
Render a traffic graph for one or more ports, by port ID.
Plots every supplied port on the same axes, which makes it useful for comparing members of a LAG. Unlike port_graph this takes numeric port IDs rather than interface names.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"port_ids": "<port_ids>"
},
"name": "port_group_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Graph width in pixels. | |
| height | No | Graph height in pixels. | |
| legend | No | Whether to render the graph legend. | |
| to_time | No | End of the time range, either a relative offset or a Unix timestamp. Defaults to now. | |
| port_ids | Yes | One or more port IDs to plot on a single graph. Resolve names to IDs with ports_search_field or device_ports. | |
| from_time | No | Start of the time range, either a relative offset such as '-1d', '-6h' or '-1w', or a Unix timestamp. Defaults to the LibreNMS default (-1d). |