zabbix_create_discovery_rule
Automate the discovery of dynamic resources in Zabbix by creating a Low-Level Discovery rule. Set the key, host, and type to start monitoring.
Instructions
Create a new Low-Level Discovery (LLD) rule in Zabbix
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_ | Yes | Discovery rule key | |
| name | Yes | Name of the discovery rule | |
| type | Yes | Type of the discovery rule (0 - Zabbix agent, 2 - Zabbix trapper, 3 - simple check, etc.) | |
| delay | No | Update interval of the discovery rule | 30s |
| filter | No | Discovery rule filter | |
| hostid | Yes | ID of the host that the discovery rule belongs to | |
| status | No | Status of the discovery rule (0 - enabled, 1 - disabled) | |
| lifetime | No | Time period after which items that are no longer discovered will be deleted | 30d |
| description | No | Description of the discovery rule | |
| interfaceid | No | ID of the host interface to use | |
| preprocessing | No | Discovery rule preprocessing steps | |
| lld_macro_paths | No | LLD macro paths for JSON/XML discovery |