Is it possible to set the AllowKey parameter? #175
Answered
by
aeciopires
tgglatitude
asked this question in
Q&A
|
Hello everyone, Is there any way for me to add I'm deploying the But it never works, I always get the error |
Answered by
aeciopires
Mar 11, 2025
Replies: 1 comment 1 reply
|
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 Change the values according to your needs. Can you test this? |
1 reply
Answer selected by
tgglatitude
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
This configuration will create the line
AllowKey=system.run[*]inside the/etc/zabbix/zabbix_agent2_item_keys.conffile in the zabbix-agent container.Change the values according to your needs.
Can you test this?