Zabbix Documentation 1.8

3.04.04.4 (current)| In development:5.0 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


Sidebar

api:dhost

DHost

Methods

Class containing methods for operations with Discovered Hosts.

MethodsDescription
get() Get discovery host details
delete() Delete discovery hosts

Object details

The table contains complete list of Discovery Host attributes.

ParameterTypeDescriptionDetails
dhostidintegerDiscovery Host ID
druleidintegerDiscovery Rule ID
statusintegerHost Status
lastupintegerLast UP state date Unix timestamp
lastdownintegerLast DOWN state date Unix timestamp

Common tasks

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

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