mediatype_get
Retrieve Zabbix media types to identify communication channels for alerts and notifications. Use filters for efficient querying.
Instructions
Get media types from Zabbix.
Media types define communication channels for sending notifications (email, SMS, webhooks, etc.). Actions use media types to deliver alerts to users and integrations.
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': 'Email'}. Zabbix 5.4 renamed the media type 'description' field to 'name'. | |
| sortfield | No | Field to sort by. A deterministic sort is required for paging to be consistent. | mediatypeid |
| sortorder | No | Sort direction - 'ASC' or 'DESC'. | ASC |
| count_output | No | If true, returns only the count of matched objects as an integer. | |
| mediatypeids | No | List of media type IDs to get. If empty, returns all media types. | |
| filter_params | No | Additional filter parameters for advanced filtering. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||