> Discovery check object

The following objects are directly related to the dcheck API.

Discovery check

The discovery check object defines a specific check performed by a network discovery rule. It has the following properties.

PropertyTypeDescription
dcheckidstring(readonly) ID of the discovery check.
druleidstring(readonly) ID of the discovery rule that the check belongs to.
key_stringThe value of this property differs depending on the type of the check:
- key to query for Zabbix agent checks, required;
- SNMP OID for SNMPv1, SNMPv2 and SNMPv3 checks, required.
portsstringOne or several port ranges to check separated by commas. Used for all checks except for ICMP.

Default: 0.
snmp_communitystringSNMP community.

Required for SNMPv1 and SNMPv2 agent checks.
snmpv3_authpassphrasestringAuthentication passphrase used for SNMPv3 agent checks with security level set to authNoPriv or authPriv.
snmpv3_authprotocolintegerAuthentication protocol used for SNMPv3 agent checks with security level set to authNoPriv or authPriv.

Possible values:
0 - (default) MD5;
1 - SHA1;
2 - SHA224;
3 - SHA256;
4 - SHA384;
5 - SHA512.
snmpv3_contextnamestringSNMPv3 context name. Used only by SNMPv3 checks.
snmpv3_privpassphrasestringPrivacy passphrase used for SNMPv3 agent checks with security level set to authPriv.
snmpv3_privprotocolintegerPrivacy protocol used for SNMPv3 agent checks with security level set to authPriv.

Possible values:
0 - (default) DES;
1 - AES128;
2 - AES192;
3 - AES256;
4 - AES192C;
5 - AES256C.
snmpv3_securitylevelstringSecurity level used for SNMPv3 agent checks.

Possible values:
0 - noAuthNoPriv;
1 - authNoPriv;
2 - authPriv.
snmpv3_securitynamestringSecurity name used for SNMPv3 agent checks.
type
(required)
integerType of check.

Possible values:
0 - SSH;
1 - LDAP;
2 - SMTP;
3 - FTP;
4 - HTTP;
5 - POP;
6 - NNTP;
7 - IMAP;
8 - TCP;
9 - Zabbix agent;
10 - SNMPv1 agent;
11 - SNMPv2 agent;
12 - ICMP ping;
13 - SNMPv3 agent;
14 - HTTPS;
15 - Telnet.
uniqintegerWhether to use this check as a device uniqueness criteria. Only a single unique check can be configured for a discovery rule. Used for Zabbix agent, SNMPv1, SNMPv2 and SNMPv3 agent checks.

Possible values:
0 - (default) do not use this check as a uniqueness criteria;
1 - use this check as a uniqueness criteria.
host_sourceintegerSource for host name.

Possible values:
1 - (default) DNS;
2 - IP;
3 - discovery value of this check.
name_sourceintegerSource for visible name.

Possible values:
0 - (default) not specified;
1 - DNS;
2 - IP;
3 - discovery value of this check.