zabbix_create_item
Create a new monitoring item in Zabbix by specifying name, key, and host ID. Set item type, update interval, units, and history retention to collect host metrics.
Instructions
Create a new item in Zabbix
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_ | Yes | Item key | |
| name | Yes | Name of the item | |
| type | No | Type of the item (0 - Zabbix agent, 2 - Zabbix trapper, etc.) | |
| delay | No | Update interval of the item | 30s |
| units | No | Value units | |
| hostid | Yes | ID of the host that the item belongs to | |
| params | No | Additional parameters depending on the type of the item | |
| status | No | Status of the item (0 - enabled, 1 - disabled) | |
| trends | No | A time unit of how long the trends data should be stored | 365d |
| history | No | A time unit of how long the history data should be stored | 90d |
| password | No | Password for authentication | |
| username | No | Username for authentication | |
| value_type | No | Type of information of the item (0 - numeric float, 1 - character, 3 - numeric unsigned, 4 - text) | |
| description | No | Description of the item |