discoveryrule_get
Fetch Zabbix discovery rules for automatic detection of items, triggers, and interfaces. Supports filtering, pagination, and search to enable dynamic host and item management.
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 matching records to skip. Use with 'limit' to page through results; check 'has_more' and 'total' in the response. | |
| 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. A deterministic sort is required for paging to be consistent. | itemid |
| 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 | |||