Zabbix Documentation 2.4

2.23.04.04.2 (current)In development:4.4 (devel)Unsupported:1.82.02.43.23.4

User Tools

Site Tools


Sidebar

manual:api:reference:dservice:object

> Discovered service object

The following objects are directly related to the dservice API.

Discovered service

Discovered services are created by the Zabbix server and cannot be modified via the API.

The discovered service object contains information about a service discovered by a network discovery rule on a host. It has the following properties.

Property Type Description
dserviceid string ID of the discovered service.
dcheckid string ID of the discovery check used to detect the service.
dhostid string ID of the discovered host running the service.
dns string DNS of the host running the service.
ip string IP address of the host running the service.
key_ string Key used by a Zabbix agent discovery check to locate the service.
lastdown timestamp Time when the discovered service last went down.
lastup timestamp Time when the discovered service last went up.
port integer Service port number.
status integer Status of the service.

Possible values:
0 - service up;
1 - service down.
type integer Type of discovered service. The type of service matches the type of the discovery check used to detect the service.

Refer to the discovery check "type" property for a list of supported types.
value string Value returned by the service when performing a Zabbix agent, SNMPv1, SNMPv2 or SNMPv3 discovery check.