zabbix_agent2
Ansible Role for Zabbix-Agent2 5.4
This role helps to for install and configure Zabbix-Agent2 5.4 on a Debian (stretch/buster/bullseye).
Requirements
This role requires Ansible 2.11 or higher.
Role Variables
---
zabbix_agent_server: 127.0.0.1
zabbix_agent_listen_port: 10050
zabbix_agent_listen_ip: 0.0.0.0
zabbix_agent_psk: 6c4ccf50bacdb3486f141ba1112e4a46 # openssl rand -hex 16/(32)
zabbix_agent_psk_identity: localhost
zabbix_agent_metadata: []
zabbix_agent_plugins:
- name: name_of_some_plugin
parameters:
key: some_key_for_plugin
value: some_value_for_plugin
All variables are optional, if you omit them the values above will be used default from J2 template.
Dependencies
None.
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: leadlineit.zabbix_agent2, tags: zabbix_agent2 }
License
MIT
Author Information
This role was created by Stas Stavnichuk.
Install
ansible-galaxy install leadlineit/zabbix_agent2
License
Unknown
Downloads
21
Owner