history_get
Retrieve raw metric history from Zabbix using item IDs. Filter by time range or storage type to analyze collected data points with timestamps for detailed behavior tracking.
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. | |
| history | No | Storage type to read: 0=float, 1=char, 2=log, 3=unsigned, 4=text. Must match the items' value_type or Zabbix returns nothing. Detected from the items when omitted. | |
| 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 | |||