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

Prioritize REDIS_SENTINEL over REDIS_HOST #498

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dot-mike
Copy link

@dot-mike dot-mike commented Feb 27, 2025

REDIS_HOST is required by librenms web app, but Python web app supports either a redis host or a redis sentinel host to get master.

The documentation and configuration examples tells you that you need to set REDIS_HOST variable. And if you try to add REDIS_SENTINEL into the mix to support distributed pollers, you may end up in a situation where poller does not start because REDIS_HOST variable is already set.

This fix ensures that REDIS_SENTINEL variable takes precedence over REDIS_HOST if set.

See issue on this: #475

@dot-mike dot-mike requested a review from crazy-max as a code owner February 27, 2025 15:21
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