You are viewing documentation for the development version, it may be incomplete.
Join our translation project and help translate Zabbix documentation into your native language.

Discovery rule object

The following objects are directly related to the drule API.

Discovery rule

The discovery rule object defines a network discovery rule. It has the following properties.

Property Type Description
druleid ID ID of the discovery rule.

Property behavior:
- read-only
- required for update operations
iprange string One or several IP ranges to check, separated by commas.

Refer to the network discovery configuration section for more information on supported formats of IP ranges.

Property behavior:
- required for create operations
name string Name of the discovery rule.

Property behavior:
- required for create operations
delay string Execution interval of the discovery rule.

Accepts seconds or time unit with suffix (e.g., 30s, 1m, 2h, 1d), or a user macro.

Default: 1h.
proxyid ID ID of the proxy used for discovery.
status integer Whether the discovery rule is enabled.

Possible values:
0 - (default) enabled;
1 - disabled.
concurrency_max integer Maximum number of concurrent checks per discovery rule.

Possible values:
0 - (default) unlimited number of checks;
1 - one check;
2-999 - custom number of checks.