Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Zabbix Agent 2 support #154

Open
lmf-mx opened this issue Jul 18, 2021 · 2 comments
Open

[FEATURE] Zabbix Agent 2 support #154

lmf-mx opened this issue Jul 18, 2021 · 2 comments

Comments

@lmf-mx
Copy link
Contributor

lmf-mx commented Jul 18, 2021

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

@rosscdh
Copy link

rosscdh commented Mar 29, 2022

agent2 does not support osx afaik?

@ghormoon
Copy link

ghormoon commented Jun 27, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants