script_get
Retrieve custom automation scripts from Zabbix to view remediation or configuration routines. Filter by host, group, or search criteria.
Instructions
Get scripts from Zabbix.
Scripts are custom automation routines that can be executed on monitored hosts or the server. They can be triggered manually or by actions to automate remediation or configuration tasks.
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': 'restart'}. | |
| hostids | No | List of host IDs to get scripts for. | |
| groupids | No | List of group IDs to get scripts for hosts in those groups. | |
| scriptids | No | List of script IDs to get. If empty, returns all scripts. | |
| 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 | |||