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

Change the default URL where reads the config in consul "/consul-alerts/xxx" for another URL, for example "/consul-alerts-2/xxx"? #267

Open
joe-blue opened this issue Oct 15, 2019 · 1 comment

Comments

@joe-blue
Copy link

Hi:

We would like to have more than one "consul-alert" running to check different services and have different alarms.

I've checked the configuration options and it seems there is no config for that.
I've checked the code (for example https://github.com/AcalephStorage/consul-alerts/blob/master/consul/client.go) and it seems "/consul-alerts/" is hardcoded.

Would it be possible to configure it using the arguments when running the docker container?

Thank you in advance.

@fusiondog
Copy link
Collaborator

It would probably require a code change, but shouldn't be difficult to include a start up flag for it. Happy to accept a PR. :)

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

No branches or pull requests

2 participants