zabbix / zabbix.zabbix / 1.3.6 / module / zabbix_event Module for event actions Authors: Zabbix Ltd (@zabbix)zabbix.zabbix.zabbix_event (1.3.6) — module
Install with ansible-galaxy collection install zabbix.zabbix:==1.3.6
collections: - name: zabbix.zabbix version: 1.3.6
Update/Get existing events in Zabbix. Currently implemented only message action.
# To create host groups, you can use: - name: Update event with message zabbix.zabbix.zabbix_event: action: message ids: ["2222"] msg: "Hello world" vars: ansible_network_os: zabbix.zabbix.zabbix ansible_connection: httpapi ansible_user: Admin ansible_httpapi_pass: zabbix
ids: aliases: - eventids - event_ids description: List of host groups to create/remove. elements: str required: true type: list msg: description: Update event with message required: true type: str action: choices: - message default: message description: Event module actions required: false type: str