zabbix_get_history
Retrieve historical monitoring data from Zabbix for specific item IDs, using time bounds, history types, and count or extended output for troubleshooting and analysis.
Instructions
Get historical data for items from Zabbix
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Limit the number of records returned (default: 100, max recommended: 1000) | |
| output | No | Type of output (extend - all fields, count - number of records) | extend |
| history | No | Object type to return (0 - numeric float, 1 - character, 2 - log, 3 - numeric unsigned, 4 - text) | |
| itemids | Yes | Array of item IDs to get history 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) |