zabbix_metrics_latest
Retrieve current values for a single host's items, such as CPU, disk, or custom metrics, from Zabbix history.
Instructions
Show the newest value of a host's items.
Values come from history, because item.lastvalue has returned a constant zero for several releases. The history type is derived from each item automatically; querying it wrongly returns nothing rather than an error.
Use when the user wants the current value of an item, such as CPU, disk or a custom metric, on one host. For values across a time window call zabbix_metrics_history; for a host whose items stopped sending data call zabbix_host_investigate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | host name or fragment | |
| limit | No | maximum rows to return, 1 to 500 (default 25); the result reports whether it was truncated | |
| search | No | item name or key fragment |