Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Web interface ZBX_SERVER_HOST and ZBX_SERVER_PORT are missing by default #60

Closed
ypicard opened this issue Jun 23, 2022 · 2 comments
Closed

Comments

@ypicard
Copy link

ypicard commented Jun 23, 2022

Describe the bug
When deploying the chart for the first time with zabbixweb enabled, the dashboard complains about the zabbix server not being available on localhost.

It is because the default values of ZBX_SERVER_HOST and ZBX_SERVER_PORT (https://github.com/cetic/helm-zabbix/blob/master/templates/deployment-zabbix-web.yaml#L47) for the web service are not set in values.yaml for zabbixweb (https://github.com/cetic/helm-zabbix/blob/master/values.yaml#L231).

I have made it work by manually setting them to the following:

ZBX_SERVER_HOST: zabbix-zabbix-server
ZBX_SERVER_PORT: 10051
@aeciopires
Copy link
Collaborator

Hi @ypicard!

Thanks for report this issue.

This problem is solved using other approach in PR #54, that will not use this variables. Righ @sa-ChristianAnton?

@ypicard, if you have some time, could you take a look at this PR?

We are close to finalizing the tests and adjustments to publish version 3.0.0 of the helm chart which changed very significant changes.

@ypicard
Copy link
Author

ypicard commented Jun 27, 2022

Looks great. I'll wait for the release, thank you very much.

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

No branches or pull requests

2 participants