trend_get
Retrieve aggregated historical data from Zabbix, providing min, max, and average values at hour-long intervals for long-term analysis.
Instructions
Get trend data from Zabbix.
Trends are aggregated (summarized) historical data providing min/max/average values at hour-long intervals. Trends use less storage than raw history while preserving statistical information for long-term analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return. Default is 100. | |
| offset | No | Number of results to skip (for pagination). Requires sortfield to be set. | |
| itemids | Yes | Item IDs to get trends for. | |
| sortfield | No | Field to sort by. | |
| sortorder | No | Sort direction - 'ASC' or 'DESC'. | ASC |
| time_from | No | Unix timestamp to get trends from this time onwards. | |
| time_till | No | Unix timestamp to get trends up to this time. | |
| count_output | No | If true, returns only the count of matched objects as an integer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||