discoveryrule_get
Retrieve Zabbix discovery rules to automatically detect network items, triggers, and interfaces for dynamic host and item management without manual configuration.
Instructions
Get discovery rules from Zabbix.
Discovery rules automatically detect items, triggers, and interfaces from network resources. They enable dynamic host and item management without manual configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return. Default is 100. | |
| offset | No | Number of results to skip (for pagination). Requires sortfield to be set. | |
| output | No | extend | |
| search | No | Dictionary with search criteria like {'name': 'SNMP'}. | |
| hostids | No | List of host IDs to get discovery rules from. | |
| itemids | No | List of item IDs (discovery rules are items) to get. | |
| sortfield | No | Field to sort by. | |
| sortorder | No | Sort direction - 'ASC' or 'DESC'. | ASC |
| templateids | No | List of template IDs to get discovery rules from. | |
| count_output | No | If true, returns only the count of matched objects as an integer. | |
| filter_params | No | Additional filter parameters for advanced filtering. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||