This method allows to create new items.此方法允许创建新的项。
Web items cannot be created via the Zabbix API.无法通过Zabbix API创建Web items。
Items to create.要创建的items
Returns an object containing the IDs of the created items under the property. The order of the returned IDs matches the order of the passed items.返回包含“itemids”属性下创建项的ID的对象。 返回的ID的顺序与传递的项的顺序相匹配。
Creating an item 创建一个item
Create a numeric Zabbix agent item to monitor free disk space on host with ID “30074” and add it to two applications.创建一个数字Zabbix代理项,以监控ID为“30074”的主机上的可用磁盘空间,并将其添加到两个应用程序中。
Request:
Creating a host inventory item
Create a Zabbix agent item to populate the host's “OS” inventory field.
Request:
Response: