zabbix_get_scripts
Get Zabbix scripts by ID, host, group, or filter. Control output fields and sorting to fetch only the needed script details.
Instructions
Get scripts from Zabbix with filtering and output options
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Limit the number of records returned | |
| filter | No | Return only scripts that match the given filter | |
| output | No | Object properties to be returned | |
| search | No | Return only scripts that match the given wildcard search | |
| hostids | No | Return only scripts that can be run on the given hosts | |
| groupids | No | Return only scripts that can be run on the given host groups | |
| scriptids | No | Return only scripts with the given script IDs | |
| sortfield | No | Sort the result by the given properties | |
| sortorder | No | Sort order | ASC |
| selectHosts | No | Return hosts that the script can be run on | |
| selectGroups | No | Return host groups that the script can be run on |