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.



Class containing methods for operations with Discovered Hosts.

Methods Description
get() Get discovery host details
delete() Delete discovery hosts

Object details

The table contains complete list of Discovery Host attributes.

Parameter Type Description Details
dhostid integer Discovery Host ID
druleid integer Discovery Rule ID
status integer Host Status
lastup integer Last UP state date Unix timestamp
lastdown integer Last DOWN state date Unix timestamp

Common tasks

The table contains list of common discovery host-related tasks and possible implementation using Zabbix API

Retrieve discovery host details by Discovery Rule IDs Use method dhost.get with parameter dhostids