history_get
Fetch historical data points and timestamps from Zabbix items to analyze system performance over time.
Instructions
Get history data from Zabbix.
Retrieves the raw metric values collected by items. History contains all individual collected data points with timestamps, allowing detailed analysis of system behavior over time.
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. | |
| history | No | History type: 0=float, 1=char, 2=log, 3=unsigned, 4=text. | |
| itemids | Yes | Item IDs to get history for. | |
| sortfield | No | Field to sort by (default 'clock' = timestamp). | clock |
| sortorder | No | Sort direction - 'ASC' (oldest first) or 'DESC' (newest first). Default is DESC. | DESC |
| time_from | No | Unix timestamp to get history from this time onwards. | |
| time_till | No | Unix timestamp to get history 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 | |||