topn
Rank SolarWinds nodes by CPU, memory, latency, or packet loss, returning N nodes sorted by metric to identify performance issues.
Instructions
[READ] Top-N SolarWinds nodes by a health metric.
Returns {"nodes": [...], "returned": N, "metric": str, "error": str | None}. A non-null "error" means the SWQL query failed — the opposite finding from "no nodes are under load", so never report one as the other.
Args: metric: One of cpu, memory, latency, packetloss. n: How many nodes to return (default 10). target: SolarWinds target name from config; omit for the default.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "topn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| metric | No | cpu | |
| target | No |