zabbix_metrics_history
Retrieve historical metric values for an item over a time window, with min, max, and average, to analyze how a metric performed over a period.
Instructions
Read an item's values over a time window, with min, max and average.
Windows are written the way operators write them: 30m, 2h, 24h, 7d.
Use when the user asks how a metric behaved over a period, or wants its minimum, average and maximum. For only the newest value call zabbix_metrics_latest; for whether the host itself is unreachable call zabbix_unreachable.
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": {
"host": "<host>"
},
"name": "zabbix_metrics_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | host name or fragment | |
| last | No | how far back to read | 1h |
| items | No | maximum distinct items to read, 1 to 10 | |
| limit | No | maximum rows to return, 1 to 500 (default 200); the result reports whether it was truncated | |
| search | No | item name or key fragment |