zabbix

5Modules3Roles6Plugins3Dependencies

Overview

Description

deploy Zabbix agents and manage hosts on scale

Readme

Zabbix Ansible Collection

This collection is meant to help with Zabbix monitoring infrastructure management automation. It is mainly intended for scalable tasks, for example, Zabbix agent deployment and adding hosts to monitoring.

Ansible version compatibility

Tested with the Ansible Core 2.16, 2.17 and 2.18. EOL Versions are not supported. For more details, navigate to the collection component description.

Installing this collection

You can install this collection with the Ansible Galaxy CLI by entering the following command:

ansible-galaxy collection install zabbix.zabbix

For collection component dependencies and other details, navigate to the component documentation.

Development version Latest development version. Do not use it in production environment. ansible-galaxy collection install git+https://github.com/zabbix/ansible-collection.git

Collection components

Roles: - zabbix.zabbix.agent - the role to deploy, configure and maintain Zabbix agent on a target device. - zabbix.zabbix.host - this role represents target device on Zabbix server.

Plugins: - HTTP API - Zabbix API interface for Ansible. - Inventory - the tool to synchronize Zabbix monitoring instance hosts with Ansible inventory.

Modules: - zabbix_hostgroup - Ansible module for Zabbix host groups management (uses HTTP API plugin). - zabbix_host - Ansible module for Zabbix hosts management (uses HTTP API plugin). - zabbix_proxy - Ansible module for Zabbix proxy management (uses HTTP API plugin). - zabbix_proxy_group - Ansible module for Zabbix proxy group management (uses HTTP API plugin).

Rulebooks: - zabbix.zabbix.example - Ansible rulebook example for remediation of issues, detected by Zabbix.

Related content

Event-Driven Ansible integration is based on webhook usage: - Zabbix media type pushes events to EDA; - EDA webhook receives incoming events and passes those to processing via the rulebook.

EDA helps with the automation of issue remediation and debugging tasks. Basically, EDA receives events sent from Zabbix and triggers different playbook execution, according to the conditions set. EDA integration is included in Zabbix out of the box and is available starting with Zabbix 6.0 version. Refer to the EDA media type documentation for more details on setup.

Release notes

See CHANGELOG for the release notes and release history of this collection.

License

Ansible Zabbix collection is released under the GNU Affero General Public License (AGPL) version 3. The formal terms of the GPL can be found at http://www.fsf.org/licenses/.

Certification

Product
Red Hat Ansible Automation Platform 2.4
Red Hat Ansible Automation Platform 2.5
DocumentationDependencies

This collection requires the following collections for use:

NameSummary
No dependencies
This collection is not being used by other collections.
View in Automation Hub
Red Hat logoLinkedInYouTubeFacebookTwitter

Platforms

Products & services

Try, buy, sell

Help

About Red Hat Ecosystem Catalog

The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.

We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2025 Red Hat