varnav.ansible_zabbix_3_4_agent
Simple zabbix-agent Role for Zabbix 3.4
Role for Zabbix 3.4 for most popular linux distros with easy and minimal configuration.
Supported OSes
Debian 7, 8 and 9
Ubuntu LTS 16 and (not tested) 14
RHEL / CentOS 6, 7 and (not tested) 5
May support more OSes, please report any success/failures.
Role Variables
Whole configuration is 2 parameters only, and port is optional:
# Zabbix server to connect to
zabbix_agent_server: localhost
# Zabbix port in the server to connect to
zabbix_agent_server_port: 10051
How to Install
cd /etc/ansible/roles
git clone https://github.com/varnav/ansible-zabbix-3.4-agent.git zabbix-agent
or
cd /etc/ansible/roles
ansible-galaxy install varnav.ansible_zabbix_3_4_agent
Example Playbook
---
- hosts: zabbix-clients
roles:
- { role: zabbix-agent, zabbix_agent_server: zabbix.domain.local }
How to run
ansible-playbook zabbix-agent.yml --limit zabbix-clients
This role is conservative. It will try not upgrade or reconfigure existing agents.
Disclaimer
No warranty. Use at your own risk. Test first.
License
Apache Licence v2
http://www.apache.org/licenses/LICENSE-2.0
Based on INDIGO project work:
About
Simple zabbix-agent Role for Zabbix 3.4, supports RHEL and Ubuntu OS families.
Install
ansible-galaxy install varnav.ansible_zabbix_3_4_agentLicense
apache-2.0
Downloads
51
Owner
