zabbix_get_trends
Retrieve aggregated historical trends for Zabbix items by item ID to analyze performance over time.
Instructions
Get trends data (aggregated historical data) for items from Zabbix
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": {
"itemids": "<itemids>"
},
"name": "zabbix_get_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Limit the number of records returned (default: 100) | |
| output | No | Type of output (extend - all fields, count - number of records) | extend |
| itemids | Yes | Array of item IDs to get trends for | |
| sortfield | No | Sort the result by the given properties | |
| sortorder | No | Sort order | DESC |
| time_from | No | Return only values that have been received after or at the given time (Unix timestamp) | |
| time_till | No | Return only values that have been received before or at the given time (Unix timestamp) |