item_get
Get Zabbix monitoring items by host or search query. Use key_metrics_only to isolate CPU, memory, and disk metrics.
Instructions
查询监控项。需先通过host_get获取hostid。支持语义搜索,key_metrics_only智能筛选最佳指标
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回数量(默认20) | |
| output | No | 返回字段列表 | |
| search | No | 搜索关键词或条件字典(支持语义搜索如memory/cpu) | |
| hostids | No | 主机ID | |
| itemids | No | 监控项ID | |
| key_metrics_only | No | 仅返回关键性能指标(CPU/内存/磁盘),每类最多1个 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |