item_create
Create a new item in Zabbix to collect metrics from a host. Define the collection method, interval, and data type for monitoring.
Instructions
Create a new item in Zabbix.
Items define what data is collected from a host. Each item specifies the metric name, how to collect it (agent, SNMP, etc.), what interval to use, and what data type to store.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_ | Yes | Item key. | |
| name | Yes | Item name. | |
| delay | No | Collection interval. Default '1m'. Use time suffixes like '30s', '5m', '1h'. | 1m |
| type_ | Yes | Item type (0=Zabbix agent, 2=trapper, etc.). | |
| units | No | Optional units for the values like 'bytes', 'CPU%', 'rpm'. | |
| hostid | Yes | Host ID. | |
| value_type | Yes | Value type (0=float, 1=char, 3=unsigned, 4=text). | |
| description | No | Optional item description explaining its purpose. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||