> 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.

PropertyTypeDescription
dserviceidstringID of the discovered service.
dcheckidstringID of the discovery check used to detect the service.
dhostidstringID of the discovered host running the service.
dnsstringDNS of the host running the service.
ipstringIP address of the host running the service.
lastdowntimestampTime when the discovered service last went down.
lastuptimestampTime when the discovered service last went up.
portintegerService port number.
statusintegerStatus of the service.

Possible values:
0 - service up;
1 - service down.
valuestringValue returned by the service when performing a Zabbix agent, SNMPv1, SNMPv2 or SNMPv3 discovery check.