Ansible playbook for managing Windows,Linux and SNMP Zabbix agents

zabbix_agent

  • Red Hat
  • Fedora
  • Debian
  • Ubuntu
  • opensuse
  • Windows (Best effort)
  • macOS

Configuration

ansible-galaxy collection install community.zabbix

Inventory files

.
├── linux-inventory
├── snmp-inventory
├── windows-inventory
└── zabbix-agent-all.yaml

Running playbook

ansible-playbook -i linux-inventory zabbix-agent-all.yaml
ansible-playbook -i windows-inventory zabbix-agent-all.yaml
ansible-playbook -i snmp-inventory zabbix-agent-all.yaml
ansible-playbook -i linux-inventory zabbix-agent-all.yaml -t install

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store