drule_get
Retrieve network discovery rules that scan CIDR ranges for active devices, open ports, and services.
Instructions
Get network discovery rules from Zabbix.
Network discovery (drule) rules perform network scanning to discover hosts and services. They can scan for active devices, open ports, and available services in CIDR ranges.
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': 'LAN'}. | |
| druleids | No | List of network discovery rule IDs to get. If empty, returns all rules. | |
| sortfield | No | Field to sort by. | |
| sortorder | No | Sort direction - 'ASC' or 'DESC'. | ASC |
| 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 | |||