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:dservice

DService

Methods

Class containing methods for operations with Discovered Services.

MethodsDescription
get() Get discovery service details

Object details

The table contains complete list of Discovery Service attributes.

ParameterTypeDescriptionDetails
dserviceidintegerDiscovery Service ID
dhostidintegerDiscovery Host ID
dcheckidintegerDiscovery Check ID
typeintegerService type
key_string ZABBIX Agent key
portintegerPort
valueintegerValue
statusintegerStatus
lastupintegerLast date of UP state
lastdownintegerLast date of DOWN state
ipstringDiscovered host IP

Common tasks

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

TaskHOWTO
Retrieve discovery service details by Discovery Rule IDs Use method dservice.get with parameter dserviceids