Ansible role providing the installation and configuration of Zabbix agent (4.0)
- None
zabbix_agent_pid_file
(/var/run/zabbix/zabbix_agentd.pid) - path to pid filezabbix_agent_log_file
(/var/log/zabbix/zabbix_agentd.log) - path to zabbix agent logzabbix_agent_config_file
(/etc/zabbix/zabbix_agentd.conf) - config file for zabbix agentzabbix_agent_include_path
(/etc/zabbix/zabbix_agent.d/*.conf) - path to userparameter fileszabbix_agent_psk_file
(/etc/zabbix/zabbix_agentd.psk) - pre shared key filezabbix_agent_psk_hash
(kmWCW6jtSSFK7XRuMJct2fVINNL1QTYt) - pre shared keys are an md5 of ansible_fqdn + hash specified here. Please change this by runningpwgen -s 32 1
zabbix_agent_log_size
(0) - size in MB to rotate log. 0 = use logrotatezabbix_agent_server_ip
(127.0.0.1) - ip address of zabbix serverzabbix_agent_server_active_ip
(127.0.0.1) - ip of zabbix server providing active checks
- None
- hosts: all
become: true
roles:
- { role: revenni.zabbix_agent, tags: zabbix_agent }
MIT