> Discovery check object

> 发现检查对象

The following objects are directly related to the dcheck API.

以下是发现检查API相关的对象

Discovery check

发现检查

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

发现检查对象定义了通过网络发现规则执行特定的检查. 它有如下属性:

属性 类型 描述
dcheckid string (只读) ID of the discovery check. 发现检查的ID.
druleid string ID of the discovery rule that the check belongs to. 发现检查所属的发现规则的ID.
key string The value of this property differs depending on the type type of the check: 这个属性值会根据不同的检查类型而不同 - key to query for Zabbix agent checks, required; - SNMP OID for SNMPv1, SNMPv2 and SNMPv3 checks, required.
ports string One or several port ranges to check separated by commas. Used for all checks except for ICMP. Default: 0.
snmp_community string SNMP community. Required for SNMPv1 and SNMPv2 agent checks.
snmpv3_authpassphrase string Auth passphrase used for SNMPv3 agent checks with security level set to _authNoPriv or authPriv.
snmpv3authprotocol integer Authentication protocol used for SNMPv3 agent checks with security level set to _authNoPriv or authPriv. Possible values: 0 - (default) MD5; 1 - SHA.
snmpv3contextname string SNMPv3 context name. Used only by SNMPv3 checks.
snmpv3_privpassphrase string Priv passphrase used for SNMPv3 agent checks with security level set to _authPriv.
snmpv3privprotocol integer Privacy protocol used for SNMPv3 agent checks with security level set to _authPriv. Possible values: 0 - (default) DES; 1 - AES.
snmpv3securitylevel string Security level used for SNMPv3 agent checks. Possible values: 0 - noAuthNoPriv; 1 - authNoPriv; 2 - authPriv.
snmpv3_securityname string Security name used for SNMPv3 agent checks.
type integer Type of check. Possible values: 0 - (default) 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.
uniq integer Whether 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.