Skip to content
Discussion options

You must be logged in to vote

Hello @tgglatitude!

According to the Docker Hub for zabbix-agent2 (https://hub.docker.com/r/zabbix/zabbix-agent2), there is a list of extra environment variables!

That means you can do something like:

My example:

zabbixAgent:
  enabled: true
  # Other hidden parameters
  # [...]
  extraEnv:
    - name: ZBX_ALLOWKEY
      value: "system.run[*]"

This configuration will create the line AllowKey=system.run[*] inside the /etc/zabbix/zabbix_agent2_item_keys.conf file in the zabbix-agent container.

Change the values ​​according to your needs.

Can you test this?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tgglatitude
Comment options

Answer selected by tgglatitude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed wontfix This will not be worked on
2 participants