This is the documentation page for an unsupported version of Zabbix.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.
Table of Contents


Available since version: 1.8
==== Parameters ==== multidimensional array with Hosts data

Parameter Type Optional Description Details
hosts array Host objects to update
host string Host name.
groupids array Host group IDs to add host to.
port int Yes Port.
status int Yes Host Status.
useip int Yes Use IP.
dns string Yes DNS.
ip string Yes IP.
proxy_hostid int Yes Proxy Host ID.
useipmi int Yes Use IPMI.
ipmi_ip string Yes IPMI IP.
ipmi_port int Yes IPMI port.
ipmi_authtype int Yes IPMI authentication type.
ipmi_privilege int Yes IPMI privilege.
ipmi_username string Yes IPMI username.
ipmi_password string Yes IPMI password.


Parameter Description
result Operation successful. Result will contain array of updated host IDs.
error In case of any errors


Enable two hosts and switch to monitoring by IP addresses:

                   "hostid": "69665"
                   "hostid": "69666"

Hosts updated successfully: