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

[zabbix-community/zabbix] zabbix_server extraEnv not getting applied #48

Closed
batulziiy opened this issue Aug 16, 2023 · 2 comments
Closed
Assignees
Labels
help wanted Extra attention is needed question Further information is requested wontfix This will not be worked on

Comments

@batulziiy
Copy link

Describe the bug
I have zabbix helm deployment automated through FluxCD. Recently, found that the Zabbix server was unable to fetch metrics from ESXi VMware Hypervisors due to "StartVMwareCollectors" parameter set to 0 by default. So I read the instruction on github and set ZBX_STARTVMWARECOLLECTORS extraEnv as below :

extraEnv:
    - name: "ZBX_STARTVMWARECOLLECTORS"
      value: "10"

Also tried this :

ZBX_STARTVMWARECOLLECTORS: 5

But the change is not being applied to the zabbix_server.conf file. Any help would be appreciated.

Version of Helm and Kubernetes:
helm3 and k3s 1.26

What happened:
Added "STARTVMWARECOLLECTORS" extraEnv to zabbix_server.

What you expected to happen:
Expected to have the change applied to zabbix_server.conf

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know:

@aeciopires aeciopires self-assigned this Feb 14, 2024
@aeciopires aeciopires added help wanted Extra attention is needed question Further information is requested wontfix This will not be worked on labels Feb 14, 2024
@aeciopires
Copy link
Member

Hello @batulziiy!

Sorry for the delay in my response. Do you still have this problem?

I need more information about your helm values ​​(please hide sensitive settings like password/username etc).

In my environment this configuration works... pay attention to the indentation. YAML is very sensitive to indentation.

My example:

zabbixServer:
  enabled: true
#
#.... (hid other parameters)
# 
  extraEnv: 
    - name: ZBX_STARTVMWARECOLLECTORS
      value: "10"

@aeciopires
Copy link
Member

It's been a long time since the last interaction. I'm closing this issue, but if the problem occurs again, just reopen it or open another issue containing more details of the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants