Open lmf-mx opened 3 years ago
agent2 does not support osx afaik?
for basic usage, it works with pillar changes, my pillar for zabbix-agent role looks like this:
zabbix:
lookup:
agent:
pkgs:
- zabbix-agent2
service: zabbix-agent2
config: /etc/zabbix/zabbix_agent2.conf
pidfile: /run/zabbix/zabbix_agent2.pid
logfile: /var/log/zabbix/zabbix_agent2.log
includes:
- /etc/zabbix/zabbix_agent2.d/*.conf
i guess you can add the missing features through "extra_conf" variable if you want to use something that is agent2 specific
Zabbix Agent 2 should be supported by the formula. Zabbix Agent 2 has been around for a couple years now and despite some docs needing updates on the official wiki, it works perfectly fine in production.
Most of the values needed to deploy using this formula can simply be overridden by pillars. The key component missing is a fully fleshed out files/default/etc/zabbix/zabbix_agent2.conf.jinja file. There are some sections around the plugins that are beyond me on how to template with the ability to have sessions. See https://www.zabbix.com/documentation/current/manual/config/items/plugins#named_sessions