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

feat: Add ZABBIX_URL, prioritize env over config. #277

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

pederhan
Copy link
Member

Adds new env var ZABBIX_URL for specifying a Zabbix URL. Also changes the priority of authentication method sources.

Now uses the following priority:

  • Env
  • Config
  • Auth (token) file

This ensures one can always override static configuration in config or auth token file with environment variables. All token sources are still prioritized over username/password sources.

@pederhan pederhan merged commit f7d8294 into unioslo:master Dec 18, 2024
5 checks passed
@pederhan pederhan deleted the add-zabbix-url branch December 18, 2024 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant