action_get
Retrieve Zabbix actions that define automated responses to problems, such as sending notifications or executing remote commands.
Instructions
Get actions from Zabbix.
Actions define automated responses to problems/triggers. They specify what happens when problems occur - sending notifications, executing remote commands, etc.
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': 'notify'}. | |
| hostids | No | List of host IDs to get actions for. | |
| groupids | No | List of host group IDs to get actions for. | |
| actionids | No | List of action IDs to get. If empty, returns all actions. | |
| sortfield | No | Field to sort by. A deterministic sort is required for paging to be consistent. | actionid |
| 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 | |||