Servers with their latest metrics
server_metricsEvery server in the organization with its latest CPU, memory, disk, load and network readings, its alert-rule counts and whether it is breaching, and roles: what each server is (see the server’s role), a page at a time. normal_now gives, for CPU, memory and load, the range the server normally sits in at this hour of the week (low, typical, high: its 10th, 50th and 90th percentile, and the weeks behind it); it is null until four weeks are learned, unless the range is borrowed from a peer named in borrowed_from. Monitored servers come first; filter with search, credential, tag or status (for example breaching, norules, notreporting, monitored). Each server's normal_now is the range its CPU, memory and load normally sit in at this hour of the week, so a reading can be called usual or unusual for this server.
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": "server_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Only things with this tag id. | |
| page | No | Page number, from 1. | |
| search | No | Matches server name or IPv4 address. | |
| status | No | breaching: over an alert threshold now; noagent / notreporting: no metrics coming in. | |
| per_page | No | Rows per page, up to 200 (default 25). | |
| organization_id | No | The organization to read. Leave it out when the token reaches only one. |