Zabbix Documentation 1.8

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

User Tools

Site Tools


Sidebar

api:dcheck

DCheck

Methods

Class containing methods for operations with Discovered Checks.

MethodsDescription
get() Get discovery check details

Object details

The table contains complete list of Discovery Check attributes.

ParameterTypeDescriptionDetails
dcheckidintegerDiscovery Check ID
druleidintegerDiscovery Rule ID
typeintegerCheck type
key_string ZABBIX Agent key
portsstringPort Separated by comma
snmp_communitystringSNMP community
snmpv3_securitynamestringSNMP
snmpv3_securitylevelintegerSNMP security level
snmpv3_authpassphrasestringSNMP authentication phrase
snmpv3_privpassphrasestringSNMP Private phrase

Common tasks

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

TaskHOWTO
Retrieve discovery check details by Discovery Rule IDs Use method dcheck.get with parameter dcheckids