topn
Identify top N SolarWinds nodes ranked by a selected health metric such as CPU, memory, latency, or packet loss. Returns node list, metric, and query error status to pinpoint monitoring 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| metric | No | cpu | |
| target | No |